/* =============================================
   CONTACT MAP — секция перед футером
   ============================================= */

.ts-map {
	font-family: var(--ts-font);
	max-width: var(--ts-max-width);
	margin: 0 auto;
	padding: 40px 40px;
}

.ts-map__inner {
	position: relative;
	border-radius: 25px;
	overflow: hidden;
	min-height: 480px;
	background: #e9f3f7;
}

.ts-map__iframe {
	display: block;
	width: 100%;
	height: 580px;
	border: 0;
}

.ts-map__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 580px;
	background: linear-gradient(135deg, #e4f6fb 0%, #c8e8f0 100%);
	color: var(--ts-dark);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity .2s;
}

.ts-map__placeholder small {
	font-size: 14px;
	font-weight: 500;
	color: var(--ts-cyan);
	opacity: .85;
}

.ts-map__placeholder:hover {
	opacity: .9;
}

.ts-map__card {
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	width: 320px;
	max-width: calc(100% - 60px);
	background: #fff;
	border-radius: 20px;
	padding: 28px 30px;
	box-shadow: 0 16px 40px rgba(34, 53, 62, 0.18);
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 2;
}

.ts-map__brand {
	font-size: 14px;
	font-weight: 600;
	color: var(--ts-cyan);
	letter-spacing: -0.1px;
}

.ts-map__city {
	font-size: 32px;
	font-weight: 700;
	color: var(--ts-cyan);
	margin: 0;
	letter-spacing: -0.4px;
	line-height: 1.1;
}

.ts-map__phone {
	font-size: 22px;
	font-weight: 600;
	color: var(--ts-dark);
	text-decoration: none;
	letter-spacing: -0.1px;
	transition: color .2s;
}

.ts-map__phone:hover {
	color: var(--ts-cyan);
}

.ts-map__address {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ts-map__address p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--ts-dark);
	line-height: 1.5;
	letter-spacing: -0.1px;
}

.ts-map__wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 20px;
	background: #a1c861;
	color: #fff;
	border-radius: 70px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: -0.1px;
	margin-top: 6px;
	transition: opacity .2s, transform .15s;
}

.ts-map__wa-btn:hover {
	opacity: .92;
	transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
	.ts-map {
		padding: 30px 20px;
	}

	.ts-map__inner {
		min-height: auto;
	}

	.ts-map__iframe {
		height: 420px;
	}

	.ts-map__card {
		right: 20px;
		width: 280px;
		padding: 22px 24px;
	}

	.ts-map__city {
		font-size: 26px;
	}

	.ts-map__phone {
		font-size: 18px;
	}
}

@media (max-width: 720px) {
	.ts-map__inner {
		display: flex;
		flex-direction: column;
	}

	.ts-map__iframe {
		height: 280px;
	}

	.ts-map__card {
		position: static;
		transform: none;
		width: 100%;
		max-width: 100%;
		border-radius: 0;
		box-shadow: none;
		padding: 24px 22px;
	}

	.ts-map__city {
		font-size: 24px;
	}
}
