/* Fyxli — City switcher widget */
.fx-city-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	user-select: none;
	z-index: 100;
}

.fx-city-switcher__btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	color: inherit;
	cursor: pointer;
	transition: color 0.15s;
	font: inherit;
	white-space: nowrap;
}

.fx-city-switcher__btn:hover {
	border-color: transparent;
	background: transparent;
	color: #FCAF20;
}

.fx-city-switcher__pin {
	display: none;
}

.fx-city-switcher__caret {
	width: 10px;
	height: 10px;
	margin-left: 2px;
	transition: transform 0.2s;
	color: #777;
}

.fx-city-switcher.is-open .fx-city-switcher__caret {
	transform: rotate(180deg);
}

.fx-city-switcher__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	padding: 8px 0;
	min-width: 220px;
	max-height: 360px;
	overflow-y: auto;
	display: none;
	border: 1px solid #ececec;
}

.fx-city-switcher.is-open .fx-city-switcher__menu {
	display: block;
}

.fx-city-switcher__head {
	font-size: 11px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 8px 16px 4px;
}

.fx-city-switcher__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.12s;
}

.fx-city-switcher__item:hover {
	background: #f4f9ff;
}

.fx-city-switcher__item.is-active {
	background: #f0f4ff;
	color: #1a73e8;
	font-weight: 500;
}

.fx-city-switcher__region {
	font-size: 12px;
	color: #999;
	font-weight: 400;
}

@media (max-width: 768px) {
	.fx-city-switcher__btn {
		padding: 0;
		font-size: 13px;
	}

	.fx-city-switcher__menu {
		right: -10px;
		min-width: 200px;
	}
}

/* Desktop & mobile slot — sits inside main-navm__list */
.fx-city-slot {
	/* uses .main-navm__item base */
	list-style: none;
}

.fx-city-slot .fx-city-switcher {
	width: auto;
}

.fx-city-slot .fx-city-switcher__btn {
	font: inherit;
	color: inherit;
	padding: 0;
}

.fx-city-slot .fx-city-switcher__btn:hover {
	color: #FCAF20;
}

.fx-city-slot .fx-city-switcher__current {
	font-weight: inherit;
}

/* ===== Geo SEO block — narrative text style, no boxes/chips ===== */
.geo-block {
	padding: 50px 15px 60px;
	background: #fafafa;
	border-top: 1px solid #ececec;
}

.geo-block__inner {
	max-width: 920px;
	margin: 0 auto;
}

.geo-block__title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #111;
	line-height: 1.25;
}

.geo-block__intro {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin: 0 0 28px;
}

.geo-block__items {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.geo-block__item {}

.geo-block__subtitle {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #111;
}

.geo-block__text {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin: 0;
}

.geo-block__more {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 28px 0 0;
	padding-top: 18px;
	border-top: 1px solid #ececec;
}

@media (max-width: 768px) {
	.geo-block {
		padding: 30px 18px 36px;
	}

	.geo-block__title {
		font-size: 20px;
	}

	.geo-block__intro,
	.geo-block__text {
		font-size: 14px;
	}

	.geo-block__subtitle {
		font-size: 15px;
	}
}

/* ===== Footer redesign ===== */
.bottom__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #FCAF20;
}

@media (min-width: 768px) {
	.bottom__content {
		align-items: flex-start !important;
		gap: 30px;
	}

	.bottom__nav,
	.bottom__contacts {
		flex-basis: 0 !important;
		flex-grow: 1 !important;
		margin: 0 !important;
		text-align: left !important;
	}
}

@media (max-width: 767px) {
	.bottom__title {
		margin-top: 22px;
		padding: 0 20px;
	}

	.bottom__nav:first-of-type .bottom__title {
		margin-top: 0;
	}
}

/* Email + work time in contacts column */
.bottom__email {
	display: block;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 14px;
	margin-bottom: 8px;
	transition: color 0.2s;
}

.bottom__email:hover {
	color: #FCAF20;
}

@media (max-width: 767px) {
	.bottom__email {
		padding: 0 20px;
	}
}

/* ===== Footer cities — flat column "Города" ===== */
.bottom-cities {
	/* sits as another flex column inside .bottom__content */
}

.bottom-cities__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bottom-cities__list .bottom-nav__item {
	flex-basis: auto !important;
	margin: 0 !important;
}

.bottom-cities__list .bottom-nav__link {
	font-size: 12px;
	line-height: 162.4%;
	text-transform: none;
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
	transition: color 0.2s;
}

.bottom-cities__list .bottom-nav__link:hover {
	color: #FCAF20;
}

.bottom-cities__list .bottom-nav__item--active .bottom-nav__link {
	color: #FCAF20;
	font-weight: 600;
	cursor: default;
}

@media (max-width: 767px) {
	.bottom-cities {
		padding: 0 20px;
	}
}

/* Strip any leftover injected mobile-cities classes (now removed) */
.main-navm__item--cities-title {
	display: none !important;
}

/* ===== Header — pull nav closer to logo (close gap) ===== */
@media (min-width: 768px) {
	.heading__top {
		justify-content: flex-start !important;
		gap: 12px;
		flex-wrap: nowrap !important;
	}

	.heading__emblem {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.heading__nav {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.heading__contacts {
		margin-left: auto !important;
	}

	/* Tighter spacing between nav items, no wrapping */
	.main-navm__list {
		flex-wrap: nowrap !important;
	}

	.main-navm__item+.main-navm__item {
		margin-left: 16px !important;
	}

	.main-navm__link {
		white-space: nowrap;
		font-size: 13px;
	}

	.fx-city-switcher__btn {
		font-size: 13px;
	}
}

@media (min-width: 1024px) {
	.heading__emblem {
		width: 160px !important;
	}

	.main-navm__item+.main-navm__item {
		margin-left: 18px !important;
	}

	.main-navm__link {
		font-size: 14px;
	}

	.fx-city-switcher__btn {
		font-size: 14px;
	}
}

@media (min-width: 1200px) {
	.heading__emblem {
		width: 180px !important;
	}

	.main-navm__item+.main-navm__item {
		margin-left: 22px !important;
	}
}

/* ===== Footer "Меню" — single column, top-to-bottom ===== */
.bottom-nav>.bottom-nav__list {
	flex-flow: column nowrap;
	align-items: flex-start;
	gap: 6px;
	padding: 0;
}

.bottom-nav>.bottom-nav__list>.bottom-nav__item {
	flex-basis: auto !important;
	margin: 0 !important;
	width: 100%;
}

@media (max-width: 767px) {
	.bottom-nav>.bottom-nav__list {
		padding: 0 20px;
	}
}