/* Biosfera performance / cleanup overrides */
.bx-yandex-map,
.biosfera-map iframe {
	max-width: 100%;
	border: 0;
}

img[loading="lazy"] {
	content-visibility: auto;
}

#panel,
.bx-panel,
.bx-core-waitwindow {
	display: none !important;
}

/* Aspro banner text is opacity:0 until .shown — ensure visible after flexslider init */
.banners-big .slides > li.flex-active-slide .text .inner,
.banners-big .slides > li.shown .text .inner,
.banners-big .flexslider-init .slides > li.flex-active-slide .text .inner {
	opacity: 1 !important;
}

/* Homepage hero slider: flush images + breathing room above CTA */
body.bf-shell .banners-big.front {
	margin: 0 !important;
	overflow: hidden;
}

body.bf-shell .banners-big.front .flexslider {
	margin: 0 !important;
	height: 500px !important;
}

body.bf-shell .banners-big.front .slides > li,
body.bf-shell .banners-big.front .slides .text,
body.bf-shell .banners-big.front .slides .img,
body.bf-shell .banners-big.front .slides .img .inner {
	height: 500px !important;
}

body.bf-shell .banners-big.front .slides > li {
	background-size: cover !important;
	background-position: center center !important;
	overflow: hidden;
}

body.bf-shell .banners-big.front .slides .img {
	padding: 0 !important;
	overflow: hidden !important;
}

body.bf-shell .banners-big.front .slides .img .inner {
	position: relative;
	width: 100%;
}

body.bf-shell .banners-big.front .slides .img img,
body.bf-shell .banners-big.front .slides .img a.image,
body.bf-shell .banners-big.front .slides .img a.image img {
	position: absolute !important;
	inset: 0 !important;
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	display: block;
}

body.bf-shell .banners-big.front .slides .img a.image {
	display: block;
}

body.bf-shell .banners-big.front .buttons {
	margin: 18px 0 0 !important;
}

body.bf-shell .banners-big.front .flexslider .flex-control-nav {
	bottom: 18px !important;
	z-index: 5;
}

@media screen and (max-width: 1600px) {
	body.bf-shell .banners-big.front .flexslider,
	body.bf-shell .banners-big.front .slides > li,
	body.bf-shell .banners-big.front .slides .text,
	body.bf-shell .banners-big.front .slides .img,
	body.bf-shell .banners-big.front .slides .img .inner {
		height: 450px !important;
	}
}

@media screen and (max-width: 1400px) {
	body.bf-shell .banners-big.front .flexslider,
	body.bf-shell .banners-big.front .slides > li,
	body.bf-shell .banners-big.front .slides .text,
	body.bf-shell .banners-big.front .slides .img,
	body.bf-shell .banners-big.front .slides .img .inner {
		height: 350px !important;
	}
}

@media screen and (max-width: 1024px) {
	body.bf-shell .banners-big.front .flexslider,
	body.bf-shell .banners-big.front .slides > li,
	body.bf-shell .banners-big.front .slides .text,
	body.bf-shell .banners-big.front .slides .img,
	body.bf-shell .banners-big.front .slides .img .inner {
		height: 300px !important;
	}
}

@media screen and (max-width: 800px) {
	body.bf-shell .banners-big.front .flexslider,
	body.bf-shell .banners-big.front .slides > li,
	body.bf-shell .banners-big.front .slides .text,
	body.bf-shell .banners-big.front .slides .img,
	body.bf-shell .banners-big.front .slides .img .inner {
		height: 560px !important;
	}

	body.bf-shell .banners-big.front .slides > li {
		background-size: cover !important;
		background-position: center center !important;
	}
}

@media screen and (max-width: 480px) {
	body.bf-shell .banners-big.front .flexslider,
	body.bf-shell .banners-big.front .slides > li,
	body.bf-shell .banners-big.front .slides .text,
	body.bf-shell .banners-big.front .slides .img,
	body.bf-shell .banners-big.front .slides .img .inner {
		height: 560px !important;
	}
}

/* Mobile hero: photo first, no white pills, bottom copy + gold CTA */
@media (max-width: 767px) {
	body.bf-shell .banners-big.front .slides > li {
		position: relative;
	}

	body.bf-shell .banners-big.front .slides > li::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: linear-gradient(
			to top,
			rgba(28, 24, 20, 0.78) 0%,
			rgba(28, 24, 20, 0.42) 38%,
			rgba(28, 24, 20, 0.12) 68%,
			transparent 100%
		);
	}

	body.bf-shell .banners-big.front .slides .img {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		padding: 0 !important;
		z-index: 1;
	}

	body.bf-shell .banners-big.front .item .img .inner::before {
		background: transparent !important;
	}

	body.bf-shell .banners-big.front .slides .text {
		width: 100% !important;
		float: none !important;
		display: flex !important;
		align-items: flex-end;
		justify-content: flex-start;
		text-align: left !important;
		z-index: 3;
		padding-bottom: 64px !important;
		box-sizing: border-box !important;
	}

	body.bf-shell .banners-big.front .slides .text .inner {
		width: 100%;
		max-width: 100%;
		/* Title + CTA sit above centered pagination dots */
		padding: 0 56px 56px !important;
		margin: 0 !important;
		opacity: 1 !important;
		box-sizing: border-box !important;
		transform: translateY(-28px);
	}

	/* Override Bitrix .dark { color:#333 } — white copy on photo */
	body.bf-shell .banners-big.front .slides .title,
	body.bf-shell .banners-big.front .slides .title a,
	body.bf-shell .banners-big.front .slides .dark .title,
	body.bf-shell .banners-big.front .slides .dark .title a,
	body.bf-shell .banners-big.front .slides .item.dark .title,
	body.bf-shell .banners-big.front .slides .dark .inner,
	body.bf-shell .banners-big.front .slides .dark .inner .title,
	body.bf-shell .banners-big.front .item .text .title,
	body.bf-shell .banners-big.front .item .text .text-block,
	body.bf-shell .banners-big.front .flexslider DIV.title {
		display: block !important;
		width: auto !important;
		max-width: 100%;
		padding: 0 !important;
		margin: 0 !important;
		background: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
	}

	body.bf-shell .banners-big.front .slides .title,
	body.bf-shell .banners-big.front .flexslider DIV.title {
		font-size: 24px !important;
		line-height: 1.22 !important;
		font-weight: 700 !important;
		letter-spacing: -0.01em;
		margin: 0 0 8px !important;
	}

	body.bf-shell .banners-big.front .slides .text-block,
	body.bf-shell .banners-big.front .slides .text-block .spec-slider-text,
	body.bf-shell .banners-big.front .slides .text-block p,
	body.bf-shell .banners-big.front .slides .dark .text-block,
	body.bf-shell .banners-big.front .slides .dark .text-block b,
	body.bf-shell .banners-big.front .spec-slider-text {
		margin: 0 !important;
		max-height: none !important;
		overflow: visible !important;
		font-size: 14px !important;
		line-height: 1.4 !important;
		font-weight: 400 !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
		text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4) !important;
	}

	/* Beat Bitrix inline `.buttons { margin: 5px 0 0 !important }` */
	body.bf-shell .banners-big.front .slides .buttons,
	body.bf-shell .banners-big.front .item .buttons,
	body.bf-shell .banners-big.front .buttons {
		margin: 16px 0 0 !important;
		padding-bottom: 0 !important;
	}

	body.bf-shell .banners-big.front .buttons .btn,
	body.bf-shell .banners-big.front .buttons .btn.btn-default,
	body.bf-shell .banners-big.front .buttons .btn.btn-default.white {
		display: inline-block !important;
		background: #958058 !important;
		border: 1px solid #958058 !important;
		color: #fff !important;
		border-radius: 8px !important;
		padding: 12px 22px !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	body.bf-shell .banners-big.front .buttons .btn:hover,
	body.bf-shell .banners-big.front .buttons .btn:focus {
		background: #7e6c49 !important;
		border-color: #7e6c49 !important;
		color: #fff !important;
	}

	/* Beat Bitrix inline `.flex-control-nav { display:none; bottom:0 }` */
	body.bf-shell .banners-big.front .flexslider .flex-control-nav,
	body.bf-shell .banners-big.front .flexslider ol.flex-control-nav,
	body.bf-shell .banners-big.front ol.flex-control-nav {
		display: block !important;
		bottom: 16px !important;
		top: auto !important;
		z-index: 5 !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.bf-shell .banners-big.front .flex-control-nav li a {
		background: rgba(255, 255, 255, 0.45);
		box-shadow: none;
	}

	body.bf-shell .banners-big.front .flex-control-nav li a.flex-active {
		background: #958058;
	}

	body.bf-shell .banners-big.front {
		position: relative;
		overflow: hidden;
	}

	/* Hide broken Aspro external nav — we inject .bf-hero-arrows instead */
	body.bf-shell .banners-big.front .nav-carousel,
	body.bf-shell .banners-big.front .flexslider > .flex-direction-nav {
		display: none !important;
	}
}

/* Hero arrows (injected) — visible on mobile, subtle on desktop */
body.bf-shell .banners-big.front .bf-hero-arrows {
	position: absolute;
	inset: 0;
	z-index: 20;
	pointer-events: none;
}

body.bf-shell .banners-big.front .bf-hero-arrows__btn {
	pointer-events: auto;
	position: absolute;
	top: 50%;
	width: 42px;
	height: 42px;
	margin-top: -21px;
	padding: 0;
	border: 1px solid rgba(149, 128, 88, 0.55);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 6px 18px rgba(20, 16, 12, 0.2);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

body.bf-shell .banners-big.front .bf-hero-arrows__btn::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #958058;
	border-right: 2px solid #958058;
}

body.bf-shell .banners-big.front .bf-hero-arrows__prev {
	left: 12px;
}

body.bf-shell .banners-big.front .bf-hero-arrows__prev::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

body.bf-shell .banners-big.front .bf-hero-arrows__next {
	right: 12px;
}

body.bf-shell .banners-big.front .bf-hero-arrows__next::before {
	transform: translate(-65%, -50%) rotate(45deg);
}

body.bf-shell .banners-big.front .bf-hero-arrows__btn:active {
	transform: translateY(1px);
	background: #fff;
	border-color: #958058;
}

@media (min-width: 768px) {
	body.bf-shell .banners-big.front .bf-hero-arrows__btn {
		width: 46px;
		height: 46px;
		margin-top: -23px;
		opacity: 0.92;
	}

	body.bf-shell .banners-big.front .bf-hero-arrows__prev {
		left: 20px;
	}

	body.bf-shell .banners-big.front .bf-hero-arrows__next {
		right: 20px;
	}
}

/* ===== New site header (replaces Bitrix chrome on all viewports) ===== */
.bf-site-header {
	position: sticky;
	top: 0;
	z-index: 5000;
	background: #fff;
	border-bottom: 1px solid rgba(42, 37, 32, 0.1);
	font-family: "PT Sans Caption", Arial, sans-serif;
}

.bf-site-header__bar {
	position: relative;
	max-width: 1344px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.bf-site-header__brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.bf-site-header__brand img {
	display: block;
	height: 40px;
	width: auto;
}

.bf-site-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.bf-site-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0 2px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bf-site-nav__list > li:before,
.bf-site-nav__list > li:after {
	display: none !important;
	content: none !important;
}

.bf-site-nav__item {
	position: relative;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bf-site-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 11px;
	border: 0;
	background: transparent;
	color: #333;
	font: bold 14px/1.2 "PT Sans Caption", Arial, sans-serif;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease;
}

@media (max-width: 1439px) {
	.bf-site-header__bar {
		gap: 12px;
	}

	.bf-site-nav__link {
		padding: 10px 8px;
		font-size: 13px;
	}
}

@media (max-width: 1279px) {
	.bf-site-nav__link {
		padding: 10px 6px;
		font-size: 12.5px;
	}
}

.bf-site-nav__link:hover,
.bf-site-nav__link:focus,
.bf-site-nav__link[aria-expanded="true"] {
	color: #958058;
	background: #faf7f2;
	outline: 0;
}

.bf-site-nav__link svg {
	transition: transform 0.2s ease;
}

.bf-site-nav__item:hover > .bf-site-nav__link svg,
.bf-site-nav__link[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bf-site-nav__item.is-active > .bf-site-nav__link {
	color: #958058;
}

.bf-site-nav__item.is-mega {
	position: static;
}

.bf-site-nav__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 260px;
	padding: 10px;
	border: 1px solid rgba(42, 37, 32, 0.1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 56px rgba(42, 37, 32, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 20;
}

.bf-site-nav__item:hover > .bf-site-nav__dropdown,
.bf-site-nav__item:focus-within > .bf-site-nav__dropdown,
.bf-site-nav__dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bf-site-nav__dropdown[hidden] {
	display: block;
}

/* Mega panel spans the header bar so 3-level columns fit without overflow. */
.bf-site-nav__dropdown--mega {
	left: 20px;
	right: 20px;
	min-width: 0;
	padding: 18px 20px 20px;
}

.bf-site-nav__drop-head {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	margin-bottom: 10px;
	border-radius: 999px;
	background: #faf7f2;
	color: #7a6844;
	font: bold 12px/1.2 "PT Sans Caption", Arial, sans-serif;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.bf-site-nav__drop-head:hover,
.bf-site-nav__drop-head:focus {
	background: #f1e9dc;
	color: #6a5a3a;
}

.bf-site-nav__drop-head .bf-ico {
	transition: transform 0.2s ease;
}

.bf-site-nav__drop-head:hover .bf-ico {
	transform: translateX(3px);
}

.bf-site-nav__drop-list {
	display: grid;
}

.bf-site-nav__drop-list a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: #333;
	font: 400 13px/1.35 "PT Sans Caption", Arial, sans-serif;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.bf-site-nav__drop-list a:hover,
.bf-site-nav__drop-list a:focus,
.bf-site-nav__drop-list a.is-active {
	background: #faf7f2;
	color: #958058;
}

/* Multi-column flow packs short and tall groups without ragged gaps. */
.bf-mega__grid {
	column-count: 4;
	column-gap: 26px;
}

@media (max-width: 1279px) {
	.bf-mega__grid {
		column-count: 3;
	}
}

.bf-mega__col {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	display: inline-block;
	width: 100%;
	min-width: 0;
	padding: 2px 0 12px;
}

.bf-mega__title {
	display: block;
	padding: 6px 10px;
	margin-bottom: 4px;
	border-radius: 8px;
	color: #2a2520;
	font: bold 14px/1.3 "PT Sans Caption", Arial, sans-serif;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

a.bf-mega__title:hover,
a.bf-mega__title:focus,
a.bf-mega__title.is-active {
	background: #faf7f2;
	color: #958058;
}

.bf-mega__title--plain {
	color: #958058;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-mega__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 0 10px !important;
	border-left: 1px solid rgba(149, 128, 88, 0.28);
	margin-left: 10px !important;
}

.bf-mega__list > li {
	margin: 0 !important;
	padding: 0 !important;
}

.bf-mega__list > li:before,
.bf-mega__list > li:after {
	display: none !important;
	content: none !important;
}

.bf-mega__list a {
	display: block;
	padding: 7px 10px;
	border-radius: 7px;
	color: #55504a;
	font: 400 13px/1.35 "PT Sans Caption", Arial, sans-serif;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.bf-mega__list a:hover,
.bf-mega__list a:focus,
.bf-mega__list a.is-active {
	background: #faf7f2;
	color: #958058;
	padding-left: 14px;
}

.bf-site-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.bf-icon {
	flex: 0 0 auto;
	display: block;
}

.bf-phone-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	line-height: 1.15;
}

.bf-phone-block__num {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #2a2520;
	font: bold 14px/1.2 "PT Sans Caption", Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.bf-phone-block__num:hover {
	color: #958058;
}

.bf-phone-block__callback {
	margin: 0;
	padding: 0 0 0 21px;
	border: 0;
	background: transparent;
	color: #958058;
	font: 400 12px/1.2 "PT Sans Caption", Arial, sans-serif;
	cursor: pointer;
	text-align: left;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.bf-phone-block__callback:hover {
	color: #7a6844;
}

.bf-personal {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #2a2520;
	text-decoration: none;
	min-width: 0;
	transition: color 0.2s ease;
}

.bf-personal:hover {
	color: #958058;
}

.bf-personal__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.bf-personal__name {
	font: bold 14px/1.15 "PT Sans Caption", Arial, sans-serif;
}

.bf-personal__title {
	font: 400 12px/1.15 "PT Sans Caption", Arial, sans-serif;
	color: #888;
}

.bf-personal:hover .bf-personal__title {
	color: #958058;
}

.bf-site-header__phone-mobile {
	display: none;
	color: #2a2520;
	font: bold 13px/1.2 "PT Sans Caption", Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
}

.bf-site-header__phone-mobile:hover {
	color: #958058;
}

.bf-site-header__cta {
	border-radius: 24px !important;
	padding: 10px 18px !important;
	white-space: nowrap;
}

.bf-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f5f2ed;
	cursor: pointer;
	transition: background 0.2s ease;
}

.bf-burger:hover {
	background: #efe8dc;
}

.bf-burger__lines,
.bf-burger__lines::before,
.bf-burger__lines::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: #2a2520;
	border-radius: 2px;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s ease, background 0.2s ease;
}

.bf-burger__lines {
	position: relative;
}

.bf-burger__lines::before,
.bf-burger__lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.bf-burger__lines::before {
	top: -6px;
}

.bf-burger__lines::after {
	top: 6px;
}

.bf-burger[aria-expanded="true"] .bf-burger__lines {
	background: transparent;
}

.bf-burger[aria-expanded="true"] .bf-burger__lines::before {
	top: 0;
	transform: rotate(45deg);
	background: #958058;
}

.bf-burger[aria-expanded="true"] .bf-burger__lines::after {
	top: 0;
	transform: rotate(-45deg);
	background: #958058;
}

.bf-mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 9997;
	background: rgba(42, 37, 32, 0.48);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.bf-mobile-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.bf-mobile-menu {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	width: min(400px, 92vw);
	padding: 14px 18px 28px;
	overflow-y: auto;
	background: #fff;
	color: #2a2520;
	box-shadow: -18px 0 50px rgba(42, 37, 32, 0.16);
	transform: translateX(105%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	font-family: "PT Sans Caption", Arial, sans-serif;
	-webkit-overflow-scrolling: touch;
}

.bf-mobile-menu.is-open {
	transform: none;
}

.bf-mobile-menu__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	margin-bottom: 4px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(42, 37, 32, 0.1);
}

.bf-phone-block--menu .bf-phone-block__num {
	font-size: 16px;
}

.bf-phone-block--menu .bf-phone-block__callback {
	padding-left: 21px;
	font-size: 13px;
}

.bf-personal--menu {
	display: flex;
	width: 100%;
	margin: 4px 0 10px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(42, 37, 32, 0.08);
}

.bf-personal--menu .bf-personal__name {
	font-size: 15px;
}

.bf-personal--menu .bf-personal__title {
	font-size: 12px;
}

.bf-mobile-menu__close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-top: 2px;
	border: 0;
	border-radius: 50%;
	background: #f5f2ed;
	color: #2a2520;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.bf-mobile-menu__close:hover {
	background: #efe8dc;
	color: #958058;
}

.bf-mobile-group {
	border-bottom: 1px solid rgba(42, 37, 32, 0.08);
}

.bf-mobile-group__row {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.bf-mobile-group__row > a {
	flex: 1 1 auto;
	padding: 14px 0;
	color: #2a2520;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.25;
}

.bf-mobile-group__row > button {
	display: grid;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #2a2520;
	cursor: pointer;
	place-items: center;
}

.bf-mobile-group__row > button svg {
	transition: transform 0.2s ease;
}

.bf-mobile-group__row > button[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bf-mobile-submenu {
	display: grid;
	padding: 0 0 12px 4px;
}

.bf-mobile-submenu[hidden] {
	display: none;
}

.bf-mobile-submenu > a {
	padding: 10px 12px;
	border-left: 1px solid rgba(149, 128, 88, 0.35);
	color: #555;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	line-height: 1.35;
}

.bf-mobile-submenu > a:hover {
	border-left-color: #958058;
	color: #958058;
}

/* Level 3 */
.bf-mobile-sub {
	border-left: 1px solid rgba(149, 128, 88, 0.35);
}

.bf-mobile-sub__row {
	display: flex;
	align-items: center;
	min-height: 42px;
}

.bf-mobile-sub__row > a,
.bf-mobile-sub__row > span {
	flex: 1 1 auto;
	padding: 10px 12px;
	color: #3a352f;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.35;
}

.bf-mobile-sub__row > span {
	color: #958058;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-mobile-sub__row > button {
	display: grid;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #958058;
	cursor: pointer;
	place-items: center;
}

.bf-mobile-sub__row > button svg {
	transition: transform 0.2s ease;
}

.bf-mobile-sub__row > button[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bf-mobile-sub__list {
	display: grid;
	padding: 0 0 8px 12px;
}

.bf-mobile-sub__list[hidden] {
	display: none;
}

.bf-mobile-sub__list a {
	padding: 9px 12px;
	color: #6a635b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
}

.bf-mobile-sub__list a:hover {
	color: #958058;
}

.bf-mobile-group.is-active > .bf-mobile-group__row > a {
	color: #958058;
}

/* ===== Inline SVG icon set ===== */
.bf-ico {
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
	overflow: visible;
}

.bf-ico__a {
	stroke: #958058;
}

.bf-ico--target .bf-ico__a {
	fill: #958058;
}

.bf-ico-tile {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background:
		radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.85) 0%, transparent 55%),
		linear-gradient(155deg, #fbf8f3 0%, #efe6d7 100%);
	border: 1px solid rgba(149, 128, 88, 0.28);
	box-shadow: 0 6px 18px rgba(42, 37, 32, 0.06);
	color: #2a2520;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bf-ico-tile:hover {
	transform: translateY(-2px);
	border-color: rgba(149, 128, 88, 0.45);
	box-shadow: 0 10px 24px rgba(42, 37, 32, 0.1);
}

.bf-ico-tile .bf-ico {
	width: 32px;
	height: 32px;
}

/* Icons sitting inside buttons, links and headings */
.btn .bf-ico,
.biosfera-btn .bf-ico,
.biosfera-capture__title .bf-ico,
.biosfera-back-link .bf-ico {
	margin-right: 7px;
	vertical-align: -2px;
}

.biosfera-capture__title .bf-ico,
.biosfera-back-link .bf-ico {
	color: var(--bf-accent, #958058);
}

.biosfera-capture__badge {
	width: 44px !important;
	height: 44px !important;
	border-radius: 14px !important;
	background: linear-gradient(150deg, #faf7f2 0%, #f1e9dc 100%) !important;
	border-color: rgba(149, 128, 88, 0.22) !important;
}

.biosfera-side-card__icon {
	width: 44px !important;
	height: 44px !important;
	border-radius: 14px !important;
	background: linear-gradient(150deg, #faf7f2 0%, #f1e9dc 100%) !important;
	border: 1px solid rgba(149, 128, 88, 0.22) !important;
	color: #2a2520 !important;
}

.biosfera-side-card__icon .bf-ico {
	color: var(--bf-accent, #958058);
}

.bf-mobile-menu__actions {
	display: grid;
	gap: 10px;
	margin: 18px 0 12px;
}

.bf-mobile-menu__actions .btn {
	border-radius: 24px !important;
	min-height: 48px;
	font-weight: bold !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.bf-mobile-menu__actions .btn.white {
	background: #fff !important;
	border: 1px solid rgba(42, 37, 32, 0.14) !important;
	color: #2a2520 !important;
}

.bf-mobile-menu__contacts {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(42, 37, 32, 0.1);
	font-size: 12px;
	color: #888;
	line-height: 1.5;
}

.bf-mobile-menu__contacts a[href^="mailto"] {
	font-size: 13px;
	font-weight: 400;
	color: #958058;
}

body.bf-menu-open {
	overflow: hidden;
	touch-action: none;
}

/* Kill legacy Bitrix header leftovers if cached HTML remains */
header.header-v2,
#headerfixed,
#mobileheader,
#mobilemenu,
.mega_fixed_menu,
.line-row.visible-xs {
	display: none !important;
}

body.mheader-v1,
body.bf-shell {
	padding-top: 0 !important;
}

@media (max-width: 1180px) {
	.bf-site-nav__link {
		padding: 10px 8px;
		font-size: 13px;
	}
	.bf-site-header__actions {
		gap: 12px;
	}
	.bf-phone-block__num {
		font-size: 13px;
	}
	.bf-personal__name {
		font-size: 13px;
	}
}

@media (max-width: 991px) {
	.bf-site-header__bar {
		min-height: 56px;
		padding: 0 12px;
		gap: 10px;
	}
	.bf-site-header__brand {
		margin-right: auto;
	}
	.bf-site-header__brand img {
		height: 32px;
	}
	.bf-site-nav {
		display: none;
	}
	.bf-phone-block--desktop,
	.bf-personal--desktop,
	.bf-site-header__cta {
		display: none !important;
	}
	.bf-site-header__phone-mobile {
		display: inline-block;
		font-size: 12px;
	}
	.bf-burger {
		display: inline-flex;
	}
	.bf-site-header__actions {
		gap: 8px;
	}
}

@media (max-width: 360px) {
	.bf-site-header__phone-mobile {
		font-size: 11px;
		letter-spacing: -0.02em;
	}
}

/* ===== Desktop: hide Aspro «Ещё / …» if old chrome appears ===== */
@media (min-width: 992px) {
	.mega-menu table td.js-dropdown.nosave,
	.mega-menu table td .wrap > a.more-items,
	.mega-menu table td .wrap > .more-items,
	.mega-menu .dropdown-toggle.more-items,
	.menu-row .mega-menu table td.js-dropdown.nosave {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		min-width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		border: 0 !important;
		overflow: hidden !important;
		pointer-events: none !important;
	}

	/* Keep real items visible (custom.css forced all unvisible on) */
	.mega-menu table td.menu-item.unvisible {
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* Lead / callback modal */
.biosfera-modal-open {
	overflow: hidden;
}

.biosfera-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.biosfera-modal[hidden] {
	display: none !important;
}

.biosfera-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 14, 0.55);
}

.biosfera-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	background: #fff;
	border-radius: 8px;
	padding: 28px 28px 24px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.biosfera-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.biosfera-modal__title {
	margin: 0 0 8px;
	font-size: 22px;
	color: #2f2a24;
}

.biosfera-modal__desc {
	margin: 0 0 18px;
	color: #666;
	font-size: 14px;
	line-height: 1.45;
}

.biosfera-modal__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.biosfera-modal__field {
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.biosfera-modal__field label {
	display: block;
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 400;
	color: #8b8579;
}

.biosfera-modal__field input,
.biosfera-modal__field textarea {
	width: 100%;
	border: 1px solid #e0ddd6;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	color: #2a2520;
	background: #fff;
	box-sizing: border-box;
}

.biosfera-modal__field input:focus,
.biosfera-modal__field textarea:focus {
	border-color: #958058;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(149, 128, 88, 0.14);
}

.biosfera-modal__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 4px;
	font-size: 13px;
	color: #555;
	line-height: 1.45;
}

.biosfera-modal__submit {
	width: 100%;
	min-height: 48px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
	font-weight: 700 !important;
}

/* Consent checkbox — gold check like source Bitrix */
.bf-consent,
.biosfera-modal__consent,
.biosfera-capture__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
	font-weight: 400;
}

.bf-consent input[type="checkbox"],
.biosfera-modal__consent input[type="checkbox"],
.biosfera-capture__consent input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	flex: 0 0 22px;
	border: 2px solid #958058;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.bf-consent input[type="checkbox"]:checked,
.biosfera-modal__consent input[type="checkbox"]:checked,
.biosfera-capture__consent input[type="checkbox"]:checked {
	background: #958058;
	border-color: #958058;
}

.bf-consent input[type="checkbox"]:checked::after,
.biosfera-modal__consent input[type="checkbox"]:checked::after,
.biosfera-capture__consent input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.bf-consent__text,
.biosfera-modal__consent .bf-consent__text,
.biosfera-capture__consent .bf-consent__text {
	color: #55504a;
}

/* Consent legal links — always clearly clickable */
.bf-consent a,
.biosfera-modal__consent a,
.biosfera-capture__consent a,
.licence_block a,
.licence_block.bf-consent a,
.form.callbackinline .licence_block a,
.bf-legacy-form .licence_block a {
	color: #958058 !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	text-decoration-thickness: 1.5px;
}

.bf-consent a:hover,
.biosfera-modal__consent a:hover,
.biosfera-capture__consent a:hover,
.licence_block a:hover,
.bf-legacy-form .licence_block a:hover {
	color: #7e6c49 !important;
}

.sf-lead-toast {
	position: fixed;
	z-index: 100050;
	right: 20px;
	bottom: 20px;
	max-width: min(360px, calc(100vw - 32px));
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}
.sf-lead-toast.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.sf-lead-toast__card {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e6e0d6;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.sf-lead-toast__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #fff;
	font-weight: 700;
}
.sf-lead-toast--ok .sf-lead-toast__icon { background: #958058; }
.sf-lead-toast--error .sf-lead-toast__icon { background: #a94442; }
.sf-lead-toast__title { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.sf-lead-toast__text { margin: 0; font-size: 13px; color: #555; }
.sf-lead-toast__close {
	margin-left: auto;
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #999;
}

.biosfera-modal__submit {
	width: 100%;
}

.biosfera-modal__status {
	min-height: 1.2em;
	margin-top: 10px;
	font-size: 13px;
	color: #958058;
}

.biosfera-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
	pointer-events: none !important;
}

.callback-block,
.wrap_icon.record .btn,
.right-icons .btn.animate-load {
	cursor: pointer;
}

/* Equal-height service cards on homepage — keep horizontal image + text */
.item-views.front.sections .items.row,
.sections.item-views.front .items.row {
	display: flex;
	flex-wrap: wrap;
}

.item-views.front.sections .items.row > [class*="col-"],
.sections.item-views.front .items.row > [class*="col-"] {
	display: flex;
	margin-bottom: 24px;
}

.item-views.front.sections .items.row .item,
.sections.item-views.front .items.row .item {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}

/* Staff / reviews carousel: keep cards readable */
.biosfera-carousel .slides > li {
	margin-right: 20px;
}

.staff-items .item,
.reviews.front .item {
	background: #fff;
	min-height: 100%;
}

/* Homepage staff cards: equal height, no hover-jump */
.staff-items.front.staff-type-2 .flexslider .slides {
	display: flex !important;
	align-items: stretch;
}

.staff-items.front.staff-type-2 .flexslider .slides > li {
	display: flex !important;
	float: none !important;
	height: auto !important;
}

.staff-items.front.staff-type-2 .item {
	display: flex !important;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.staff-items.front.staff-type-2 .item > .wrap {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
	width: 100%;
}

.staff-items.front.staff-type-2 .item .body-info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.staff-items.front.staff-type-2 .item .top-block-wrapper {
	flex: 1 1 auto;
	margin-bottom: 28px !important;
	min-height: 96px;
}

.staff-items.front.staff-type-2 .item .post {
	min-height: 2.7em;
	line-height: 1.35;
}

.staff-items.front.staff-type-2 .item .bottom-block {
	display: none !important;
}

/* Service detail: floated images shouldn't collapse tabs.
   Do NOT apply to .detail.staff — trainers use left photo + info. */
.detail:not(.staff) .detailimage,
.detail:not(.staff) img[align="right"],
.content-md .detail:not(.staff) img[align="right"] {
	float: right;
	max-width: 46%;
	height: auto;
	margin: 0 0 16px 20px;
}

.detail.staff .detailimage {
	float: left !important;
	max-width: none;
	margin: 0;
}

.detail .tabs_content,
.content-md .tab-pane {
	overflow: hidden;
}

@media (max-width: 767px) {
	.detail img[align="right"],
	.content-md img[align="right"] {
		float: none;
		max-width: 100%;
		margin: 0 0 16px;
		display: block;
	}
}

/* ===== Service page — fine editorial design ===== */
.biosfera-service-page {
	--bf-ink: #333333;
	--bf-muted: #555555;
	--bf-soft: #888888;
	--bf-line: rgba(42, 37, 32, 0.12);
	--bf-line-soft: rgba(42, 37, 32, 0.07);
	--bf-accent: #958058;
	--bf-accent-deep: #7d6a48;
	--bf-paper: #fff;
	--bf-wash: #faf8f5;
	--bf-radius: 10px;
	--bf-radius-sm: 8px;
	--bf-radius-btn: 24px;
	--bf-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	color: var(--bf-ink);
	font-family: "PT Sans Caption", Arial, sans-serif;
	font-size: 15px;
	line-height: 25px;
	font-weight: 400;
}

.biosfera-service-page h1,
.biosfera-service-page h2,
.biosfera-service-page h3,
.biosfera-service-page h4,
.biosfera-service-page #pagetitle,
.biosfera-service-page .biosfera-feat h3,
.biosfera-service-page .biosfera-step h3,
.biosfera-service-page .biosfera-faq__q,
.biosfera-service-page .biosfera-faq__item > summary {
	font-family: "PT Sans Caption", Arial, sans-serif;
	font-weight: bold;
}

.biosfera-service-page .page-top {
	padding-top: 28px;
	padding-bottom: 0;
}

.biosfera-service-page .breadcrumb {
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--bf-soft);
	margin-bottom: 14px !important;
}

.biosfera-service-page .breadcrumb a {
	color: var(--bf-soft);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--bf-ease), border-color var(--bf-ease);
}

.biosfera-service-page .breadcrumb a:hover {
	color: var(--bf-accent);
	border-bottom-color: rgba(149, 128, 88, 0.45);
}

.biosfera-service-page .breadcrumb .active,
.biosfera-service-page .breadcrumb .active span {
	color: var(--bf-ink);
}

.biosfera-service-page #pagetitle {
	margin: 0;
	padding-bottom: 16px;
	font-size: 2.1333em;
	line-height: 1.25;
	font-weight: bold;
	letter-spacing: normal;
	color: #333;
	border-bottom: 1px solid var(--bf-line);
}

/* Content-first DOM; aside only jumps left on desktop via order. */
.biosfera-service-layout {
	margin-top: 22px;
	margin-bottom: 64px;
	display: flex;
	flex-direction: column;
}

.biosfera-service-main {
	order: 1;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
}

.biosfera-service-aside {
	order: 2;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	margin-bottom: 28px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

@media (min-width: 992px) {
	/* Bitrix html{overflow-x:hidden} demotes sticky→relative; top:N then shifts aside down. */
	html:has(body.single-service) {
		overflow-x: clip !important;
	}

	.biosfera-service-layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 30px;
		overflow: visible;
	}

	/* Bootstrap .row clearfix pseudos become flex items — drop them. */
	.biosfera-service-layout::before,
	.biosfera-service-layout::after {
		display: none !important;
		content: none !important;
	}

	.biosfera-service-layout > .biosfera-service-aside,
	.biosfera-service-layout > .biosfera-service-main {
		float: none !important;
		padding-left: 0;
		padding-right: 0;
		margin-top: 0 !important;
		padding-top: 0 !important;
		align-self: flex-start;
	}

	.biosfera-service-aside {
		order: -1;
		flex: 0 0 288px;
		max-width: 288px;
		width: auto !important;
		/* Keep top edge level with hero photo (no sticky top offset). */
		position: relative;
		top: auto !important;
		border-top: 0;
	}

	.biosfera-service-main {
		order: 0;
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
	}

	.biosfera-service-hero,
	.biosfera-side-nav {
		margin-top: 0;
	}
}

@media (max-width: 991px) {
	.biosfera-service-aside {
		margin-top: 36px;
		padding-top: 28px;
		border-top: 1px solid var(--bf-line, #ecf2f4);
	}

	/* Kill Bitrix negative pulls that dragged forms above the hero on mobile. */
	body.bf-shell .callbackinline,
	body.bf-shell DIV.callbackinline,
	body.bf-shell .form.callbackinline,
	body.bf-shell .staff-items .flexslider {
		margin-top: 0 !important;
	}

	body.bf-shell .banners-big {
		margin-bottom: 20px !important;
	}
}

/* Buttons — thin, precise */
.biosfera-btn,
.biosfera-service-page .btn,
.biosfera-related__card,
.biosfera-side-nav li a,
.biosfera-back-link,
.biosfera-faq__item > summary,
.biosfera-feat,
.biosfera-step {
	transition: background-color var(--bf-ease), color var(--bf-ease), border-color var(--bf-ease),
		box-shadow var(--bf-ease), transform var(--bf-ease), opacity var(--bf-ease);
}

.biosfera-btn,
.biosfera-service-page .btn.btn-default {
	background: var(--bf-accent) !important;
	border: 1px solid var(--bf-accent) !important;
	color: #fff !important;
	border-radius: var(--bf-radius-btn) !important;
	padding: 12px 22px !important;
	font-weight: bold !important;
	font-size: 13px !important;
	letter-spacing: 0.04em;
	text-transform: none;
	box-shadow: none !important;
	line-height: 1.3;
}

.biosfera-service-cta .btn.btn-lg {
	padding: 14px 26px !important;
	font-size: 14px !important;
}

.biosfera-btn i,
.biosfera-service-page .btn i {
	margin-right: 7px;
	font-size: 12px;
	opacity: 0.92;
}

.biosfera-btn:hover,
.biosfera-btn:focus,
.biosfera-service-page .btn.btn-default:hover,
.biosfera-service-page .btn.btn-default:focus {
	background: var(--bf-accent-deep) !important;
	border-color: var(--bf-accent-deep) !important;
	color: #fff !important;
	transform: none;
	box-shadow: none !important;
}

.biosfera-btn:active,
.biosfera-service-page .btn.btn-default:active {
	transform: none;
	opacity: 0.92;
}

.biosfera-btn.white,
.biosfera-service-page .btn.btn-default.white {
	background: transparent !important;
	color: var(--bf-ink) !important;
	border: 1px solid var(--bf-line) !important;
}

.biosfera-btn.white:hover,
.biosfera-btn.white:focus,
.biosfera-service-page .btn.btn-default.white:hover,
.biosfera-service-page .btn.btn-default.white:focus {
	background: var(--bf-wash) !important;
	color: var(--bf-accent-deep) !important;
	border-color: var(--bf-accent) !important;
}

.biosfera-btn--block {
	width: 100%;
}

/* Aside panels — Aspro side-menu / ask-block rhythm */
.biosfera-side-card,
.biosfera-capture--aside,
.biosfera-side-nav {
	background: #fff;
	border: 1px solid #ecf2f4;
	border-radius: 3px;
	box-shadow: none;
}

.biosfera-side-card {
	padding: 22px 20px 20px;
	margin-bottom: 18px;
	position: relative;
}

.biosfera-side-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 0;
	background: transparent;
	color: var(--bf-accent);
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin: 0 0 12px;
	padding: 0;
}

.biosfera-side-card p {
	margin: 0 0 14px;
	color: #333;
	font-size: 14px;
	line-height: 1.45;
}

.biosfera-side-card .btn {
	width: 100%;
	padding: 11px 16px !important;
	font-size: 13px !important;
}

.biosfera-side-nav {
	padding: 4px 0;
	margin-bottom: 18px;
	overflow: hidden;
}

.biosfera-side-nav__title {
	display: none; /* old site had no “Разделы” label above side-menu */
}

.biosfera-side-nav ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.biosfera-side-nav > ul > li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #eef2f3;
}

.biosfera-side-nav > ul > li:last-child {
	border-bottom: 0;
}

.biosfera-side-nav > ul > li > a {
	display: block;
	padding: 14px 18px;
	color: #333;
	text-decoration: none;
	border-left: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.35;
	letter-spacing: 0;
	background: transparent;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.biosfera-side-nav > ul > li > a:hover,
.biosfera-side-nav > ul > li > a:focus {
	background: #f7f6f3;
	color: #333;
}

.biosfera-side-nav > ul > li.is-active {
	background: #f7f6f3;
}

.biosfera-side-nav > ul > li.is-active > a,
.biosfera-side-nav > ul > li.is-active > a:hover {
	background: transparent;
	color: #333;
	font-weight: bold;
	box-shadow: inset 3px 0 0 var(--bf-accent);
}

/* Level 3 in the sidebar: services of the current category */
.biosfera-side-nav__sub {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 10px !important;
	background: transparent;
	border: 0;
}

.biosfera-side-nav__sub li {
	border: 0 !important;
	margin: 0;
	padding: 0;
}

.biosfera-side-nav__sub li a {
	display: block;
	padding: 6px 18px 6px 28px;
	color: #6a635b;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: none !important;
	background: transparent !important;
}

.biosfera-side-nav__sub li a:hover {
	color: var(--bf-accent);
	background: transparent !important;
}

.biosfera-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #888;
	font-size: 13px;
	letter-spacing: 0;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
	margin-top: 4px;
}

.biosfera-back-link:hover {
	color: var(--bf-accent);
	border-bottom-color: rgba(149, 128, 88, 0.4);
}

/* Hero — wide detail image like source /services/check-up/ */
.biosfera-service-hero {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--bf-radius-sm);
	overflow: hidden;
	background: #fff;
	box-shadow: none;
}

.biosfera-service-hero__link {
	display: block;
	line-height: 0;
}

.biosfera-service-hero img {
	display: block;
	width: 100%;
	height: 350px; /* desktop: +25% vs previous 280px */
	max-height: 350px;
	object-fit: cover;
	object-position: center;
	border-radius: var(--bf-radius-sm);
	transition: opacity 0.25s ease;
}

.biosfera-service-hero__link:hover img {
	opacity: 0.96;
}

/* CTA bar — Aspro order-block rhythm */
.biosfera-service-cta {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	background: #f9fbfb;
	border: 1px solid #ecf2f4;
	border-radius: 0 0 var(--bf-radius-sm) var(--bf-radius-sm);
	padding: 28px 24px;
	margin: 0 0 40px;
	clear: both;
}

.biosfera-service-cta__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 220px;
	flex: 1 1 280px;
	padding-left: 56px;
	position: relative;
	color: #333;
	text-align: left;
}

.biosfera-service-cta__text::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 42px;
	height: 40px;
	background: url("bitrix/templates/aspro-medc2/images/svg/Service_icon.svg") 0 0 no-repeat;
	background-size: contain;
}

.biosfera-service-cta__text strong {
	color: #333;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.biosfera-service-cta__text span {
	color: #333;
	font-size: 15px;
	line-height: 1.5;
}

.biosfera-service-cta__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	margin-left: auto;
}

.biosfera-service-cta__actions .btn {
	margin: 0 !important;
	min-width: 160px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media (max-width: 767px) {
	.biosfera-service-cta {
		padding: 22px 18px;
		margin-bottom: 28px;
	}

	.biosfera-service-cta__text {
		padding-left: 52px;
		flex: 1 1 100%;
	}

	.biosfera-service-cta__actions {
		width: 100%;
		margin-left: 0;
		justify-content: stretch;
	}

	.biosfera-service-cta__actions .btn {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* Content typography */
.biosfera-service-content {
	font-size: 15.5px;
	line-height: 1.72;
	color: var(--bf-ink);
}

.biosfera-service-content p {
	margin: 0 0 16px;
	color: var(--bf-muted);
}

.biosfera-service-content h2 {
	margin: 36px 0 14px;
	padding-bottom: 10px;
	font-size: 1.333em;
	font-weight: bold;
	letter-spacing: normal;
	color: #333;
	line-height: 1.3125em;
	border-bottom: 1px solid var(--bf-line-soft);
}

.biosfera-lead {
	font-size: 15px !important;
	line-height: 25px !important;
	color: #333 !important;
	margin: 0 0 28px !important;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--bf-line-soft);
	font-weight: 400;
}

.biosfera-service-content > p:first-child,
.biosfera-service-content .introtext,
.biosfera-service-content .biosfera-lead {
	font-size: 15px;
	line-height: 25px;
	color: #333;
}

.biosfera-service-content ul {
	margin: 0 0 18px 1.05em;
	padding: 0;
	color: var(--bf-muted);
}

.biosfera-service-content li {
	margin-bottom: 7px;
}

/* Feature grid — hairline cards */
.biosfera-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 4px 0 32px;
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	overflow: hidden;
	background: var(--bf-paper);
}

.biosfera-feat {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 22px 20px;
	box-shadow: none;
	border-right: 1px solid var(--bf-line-soft);
	border-bottom: 1px solid var(--bf-line-soft);
}

.biosfera-feat:nth-child(2n) {
	border-right: 0;
}

.biosfera-feat:nth-last-child(-n+2) {
	border-bottom: 0;
}

.biosfera-feat:hover {
	background: var(--bf-wash);
	border-color: inherit;
	box-shadow: none;
	transform: none;
}

.biosfera-feat__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: transparent;
	color: var(--bf-accent);
	border: 1px solid var(--bf-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	margin-bottom: 14px;
}

.biosfera-feat h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: normal;
	color: #333;
}

.biosfera-feat p {
	margin: 0 !important;
	font-size: 13px;
	color: var(--bf-muted);
	line-height: 1.5;
}

/* Include / audience */
.biosfera-include,
.biosfera-audience {
	background: var(--bf-paper);
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	padding: 22px 24px;
	margin: 24px 0;
}

.biosfera-include h2,
.biosfera-audience__head h2 {
	margin-top: 0 !important;
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	font-size: 1.2em !important;
	font-weight: bold !important;
	color: #333 !important;
}

.biosfera-include__list,
.biosfera-audience__list {
	list-style: none !important;
	list-style-type: none !important;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--bf-line-soft);
}

.biosfera-include__list li,
.biosfera-audience__list li,
.biosfera-service-page .biosfera-include__list li,
.biosfera-service-page .biosfera-audience__list li,
.biosfera-service-page ul.biosfera-include__list > li,
.biosfera-service-page ul.biosfera-audience__list > li {
	position: relative !important;
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0 12px 0 !important;
	padding-left: 0 !important;
	border-bottom: 1px solid var(--bf-line-soft);
	margin: 0 !important;
	margin-bottom: 0 !important;
	font-size: 15px !important;
	line-height: 25px !important;
	color: #333 !important;
	font-weight: 400;
	list-style: none !important;
}

.biosfera-include__list li:last-child,
.biosfera-audience__list li:last-child {
	border-bottom: 0;
	padding-bottom: 0 !important;
}

/* Kill Aspro em-dash / custom bullets that collide with FA icons */
.biosfera-service-page ul li:before,
.biosfera-service-page ul li:after,
.biosfera-include__list li:before,
.biosfera-include__list li:after,
.biosfera-audience__list li:before,
.biosfera-audience__list li:after,
.biosfera-side-nav ul li:before,
.biosfera-side-nav ul li:after,
.biosfera-features li:before,
.biosfera-related li:before {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	background: none !important;
}

.biosfera-li-ico {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border: 1px solid var(--bf-line);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bf-accent);
	font-size: 12px;
	line-height: 1;
	background: #fff;
}

.biosfera-li-txt {
	flex: 1 1 auto;
}

.biosfera-include__list .fa-check {
	color: var(--bf-accent);
	margin-right: 0;
	font-size: 12px;
}

.biosfera-audience__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bf-line-soft);
}

.biosfera-audience__head i {
	color: var(--bf-accent);
	font-size: 15px;
	width: 28px;
	height: 28px;
	border: 1px solid var(--bf-line);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Steps */
.biosfera-steps {
	margin: 32px 0;
}

.biosfera-steps > h2 {
	margin-bottom: 16px !important;
}

.biosfera-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	overflow: hidden;
}

.biosfera-step {
	background: var(--bf-paper);
	border: 0;
	border-radius: 0;
	border-right: 1px solid var(--bf-line-soft);
	padding: 22px 18px;
	box-shadow: none;
}

.biosfera-step:last-child {
	border-right: 0;
}

.biosfera-step:hover {
	background: var(--bf-wash);
	border-color: inherit;
	box-shadow: none;
}

.biosfera-step__n {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	color: var(--bf-accent);
	margin-bottom: 12px;
}

.biosfera-step h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: bold;
	color: var(--bf-ink);
}

.biosfera-step p {
	margin: 0 !important;
	font-size: 13px;
	color: var(--bf-muted);
	line-height: 1.5;
}

/* Related */
.biosfera-related {
	margin: 36px 0 12px;
}

.biosfera-related > h2 {
	margin-bottom: 14px !important;
}

.biosfera-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	overflow: hidden;
}

.biosfera-related__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 18px;
	border: 0;
	border-radius: 0;
	border-right: 1px solid var(--bf-line-soft);
	border-bottom: 1px solid var(--bf-line-soft);
	text-decoration: none !important;
	color: var(--bf-ink) !important;
	background: var(--bf-paper);
}

.biosfera-related__card:nth-child(2n) {
	border-right: 0;
}

.biosfera-related__card:nth-last-child(-n+2) {
	border-bottom: 0;
}

.biosfera-related__card > .fa:first-child {
	color: var(--bf-accent);
	width: 18px;
	text-align: center;
	font-size: 13px;
}

.biosfera-related__card span {
	flex: 1;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.biosfera-related__card .fa-angle-right {
	color: var(--bf-line);
	font-size: 12px;
}

.biosfera-related__card:hover {
	background: var(--bf-wash);
	border-color: inherit;
	color: var(--bf-accent-deep) !important;
	transform: none;
}

.biosfera-related__card:hover .fa-angle-right {
	color: var(--bf-accent);
}

/* Capture forms */
.biosfera-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
	pointer-events: none !important;
}

.biosfera-capture--aside {
	padding: 18px 18px 16px;
	margin-bottom: 18px;
	background: #f9fbfb;
}

.biosfera-capture__title {
	font-weight: bold;
	color: #333;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ecf2f4;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: none;
}

.biosfera-capture__title i {
	color: var(--bf-accent);
	margin-right: 7px;
	font-size: 14px;
	text-transform: none;
}

.biosfera-capture__field {
	display: block;
	margin-bottom: 10px;
}

.biosfera-capture__field span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 4px;
}

.biosfera-capture__field span em {
	font-style: normal;
	text-transform: none;
	letter-spacing: 0;
	color: #b0a89e;
}

.biosfera-capture__field input,
.biosfera-capture__field textarea {
	width: 100%;
	border: 1px solid #ecf2f4;
	border-radius: 3px;
	padding: 9px 11px;
	font-size: 14px;
	color: #333;
	background: #fff;
	box-shadow: none;
	transition: border-color var(--bf-ease);
}

.biosfera-capture__field input:focus,
.biosfera-capture__field textarea:focus {
	outline: none;
	border-color: var(--bf-accent);
	box-shadow: none;
}

.biosfera-capture__consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 11px;
	color: #888;
	margin: 8px 0 12px;
	line-height: 1.4;
}

.biosfera-capture__status {
	margin-top: 10px;
	font-size: 12px;
	color: var(--bf-accent);
	min-height: 1.2em;
	letter-spacing: 0.02em;
}

.biosfera-capture--main {
	display: grid;
	grid-template-columns: 0.95fr 1.15fr;
	gap: 0;
	align-items: stretch;
	margin: 40px 0 32px;
	padding: 0;
	border-radius: var(--bf-radius);
	background: var(--bf-paper);
	color: var(--bf-ink);
	border: 1px solid var(--bf-line);
	box-shadow: none;
	overflow: hidden;
}

.biosfera-capture__intro {
	padding: 28px 26px;
	border-right: 1px solid var(--bf-line-soft);
	background: var(--bf-wash);
}

.biosfera-capture__badge {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid var(--bf-line);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	color: var(--bf-accent);
	font-size: 12px;
}

.biosfera-capture__intro h2 {
	margin: 0 0 10px;
	font-size: 1.333em;
	font-weight: bold;
	letter-spacing: -0.015em;
	color: var(--bf-ink);
	line-height: 1.3;
	border: 0;
	padding: 0;
}

.biosfera-capture__intro p {
	margin: 0;
	color: var(--bf-muted);
	font-size: 13px;
	line-height: 1.55;
}

.biosfera-capture__form {
	background: transparent;
	border-radius: 0;
	padding: 26px 24px;
	color: var(--bf-ink);
}

.biosfera-capture__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.biosfera-capture__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.biosfera-seo-geo {
	margin-top: 16px !important;
	margin-bottom: 8px !important;
	padding: 14px 16px !important;
	background: var(--bf-wash) !important;
	border-radius: var(--bf-radius-sm) !important;
	border: 1px solid var(--bf-line-soft) !important;
	font-size: 13px !important;
	color: var(--bf-muted) !important;
	line-height: 1.55 !important;
}

.biosfera-seo-geo strong {
	color: var(--bf-ink);
	font-weight: 500;
}

/* FAQ — compact, elegant accordion */
.biosfera-faq {
	margin: 28px 0 16px;
	clear: both;
}

.biosfera-faq > h2 {
	margin: 0 0 8px;
	padding-bottom: 8px;
	font-size: 1.25em;
	font-weight: bold;
	letter-spacing: 0;
	color: #333;
	border-bottom: 1px solid #ecf2f4;
	text-transform: none;
}

.biosfera-faq__item {
	border: 0;
	border-bottom: 1px solid #f0f3f4;
	border-radius: 0;
	background: transparent;
	margin-bottom: 0;
	padding: 0;
	overflow: visible;
}

.biosfera-faq__item:first-of-type {
	border-top: 0;
}

.biosfera-faq__q,
.biosfera-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 11px 0;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
	list-style: none;
	letter-spacing: 0;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.biosfera-faq__item > summary:hover {
	background: transparent;
	color: var(--bf-accent);
}

.biosfera-faq__item > summary::-webkit-details-marker {
	display: none;
}

.biosfera-faq__item > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: -2px;
	border-right: 1.5px solid var(--bf-accent);
	border-bottom: 1.5px solid var(--bf-accent);
	transform: rotate(45deg);
	transition: transform 0.22s ease;
	float: none;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.biosfera-faq__item[open] > summary {
	color: var(--bf-accent-deep);
}

.biosfera-faq__item[open] > summary::after {
	content: "";
	transform: rotate(-135deg);
	margin-top: 4px;
}

.biosfera-faq__a {
	padding: 0 28px 12px 0;
}

.biosfera-faq__a p {
	margin: 0;
	color: #555;
	line-height: 1.55;
	font-size: 14px;
}

@media (max-width: 991px) {
	.biosfera-service-page #pagetitle {
		font-size: 28px;
	}
	.biosfera-service-hero img {
		height: 180px;
		max-height: 180px;
	}
	.biosfera-steps__grid {
		grid-template-columns: 1fr;
	}
	.biosfera-step {
		border-right: 0;
		border-bottom: 1px solid var(--bf-line-soft);
	}
	.biosfera-step:last-child {
		border-bottom: 0;
	}
	.biosfera-capture--main {
		grid-template-columns: 1fr;
	}
	.biosfera-capture__intro {
		border-right: 0;
		border-bottom: 1px solid var(--bf-line-soft);
	}
}

@media (max-width: 767px) {
	.biosfera-service-cta {
		padding: 16px;
	}
	.biosfera-service-cta__actions .btn,
	.biosfera-capture__actions .btn {
		width: 100%;
	}
	.biosfera-features,
	.biosfera-related__grid,
	.biosfera-capture__row {
		grid-template-columns: 1fr;
	}
	.biosfera-feat,
	.biosfera-related__card {
		border-right: 0 !important;
		border-bottom: 1px solid var(--bf-line-soft);
	}
	.biosfera-feat:last-child,
	.biosfera-related__card:last-child {
		border-bottom: 0;
	}
	.biosfera-feat:nth-last-child(-n+2),
	.biosfera-related__card:nth-last-child(-n+2) {
		border-bottom: 1px solid var(--bf-line-soft);
	}
	.biosfera-feat:last-child,
	.biosfera-related__card:last-child {
		border-bottom: 0 !important;
	}
}

/* ===== Source-adapted service blocks (from /services/check-up/) ===== */
.bf-src {
	max-width: 100%;
	color: #111;
	font-family: "PT Sans Caption", Arial, sans-serif;
}

.bf-src-intro {
	margin: 0 0 36px !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
	color: #111 !important;
	text-align: left;
}

.bf-src-benefits {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 40px;
	margin: 8px 0 48px;
	text-align: center;
}

.bf-src-benefits__item {
	flex: 0 1 180px;
	max-width: 200px;
}

.bf-src-benefits__item img {
	display: block;
	width: 120px;
	height: auto;
	margin: 0 auto;
}

.bf-src-benefits__item p {
	margin: 14px 0 0 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: #111 !important;
	text-align: center;
}

.bf-src-panel {
	padding: 36px 48px;
	margin: 0 0 40px;
	background: #958058;
	color: #fff;
	border-radius: 0;
}

.bf-src-panel__title,
.bf-src-results__title,
.bf-src-staff__title {
	margin: 0 0 28px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 1.55em !important;
	font-weight: bold !important;
	line-height: 1.25 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff !important;
}

.bf-src-panel p {
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: #fff !important;
}

.bf-src-panel--reasons ul {
	list-style: none !important;
	margin: 8px 0 0 !important;
	padding: 0 0 0 28px !important;
}

.bf-src-panel--reasons li {
	position: relative;
	margin: 0 0 16px !important;
	padding: 0 0 0 22px !important;
	color: #fff !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
}

.bf-src-panel--reasons li:last-child {
	margin-bottom: 0 !important;
}

.bf-src-panel--reasons li:before,
.bf-src .bf-src-panel--reasons li:before,
.biosfera-service-page .bf-src-panel--reasons li:before {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0.55em !important;
	width: 9px !important;
	height: 9px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: #1a1a1a !important;
	border: 0 !important;
	display: block !important;
}

.bf-src-iconlist {
	list-style: none !important;
	margin: 4px 0 36px !important;
	padding: 0 !important;
}

.bf-src-iconlist li,
.biosfera-service-page .bf-src-iconlist li {
	display: flex !important;
	align-items: center;
	gap: 18px;
	min-height: 0;
	margin: 0 0 12px !important;
	padding: 0 !important;
	list-style: none !important;
}

.bf-src-iconlist li:before,
.bf-src-iconlist li:after,
.biosfera-service-page .bf-src-iconlist li:before,
.biosfera-service-page .bf-src-iconlist li:after {
	content: none !important;
	display: none !important;
}

.bf-src-iconlist img {
	flex: 0 0 auto;
	width: 64px;
	height: auto;
	display: block;
}

.bf-src-iconlist span:not(.bf-src-ico) {
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.4;
	color: #111;
	text-transform: lowercase;
}

.bf-src-results {
	margin: 4px 0 36px;
}

.bf-src-results__title {
	color: #111 !important;
	margin-bottom: 22px !important;
}

.bf-src-results__item {
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	padding-left: 48px;
	margin: 0 0 18px;
	min-height: 0;
}

.bf-src-results__n {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: 1px solid #958058;
	border-radius: 50%;
	color: #958058;
	font-size: 18px;
	font-weight: bold;
	line-height: 30px;
	text-align: center;
}

.bf-src-results__item img {
	flex: 0 0 auto;
	width: 140px;
	height: auto;
	display: block;
	border-radius: 2px;
}

.bf-src-results__item p {
	flex: 1 1 auto;
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: #111 !important;
}

.bf-src-video {
	margin: 0 0 28px;
}

.bf-src-video__frame {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	background: #111;
	overflow: hidden;
}

.bf-src-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bf-src-quote {
	margin: 0 0 56px;
	padding: 42px 36px 42px 36px;
	background: #f5f8f9;
	border: 0;
}

.bf-src-quote p {
	margin: 0 !important;
	padding-left: 56px;
	background: url("img/kav.png") no-repeat left 0.15em;
	background-size: 31px 23px;
	font-size: 20px !important;
	line-height: 1.45 !important;
	color: #222 !important;
}

.bf-src-staff {
	margin: 0 0 24px;
}

.bf-src-staff__title {
	color: #111 !important;
	margin-bottom: 28px !important;
}

.bf-src-staff__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bf-src-staff__card {
	width: 260px;
	max-width: 100%;
	padding: 28px 22px 24px;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(42, 37, 32, 0.08);
	text-align: center;
}

.bf-src-staff__photo {
	display: block;
	width: 128px;
	height: 128px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
}

.bf-src-staff__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bf-src-staff__card h3 {
	margin: 0 0 4px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 18px !important;
	font-weight: bold !important;
	color: #222 !important;
	text-transform: none !important;
}

.bf-src-staff__card > p {
	margin: 0 0 18px !important;
	font-size: 13px !important;
	color: #888 !important;
}

.bf-src-staff__card .btn {
	min-width: 140px;
}

@media (max-width: 767px) {
	.bf-src-panel {
		padding: 28px 22px;
	}

	.bf-src-benefits {
		gap: 28px 16px;
		margin-bottom: 36px;
	}

	.bf-src-iconlist li {
		gap: 16px;
		min-height: 0;
		align-items: flex-start;
	}

	.bf-src-iconlist img {
		width: 72px;
	}

	.bf-src-results__item {
		flex-wrap: wrap;
		padding-left: 44px;
		gap: 14px 18px;
	}

	.bf-src-results__item img {
		width: 110px;
	}

	.bf-src-results__item p {
		flex: 1 1 100%;
	}

	.bf-src-quote {
		padding: 28px 18px;
	}

	.bf-src-quote p {
		font-size: 17px !important;
		padding-left: 44px;
		background-size: 26px 19px;
	}

	.bf-src-staff__card {
		width: 100%;
	}
}

/* FA icon tiles for bf-src (all services) */
.bf-src-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 0;
	background: transparent;
	color: #2a2520;
	font-size: 26px;
	flex: 0 0 auto;
}

.bf-src-benefits__item .bf-src-ico {
	width: 88px;
	height: 88px;
	margin: 0 auto;
	font-size: 40px;
	border: 0;
	color: #958058;
}

.bf-src-iconlist .bf-src-ico {
	width: 56px;
	height: 56px;
	font-size: 24px;
	color: #958058;
}

.bf-src-results__body {
	flex: 1 1 auto;
	min-width: 0;
}

.bf-src-results__body h3 {
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 16px !important;
	font-weight: bold !important;
	color: #111 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.bf-src-results__body p {
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: #111 !important;
}

.bf-src-related {
	margin: 0 0 24px;
}

.bf-src-related__title {
	margin: 0 0 14px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 1.2em !important;
	font-weight: bold !important;
	text-transform: uppercase;
	color: #111 !important;
	letter-spacing: 0.02em;
}

.bf-src-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 20px;
}

.bf-src-related__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	text-decoration: none;
	color: #222;
	transition: color 0.2s ease;
}

.bf-src-related__card:hover {
	border-color: transparent;
	background: transparent;
	color: #958058;
}

.bf-src-related__card .bf-src-ico {
	width: 36px;
	height: 36px;
	font-size: 18px;
	color: #958058;
}

.bf-src-related__card span {
	font-size: 14px;
	font-weight: bold;
	line-height: 1.3;
}

@media (max-width: 767px) {
	.bf-src-benefits__item .bf-src-ico {
		width: 72px;
		height: 72px;
		font-size: 30px;
	}
	.bf-src-iconlist .bf-src-ico {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}
	.bf-src-related__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   0.7.0 — block refinement pass
   SVG icon tiles, content blocks, listing grids, rewired legacy forms.
   0.7.3 — service cards align, form consent checkbox, photo heights −50%.
   ========================================================================== */

.bf-ico-tile--content {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	flex: 0 0 auto;
}

.bf-ico-tile--content .bf-ico {
	width: 40px;
	height: 40px;
}

/* Soft block atmosphere — keep Aspro bones, lift surfaces */
.bf-src-panel,
.bf-src-results,
.bf-src-benefits {
	border-radius: 16px;
}

.bf-src-benefits__item {
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bf-src-benefits__item:hover {
	transform: translateY(-2px);
}

.biosfera-service-cta {
	border-radius: 0 0 14px 14px;
}

/* --- «Параметры измерения» / icon list --- */
.bf-src-iconlist,
.biosfera-service-page .bf-src-iconlist {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 8px 0 40px !important;
}

.bf-src-iconlist li,
.biosfera-service-page .bf-src-iconlist li {
	gap: 16px;
	align-items: center;
	margin: 0 !important;
	padding: 12px 16px !important;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bf-src-iconlist li:hover {
	border-color: rgba(149, 128, 88, 0.35);
	box-shadow: 0 10px 26px rgba(42, 37, 32, 0.07);
	transform: translateY(-2px);
}

.bf-src-iconlist .bf-ico-tile--content {
	width: 56px;
	height: 56px;
	border-radius: 16px;
}

.bf-src-iconlist .bf-ico-tile--content .bf-ico {
	width: 30px;
	height: 30px;
}

/* --- «Что даёт диагностика» / benefits --- */
.bf-src-benefits {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 8px 0 48px;
}

.bf-src-benefits__item {
	flex: none;
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 28px 22px 24px;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bf-src-benefits__item:hover {
	border-color: rgba(149, 128, 88, 0.35);
	box-shadow: 0 14px 32px rgba(42, 37, 32, 0.08);
	transform: translateY(-3px);
}

/* --- «Что вы получите» / numbered results --- */
.bf-src-results__item {
	align-items: center;
	gap: 20px;
	padding: 16px 20px 16px 64px;
	margin: 0 0 14px;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 16px;
}

.bf-src-results__n {
	left: 18px;
	background: linear-gradient(150deg, #faf7f2 0%, #f1e9dc 100%);
	border-color: rgba(149, 128, 88, 0.3);
}

.bf-src-results__item img {
	border-radius: 12px;
}

@media (max-width: 767px) {
	.bf-src-iconlist,
	.biosfera-service-page .bf-src-iconlist {
		grid-template-columns: 1fr;
	}

	.bf-ico-tile--content {
		width: 60px;
		height: 60px;
		border-radius: 16px;
	}

	.bf-ico-tile--content .bf-ico {
		width: 32px;
		height: 32px;
	}

	.bf-src-results__item {
		padding-left: 56px;
	}
}

/* --- Migrated Aspro listings: equal-height cards instead of float stair-steps --- */
.biosfera-page .items.row,
.page .items.row,
.items.row.sid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.items.row > [class*="col-"] {
	display: flex;
	float: none;
	margin-bottom: 24px;
}

.items.row > [class*="col-"] > .item {
	display: flex;
	width: 100%;
}

/* Homepage service sections: image left, text right */
.sections.item-views.front .item.shadow1,
.sections.item-views .item.shadow1 {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 22px;
	padding: 26px 28px !important;
	border: 1px solid #eef1f2 !important;
	border-radius: 16px !important;
	overflow: hidden;
	background: #fff;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sections.item-views.front .item.shadow1:hover,
.sections.item-views .item.shadow1:hover {
	border-color: rgba(149, 128, 88, 0.35) !important;
	box-shadow: 0 16px 36px rgba(42, 37, 32, 0.1) !important;
	transform: translateY(-2px);
}

.sections.item-views.front .item.shadow1 .image,
.sections.item-views .item.shadow1 .image {
	float: none !important;
	position: relative !important;
	z-index: 1;
	flex: 0 0 220px;
	width: 220px !important;
	height: 148px !important;
	max-height: none !important;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 10px;
	background: #f5f5f3;
	text-align: left;
	align-self: stretch;
}

.sections.item-views.front .item.shadow1 .image > .wrap,
.sections.item-views .item.shadow1 .image > .wrap {
	position: absolute !important;
	inset: 0;
}

.sections.item-views.front .item.shadow1 .image img,
.sections.item-views .item.shadow1 .image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.sections.item-views.front .item.shadow1:hover .image img,
.sections.item-views .item.shadow1:hover .image img {
	transform: scale(1.04);
}

.sections.item-views.front .item.shadow1 .info,
.sections.item-views .item.shadow1 .info {
	float: none !important;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
}

.sections.item-views .item .title {
	margin: 0 0 6px !important;
}

.sections.item-views .item .previewtext {
	margin: 0 !important;
	color: #6a635b;
	font-size: 14px;
	line-height: 1.5;
}

.items .item.shadow1 .body-info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px 20px 20px;
}

.items .item.shadow1 .bottom-block {
	margin-top: auto;
	padding-top: 14px;
}

/* Services list rows */
.item_wrap.shadow1.item-border {
	border: 1px solid #eef1f2 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.item_wrap.shadow1.item-border:hover {
	border-color: rgba(149, 128, 88, 0.35) !important;
	box-shadow: 0 14px 32px rgba(42, 37, 32, 0.08) !important;
}

/* List blocks: photo height −50% (was max-height 166px) */
.item-views.list.list-type-block .item .image {
	max-height: 83px !important;
	height: 83px !important;
}

.item-views.list.list-type-block .item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Rewired Bitrix forms --- */
.bf-legacy-hidden {
	display: none !important;
}

.form.callbackinline.inline,
.form.inline.callbackinline {
	padding: 40px 44px 44px !important;
	background: linear-gradient(180deg, #faf8f4 0%, #f3f0ea 100%) !important;
	border: 1px solid #ebe6dc !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 28px rgba(42, 37, 32, 0.05);
}

.form.callbackinline .title,
.form.inline.callbackinline .title {
	color: #958058 !important;
	font-size: 28px !important;
	font-weight: bold !important;
	text-align: center !important;
	margin: 0 0 10px !important;
	letter-spacing: 0.01em;
}

.form.callbackinline .description,
.form.inline.callbackinline .description {
	color: #5c564e !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	text-align: center !important;
	max-width: 680px;
	margin: 0 auto 32px !important;
}

.bf-legacy-form {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
}

.bf-legacy-form .form-body {
	display: block !important;
	max-width: none;
	margin: 0;
	justify-content: stretch !important;
	align-items: stretch !important;
}

.bf-legacy-form .form-body > .row,
.bf-legacy-form .form-body > .row > [class*="col-"] {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}

/* Name + phone in one clean row (ignore hidden URL column) */
.bf-legacy-form .form-body .row .row,
.bf-legacy-form .bf-trial-fields {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 16px 20px;
	margin: 0 !important;
	width: 100%;
}

.bf-legacy-form .form-body .row .row > [class*="col-"],
.bf-legacy-form .bf-trial-fields > .form-group {
	float: none !important;
	position: static !important;
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	clear: none !important;
	left: auto !important;
	right: auto !important;
}

.bf-legacy-form .form-body .row .row > .bf-legacy-hidden,
.bf-legacy-form .form-body .bf-legacy-hidden {
	display: none !important;
	flex: 0 0 0 !important;
	width: 0 !important;
	max-width: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

.bf-legacy-form .form-group,
.bf-legacy-form .form-group.animated-labels {
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	text-align: left !important;
	float: none !important;
}

.bf-legacy-form .form-group > label {
	position: static !important;
	display: block !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	opacity: 1 !important;
	transform: none !important;
	color: #8b8579 !important;
	font: 400 11px/1.2 "PT Sans Caption", Arial, sans-serif !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left !important;
}

.bf-legacy-form .form-group .input {
	position: static !important;
	height: auto !important;
}

.bf-legacy-form .form-control {
	width: 100% !important;
	height: 46px !important;
	padding: 10px 14px !important;
	border: 1px solid #e2ddd3 !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #2a2520 !important;
	font-size: 15px !important;
	text-align: left !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bf-legacy-form .form-control:focus {
	border-color: #958058 !important;
	box-shadow: 0 0 0 3px rgba(149, 128, 88, 0.14) !important;
	outline: 0 !important;
}

.bf-legacy-form .block_lic_btn,
.form.callbackinline .block_lic_btn,
.form.inline.callbackinline .block_lic_btn {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 18px 22px;
	margin-top: 22px !important;
	max-width: none;
}

.bf-legacy-form .block_lic_btn > div:last-child {
	flex: 0 0 auto;
}

.bf-legacy-form .block_lic_btn .btn {
	min-height: 48px;
	padding: 12px 32px !important;
	border-radius: 24px !important;
	white-space: nowrap;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 18px rgba(149, 128, 88, 0.22);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bf-legacy-form .block_lic_btn .btn:hover,
.bf-legacy-form .block_lic_btn .btn:focus {
	background: #7d6a48 !important;
	border-color: #7d6a48 !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(149, 128, 88, 0.28);
}

.bf-legacy-form .block_lic_btn br {
	display: none;
}

/* Standard consent: visible gold checkbox + text */
.bf-legacy-form .licence_block,
.bf-legacy-form .licence_block.bf-consent,
.form.callbackinline .licence_block,
.form.inline.callbackinline .licence_block {
	flex: 1 1 auto;
	min-width: 0;
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	top: 0 !important;
	font-size: 13px !important;
	position: static !important;
	box-shadow: none !important;
}

.bf-legacy-form .licence_block label:before,
.bf-legacy-form .licence_block label:after,
.form.callbackinline .licence_block label:before,
.form.callbackinline .licence_block label:after,
.form.inline.callbackinline .licence_block label:before,
.form.inline.callbackinline .licence_block label:after {
	display: none !important;
	content: none !important;
	background: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.bf-legacy-form .licence_block label,
.form.callbackinline .licence_block label,
.form.inline.callbackinline .licence_block label {
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	position: static !important;
	width: auto !important;
	max-width: none !important;
	min-height: 0 !important;
	color: #55504a !important;
	font: 400 13px/1.45 "PT Sans Caption", Arial, sans-serif !important;
	white-space: normal !important;
	text-align: left !important;
	cursor: pointer;
	display: block !important;
}

.bf-legacy-form .licence_block label a,
.form.callbackinline .licence_block label a {
	color: #958058 !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

/* Inline trial form (first homepage block) */
.bf-trial-form,
.form.callbackinline.inline {
	margin: 28px 0 !important;
}

.bf-trial-form .form-title,
.form.callbackinline .form-title {
	text-align: center;
	margin: 0 0 8px;
}

/* Desktop: name | phone | consent | submit — one row */
@media (min-width: 992px) {
	.form.callbackinline.inline .bf-legacy-form,
	.form.callbackinline.inline form.bf-legacy-form {
		max-width: 100%;
	}

	.form.callbackinline.inline .form-body {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-end !important;
		gap: 18px 20px;
	}

	/* Unwrap Bitrix nesting so fields sit in the main row */
	.form.callbackinline.inline .form-body > .row,
	.form.callbackinline.inline .form-body > .row > [class*="col-"],
	.form.callbackinline.inline .form-body > .row > [class*="col-"] > .row {
		display: contents !important;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.form.callbackinline.inline .form-body > .row > [class*="col-"] > .row > [class*="col-"]:not(.bf-legacy-hidden),
	.form.callbackinline.inline .bf-trial-fields > .form-group {
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-end;
		flex: 1 1 180px !important;
		min-width: 160px !important;
		max-width: 240px !important;
		width: auto !important;
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.form.callbackinline.inline .bf-trial-fields {
		display: contents !important;
	}

	.form.callbackinline.inline .block_lic_btn {
		display: flex !important;
		flex: 1 1 320px !important;
		min-width: 300px !important;
		max-width: none !important;
		margin-top: 0 !important;
		align-items: center !important;
		gap: 16px 18px;
	}

	.form.callbackinline.inline .licence_block {
		flex: 1 1 auto !important;
		max-width: 260px !important;
		align-items: center !important;
	}

	.form.callbackinline.inline .licence_block label {
		font-size: 12px !important;
		line-height: 1.35 !important;
	}

	.form.callbackinline.inline .block_lic_btn .btn {
		flex: 0 0 auto;
		align-self: center;
	}
}

/* CTA panel → popup (2nd / 3rd trial blocks) */
.bf-trial-panel {
	margin: 28px 0;
	background: #f9fbfb;
	border: 1px solid #ecf2f4;
	border-radius: 3px;
	padding: 28px 32px;
}

.bf-trial-panel__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

.bf-trial-panel__copy {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	flex: 1 1 360px;
	min-width: 0;
}

.bf-trial-panel__icon {
	flex: 0 0 42px;
	width: 42px;
	height: 40px;
	margin-top: 2px;
	background: url("bitrix/templates/aspro-medc2/images/svg/Service_icon.svg") 0 0 no-repeat;
	background-size: contain;
}

.bf-trial-panel__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bf-trial-panel__text strong {
	color: #333;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
}

.bf-trial-panel__text span {
	color: #666;
	font-size: 14px;
	line-height: 1.45;
}

.bf-trial-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	flex: 0 0 auto;
}

.bf-trial-panel__actions .btn {
	min-height: 48px !important;
	padding: 0 28px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.bf-trial-panel__actions .btn:hover,
.bf-trial-panel__actions .btn:focus {
	background: #7d6a48 !important;
	border-color: #7d6a48 !important;
	color: #fff !important;
}

@media (max-width: 767px) {
	.bf-trial-panel {
		padding: 22px 18px;
	}

	.bf-trial-panel__actions {
		width: 100%;
	}

	.bf-trial-panel__actions .btn {
		flex: 1 1 auto;
		width: 100%;
	}
}

/* Equal-height CTA buttons if any order-block remains */
.order-block .btns .btn,
.order-block .buttons .btn,
.order-block .btn.btn-lg {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 28px !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	vertical-align: middle;
}

.order-block table,
.order-block tr {
	width: 100%;
}

.order-block td.valign {
	vertical-align: middle !important;
}

.bf-legacy-form .licence_block input[type="checkbox"],
.bf-legacy-form .bf-consent input[type="checkbox"],
.form.callbackinline .licence_block input[type="checkbox"],
.form.inline.callbackinline .licence_block input[type="checkbox"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	flex: 0 0 24px !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	border: 2px solid #958058 !important;
	border-radius: 4px !important;
	background: #fff !important;
	cursor: pointer;
	line-height: 1 !important;
	box-sizing: border-box !important;
}

.bf-legacy-form .licence_block input[type="checkbox"]:checked,
.bf-legacy-form .bf-consent input[type="checkbox"]:checked,
.form.callbackinline .licence_block input[type="checkbox"]:checked {
	background: #958058 !important;
	border-color: #958058 !important;
}

.bf-legacy-form .licence_block input[type="checkbox"]:checked::after,
.bf-legacy-form .bf-consent input[type="checkbox"]:checked::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.bf-legacy-form .biosfera-capture__status {
	flex: 1 1 100%;
	margin-top: 10px;
	font-size: 13px;
	color: #6a635b;
	text-align: center;
}

.bf-legacy-form .biosfera-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

@media (max-width: 767px) {
	/* Homepage service cards: tighter mobile rhythm */
	.sections.item-views.front,
	.item-views.front.sections {
		padding: 36px 0 40px !important;
	}

	.sections.item-views.front .items,
	.item-views.front.sections .items {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.item-views.front.sections .items.row > [class*="col-"],
	.sections.item-views.front .items.row > [class*="col-"] {
		margin-bottom: 12px;
		padding-left: 12px;
		padding-right: 12px;
	}

	.sections.item-views.front .item.shadow1,
	.sections.item-views .item.shadow1 {
		flex-direction: column !important;
		align-items: stretch;
		gap: 0;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 14px !important;
	}

	.sections.item-views.front .item.shadow1 .image,
	.sections.item-views .item.shadow1 .image {
		flex: 0 0 auto !important;
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		aspect-ratio: 16 / 10;
		align-self: stretch;
		border-radius: 13px 13px 0 0;
	}

	.sections.item-views.front .item.shadow1 .info,
	.sections.item-views .item.shadow1 .info {
		padding: 12px 14px 14px !important;
	}

	.sections.item-views.front .item.shadow1 .title,
	.sections.item-views .item.shadow1 .title {
		margin: 0 0 4px !important;
		font-size: 1.05em !important;
	}

	.sections.item-views.front .item.shadow1 .previewtext,
	.sections.item-views .item.shadow1 .previewtext {
		font-size: 13px;
		line-height: 1.45;
	}

	/* Text-only cards (no image) keep compact padding */
	.sections.item-views.front .item.shadow1.wti,
	.sections.item-views .item.shadow1.wti {
		padding: 14px 14px !important;
	}

	.bf-legacy-form .form-body .row .row,
	.bf-legacy-form .bf-trial-fields {
		flex-wrap: wrap !important;
	}

	.bf-legacy-form .form-body .row .row > [class*="col-"],
	.bf-legacy-form .bf-trial-fields > .form-group {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.bf-legacy-form .block_lic_btn,
	.form.callbackinline .block_lic_btn {
		flex-direction: column;
		align-items: stretch;
	}

	.bf-legacy-form .block_lic_btn .btn {
		width: 100%;
	}

	.form.callbackinline.inline,
	.form.inline.callbackinline {
		padding: 28px 20px 32px !important;
	}
}

/* ==========================================================================
   0.7.4 — membership cards (/vidy-kart/)
   ========================================================================== */

.biosfera-membership-page .col-md-3.with-padding-left,
.biosfera-membership-page .ask_a_question_wrapper,
.biosfera-membership-page .fixed_block_fix {
	display: none !important;
}

.biosfera-membership-page .col-md-9 {
	width: 100% !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.biosfera-membership-page #pagetitle {
	margin: 0 0 8px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ecf2f4;
	color: #333;
	font-weight: bold;
}

.biosfera-membership-page .page-top {
	padding-top: 28px;
}

.biosfera-membership {
	margin: 8px 0 56px;
}

.biosfera-membership__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin: 0 0 28px;
	padding: 22px 26px;
	background: linear-gradient(135deg, #f7f6f3 0%, #f0eee8 55%, #ebe6dc 100%);
	border: 1px solid #e8e4dc;
	border-radius: 16px;
}

.biosfera-membership__intro p {
	margin: 0;
	flex: 1 1 280px;
	max-width: 640px;
	color: #55504a;
	font-size: 16px;
	line-height: 1.5;
}

.biosfera-membership__intro .btn {
	flex: 0 0 auto;
	min-height: 46px;
	padding: 11px 28px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
}

.biosfera-membership__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.biosfera-membership__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(42, 37, 32, 0.03);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.biosfera-membership__card:hover {
	border-color: rgba(149, 128, 88, 0.4);
	box-shadow: 0 18px 40px rgba(42, 37, 32, 0.1);
	transform: translateY(-3px);
}

.biosfera-membership__visual {
	margin: 0;
	padding: 18px 18px 0;
	background: linear-gradient(180deg, #f4f2ed 0%, #fff 100%);
	line-height: 0;
}

.biosfera-membership__visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 400 / 311;
	object-fit: contain;
	object-position: center;
	border-radius: 12px;
	background: transparent;
	filter: drop-shadow(0 10px 18px rgba(42, 37, 32, 0.12));
	transition: transform 0.35s ease;
}

.biosfera-membership__card:hover .biosfera-membership__visual img {
	transform: translateY(-2px) scale(1.015);
}

.biosfera-membership__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 22px 22px;
}

.biosfera-membership__head {
	margin: 0 0 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f0eee8;
}

.biosfera-membership__title {
	margin: 0 0 8px !important;
	color: #2a2520 !important;
	font-size: 22px !important;
	line-height: 1.25 !important;
	font-weight: bold !important;
	letter-spacing: 0.01em;
}

.biosfera-membership__card--platinum .biosfera-membership__title { color: #3a3530 !important; }
.biosfera-membership__card--gold .biosfera-membership__title { color: #8a7348 !important; }
.biosfera-membership__card--life .biosfera-membership__title { color: #6f6548 !important; }

.biosfera-membership__hours {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(149, 128, 88, 0.1);
	color: #7a6848;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.biosfera-membership__section {
	margin: 0 0 16px;
}

.biosfera-membership__section h3 {
	margin: 0 0 10px !important;
	color: #958058 !important;
	font-size: 12px !important;
	font-weight: bold !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3 !important;
}

.biosfera-membership__section ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.biosfera-membership__section li {
	position: relative;
	margin: 0 0 8px;
	padding: 0 0 0 22px;
	color: #55504a;
	font-size: 14px;
	line-height: 1.45;
}

.biosfera-membership__section li:last-child {
	margin-bottom: 0;
}

.biosfera-membership__section li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c8b99a;
	box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #c8b99a;
}

.biosfera-membership__section--privileges li::before {
	background: #958058;
	box-shadow: none;
	width: 7px;
	height: 7px;
	top: 0.5em;
}

.biosfera-membership__actions {
	margin-top: auto;
	padding-top: 6px;
}

.biosfera-membership__actions .btn {
	width: 100%;
	min-height: 46px;
	padding: 11px 20px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.biosfera-membership__actions .btn:hover {
	background: #7f6b48 !important;
	border-color: #7f6b48 !important;
}

.biosfera-membership__note {
	margin: 28px 0 0;
	color: #8b8579;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

@media (max-width: 991px) {
	.biosfera-membership__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.biosfera-membership__intro {
		padding: 18px 18px;
	}

	.biosfera-membership__intro .btn {
		width: 100%;
	}

	.biosfera-membership__title {
		font-size: 20px !important;
	}
}

/* ==========================================================================
   0.7.5 — clients archive (/clients/)
   ========================================================================== */

.biosfera-clients-page .page-top {
	padding-top: 28px;
}

.biosfera-clients-page #pagetitle {
	margin: 0 0 8px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ecf2f4;
	color: #333;
	font-weight: bold;
}

.biosfera-clients-page .breadcrumb {
	font-size: 12px;
	color: #8b8579;
	margin-bottom: 14px !important;
}

.biosfera-clients-page .breadcrumb a {
	color: #8b8579;
	text-decoration: none;
}

.biosfera-clients-page .breadcrumb a:hover {
	color: #958058;
}

.biosfera-clients {
	margin: 10px 0 64px;
}

.biosfera-clients__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin: 0 0 28px;
	padding: 22px 26px;
	background: linear-gradient(135deg, #f7f6f3 0%, #f0eee8 55%, #ebe6dc 100%);
	border: 1px solid #e8e4dc;
	border-radius: 16px;
}

.biosfera-clients__intro p {
	margin: 0;
	flex: 1 1 280px;
	max-width: 680px;
	color: #55504a;
	font-size: 16px;
	line-height: 1.5;
}

.biosfera-clients__intro .btn {
	flex: 0 0 auto;
	min-height: 46px;
	padding: 11px 28px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
}

.biosfera-clients__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
}

.biosfera-clients__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 18px;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.biosfera-clients__card:hover {
	border-color: rgba(149, 128, 88, 0.4);
	box-shadow: 0 18px 40px rgba(42, 37, 32, 0.1);
	transform: translateY(-3px);
}

.biosfera-clients__visual {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #ebe6dc;
	line-height: 0;
}

.biosfera-clients__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.45s ease;
}

.biosfera-clients__card:hover .biosfera-clients__visual img {
	transform: scale(1.04);
}

.biosfera-clients__visual-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #958058;
	font-size: 64px;
	font-weight: bold;
	background: linear-gradient(160deg, #f4f2ed, #e6e0d4);
}

.biosfera-clients__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 22px 22px;
}

.biosfera-clients__meta {
	margin: 0 0 10px;
}

.biosfera-clients__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(149, 128, 88, 0.12);
	color: #7a6848;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.biosfera-clients__badge--soft {
	background: #f4f2ed;
	color: #6a635b;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: none;
}

.biosfera-clients__name {
	margin: 0 0 6px !important;
	font-size: 22px !important;
	line-height: 1.25 !important;
	font-weight: bold !important;
	color: #2a2520 !important;
}

.biosfera-clients__name a {
	color: inherit !important;
	text-decoration: none !important;
}

.biosfera-clients__name a:hover {
	color: #958058 !important;
}

.biosfera-clients__role {
	margin: 0 0 12px;
	color: #8b8579;
	font-size: 14px;
	line-height: 1.4;
}

.biosfera-clients__excerpt {
	margin: 0 0 18px;
	color: #55504a;
	font-size: 15px;
	line-height: 1.55;
	flex: 1 1 auto;
}

.biosfera-clients__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: #958058;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.biosfera-clients__more::after {
	content: "→";
	transition: transform 0.2s ease;
}

.biosfera-clients__more:hover {
	color: #7f6b48;
}

.biosfera-clients__more:hover::after {
	transform: translateX(3px);
}

.biosfera-clients__empty {
	padding: 40px 20px;
	text-align: center;
	color: #6a635b;
}

@media (max-width: 991px) {
	.biosfera-clients__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.biosfera-clients__intro {
		padding: 18px;
	}

	.biosfera-clients__intro .btn {
		width: 100%;
	}

	.biosfera-clients__visual {
		aspect-ratio: 5 / 4;
	}

	.biosfera-clients__name {
		font-size: 20px !important;
	}
}

/* ==========================================================================
   0.7.5 — blog archive (/blogs/)
   ========================================================================== */

.biosfera-blog-page .page-top {
	padding-top: 28px;
}

.biosfera-blog-page #pagetitle {
	margin: 0 0 8px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ecf2f4;
	color: #333;
	font-weight: bold;
}

.biosfera-blog-page .breadcrumb {
	font-size: 12px;
	color: #8b8579;
	margin-bottom: 14px !important;
}

.biosfera-blog-page .breadcrumb a {
	color: #8b8579;
	text-decoration: none;
}

.biosfera-blog-page .breadcrumb a:hover {
	color: #958058;
}

.biosfera-blog {
	margin: 10px 0 64px;
}

.biosfera-blog__intro {
	margin: 0 0 24px;
}

.biosfera-blog__intro p {
	margin: 0;
	color: #55504a;
	font-size: 16px;
	line-height: 1.5;
	max-width: 640px;
}

.biosfera-blog__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.biosfera-blog__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 18px;
	overflow: hidden;
	margin: 0;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.biosfera-blog__card:hover {
	border-color: rgba(149, 128, 88, 0.4);
	box-shadow: 0 18px 40px rgba(42, 37, 32, 0.1);
	transform: translateY(-3px);
}

.biosfera-blog__visual {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #ebe6dc;
	line-height: 0;
}

.biosfera-blog__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.45s ease;
}

.biosfera-blog__card:hover .biosfera-blog__visual img {
	transform: scale(1.04);
}

.biosfera-blog__visual-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #f4f2ed, #e6e0d4);
}

.biosfera-blog__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}

.biosfera-blog__date {
	margin: 0 0 8px;
	color: #8b8579;
	font-size: 12px;
	letter-spacing: 0.04em;
}

.biosfera-blog__title {
	margin: 0 0 10px !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	font-weight: bold !important;
	color: #2a2520 !important;
}

.biosfera-blog__title a {
	color: inherit !important;
	text-decoration: none !important;
}

.biosfera-blog__title a:hover {
	color: #958058 !important;
}

.biosfera-blog__excerpt {
	margin: 0 0 16px;
	color: #55504a;
	font-size: 14px;
	line-height: 1.5;
	flex: 1 1 auto;
}

.biosfera-blog__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: #958058;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.biosfera-blog__more::after {
	content: "→";
	transition: transform 0.2s ease;
}

.biosfera-blog__more:hover {
	color: #7f6b48;
}

.biosfera-blog__more:hover::after {
	transform: translateX(3px);
}

.biosfera-blog__nav {
	margin-top: 32px;
}

.biosfera-blog__nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.biosfera-blog__nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e8e4dc;
	border-radius: 999px;
	color: #55504a;
	text-decoration: none;
	background: #fff;
}

.biosfera-blog__nav .page-numbers.current,
.biosfera-blog__nav a.page-numbers:hover {
	border-color: #958058;
	color: #958058;
}

.biosfera-blog__empty {
	padding: 40px 20px;
	text-align: center;
	color: #6a635b;
}

@media (max-width: 991px) {
	.biosfera-blog__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   0.7.6 — trainer profile (/komanda/.../person/)
   ========================================================================== */

.biosfera-trainer-page .page-top {
	padding-top: 28px;
}

.biosfera-trainer-page #pagetitle {
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid #ecf2f4;
	color: #333;
	font-weight: bold;
}

.biosfera-trainer-page .breadcrumb {
	font-size: 12px;
	color: #8b8579;
	margin-bottom: 14px !important;
}

.biosfera-trainer-page .breadcrumb a {
	color: #8b8579;
	text-decoration: none;
}

.biosfera-trainer-page .breadcrumb a:hover {
	color: #958058;
}

.biosfera-trainer-layout {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 22px 0 64px;
}

.biosfera-trainer-aside {
	order: 2;
}

.biosfera-trainer-content {
	order: 1;
	min-width: 0;
}

@media (min-width: 992px) {
	.biosfera-trainer-layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 30px;
	}

	.biosfera-trainer-aside {
		order: -1;
		flex: 0 0 260px;
		max-width: 260px;
		position: sticky;
		top: 92px;
	}

	.biosfera-trainer-content {
		flex: 1 1 auto;
	}
}

.biosfera-trainer-nav {
	background: #fff;
	border: 1px solid #ecf2f4;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 14px;
}

.biosfera-trainer-nav ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 4px 0 !important;
}

.biosfera-trainer-nav li {
	border-bottom: 1px solid #eef2f3;
}

.biosfera-trainer-nav li:last-child {
	border-bottom: 0;
}

.biosfera-trainer-nav a {
	display: block;
	padding: 13px 18px;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.biosfera-trainer-nav a:hover {
	background: #f7f6f3;
	color: #333;
}

.biosfera-trainer-nav li.is-active a {
	background: #f7f6f3;
	box-shadow: inset 3px 0 0 #958058;
}

.biosfera-trainer-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #8b8579;
	font-size: 13px;
	text-decoration: none;
}

.biosfera-trainer-back:hover {
	color: #958058;
}

.biosfera-trainer {
	background: #fff;
	border: 1px solid #eef1f2;
	border-radius: 18px;
	overflow: hidden;
	padding: 28px;
}

.biosfera-trainer__hero {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
	gap: 28px 32px;
	align-items: start;
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid #f0eee8;
}

.biosfera-trainer__photo {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #ebe6dc;
	aspect-ratio: 4 / 5;
	line-height: 0;
}

.biosfera-trainer__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.biosfera-trainer__photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #958058;
	font-size: 72px;
	font-weight: bold;
	background: linear-gradient(160deg, #f4f2ed, #e6e0d4);
}

.biosfera-trainer__info {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	padding-top: 4px;
}

.biosfera-trainer__role {
	margin: 0;
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(149, 128, 88, 0.12);
	color: #7a6848;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.biosfera-trainer__props {
	margin: 0;
	display: grid;
	gap: 14px;
}

.biosfera-trainer__props dt {
	margin: 0 0 2px;
	color: #8b8579;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.biosfera-trainer__props dd {
	margin: 0;
	color: #2a2520;
	font-size: 16px;
	line-height: 1.4;
}

.biosfera-trainer__cta {
	margin-top: auto;
	padding-top: 8px;
}

.biosfera-trainer__cta .btn {
	min-height: 48px;
	padding: 12px 28px !important;
	border-radius: 24px !important;
	background: #958058 !important;
	border-color: #958058 !important;
	color: #fff !important;
}

.biosfera-trainer__cta p {
	margin: 12px 0 0;
	color: #8b8579;
	font-size: 13px;
	line-height: 1.4;
}

.biosfera-trainer__bio h2 {
	margin: 0 0 14px !important;
	color: #958058 !important;
	font-size: 12px !important;
	font-weight: bold !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3 !important;
}

.biosfera-trainer__text {
	color: #55504a;
	font-size: 15px;
	line-height: 1.65;
}

.biosfera-trainer__text p {
	margin: 0 0 12px;
}

.biosfera-trainer__text p:last-child {
	margin-bottom: 0;
}

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

	.biosfera-trainer__hero {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-bottom: 22px;
		margin-bottom: 22px;
	}

	.biosfera-trainer__photo {
		max-width: 280px;
		margin: 0 auto;
	}

	.biosfera-trainer__cta .btn {
		width: 100%;
	}

	.biosfera-trainer-aside {
		padding-top: 8px;
		border-top: 1px solid #ecf2f4;
	}
}

/* --- Services hub (/services/) --- */
.biosfera-services-list .text_before_items {
	margin: 0 0 18px;
}

.biosfera-services-list .text_before_items h3 {
	margin: 0 0 4px;
	font-size: 1.35em;
	font-weight: bold;
	color: #333;
}

.biosfera-services-list .item-views.list .items.row > [class*="col-"] {
	margin-bottom: 14px;
}

.biosfera-services-list .item_wrap.shadow1.item-border {
	overflow: hidden;
	background: #fff;
}

.biosfera-services-list .item_wrap .item.clearfix {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 22px;
	padding: 20px 22px !important;
	margin: 0 !important;
	float: none !important;
}

.biosfera-services-list .item_wrap .item .image {
	float: none !important;
	position: relative !important;
	flex: 0 0 240px;
	width: 240px !important;
	height: 150px !important;
	max-height: none !important;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 12px;
	background: #f5f5f3;
	align-self: stretch;
}

.biosfera-services-list .item_wrap .item .image > .wrap {
	position: absolute !important;
	inset: 0;
}

.biosfera-services-list .item_wrap .item .image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.biosfera-services-list .item_wrap:hover .item .image img {
	transform: scale(1.04);
}

.biosfera-services-list .item_wrap .item .info {
	float: none !important;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
}

.biosfera-services-list .item_wrap .item .title {
	margin: 0 0 8px !important;
}

.biosfera-services-list .item_wrap .item .title a {
	font-size: 1.15em;
	font-weight: bold;
	color: #333 !important;
	text-decoration: none;
}

.biosfera-services-list .item_wrap .item .previewtext {
	margin: 0 !important;
	color: #6a635b;
	font-size: 14px;
	line-height: 1.55;
}

.biosfera-services-list .item_wrap .item > .btn.arrow {
	display: none !important;
}

.biosfera-services-list .biosfera-seo-intro {
	margin: 40px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid #ecf2f4;
	clear: both;
}

.biosfera-services-list .biosfera-seo-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 28px;
	align-items: stretch;
}

.biosfera-services-list .biosfera-seo-intro__copy > p:first-child {
	margin: 0 0 16px !important;
	font-size: 15px;
	line-height: 1.65;
	color: #444;
}

.biosfera-services-list .biosfera-seo-geo {
	margin: 0 !important;
}

.biosfera-services-list .biosfera-seo-intro__photo {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #f5f5f3;
	min-height: 180px;
}

.biosfera-services-list .biosfera-seo-intro__photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	object-position: center;
}

.biosfera-services-list .biosfera-faq {
	margin: 36px 0 24px;
	padding-top: 8px;
}

.biosfera-services-list .biosfera-faq > h2 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	font-size: 1.3em;
}

.biosfera-services-list .biosfera-faq__item {
	border-bottom: 1px solid #e8ecee;
}

.biosfera-services-list .biosfera-faq__q,
.biosfera-services-list .biosfera-faq__item > summary {
	padding: 16px 0;
	font-size: 16px;
	line-height: 1.4;
}

.biosfera-services-list .biosfera-faq__a {
	padding: 0 36px 18px 0;
}

.biosfera-services-list .biosfera-faq__a p {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

@media (max-width: 991px) {
	.biosfera-services-list .biosfera-seo-intro__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.biosfera-services-list .biosfera-seo-intro__photo,
	.biosfera-services-list .biosfera-seo-intro__photo img {
		min-height: 160px;
		max-height: 220px;
	}
}

@media (max-width: 767px) {
	.biosfera-services-list .item_wrap .item.clearfix {
		flex-direction: column !important;
		align-items: stretch;
		gap: 0;
		padding: 0 !important;
	}

	.biosfera-services-list .item_wrap .item .image {
		flex: 0 0 auto;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 16 / 10;
		border-radius: 15px 15px 0 0;
	}

	.biosfera-services-list .item_wrap .item .info {
		padding: 14px 16px 16px !important;
	}

	.biosfera-services-list .biosfera-seo-intro {
		margin-top: 28px;
		padding-top: 22px;
	}

	.biosfera-services-list .biosfera-faq {
		margin-top: 28px;
	}

	.biosfera-services-list .biosfera-faq__q,
	.biosfera-services-list .biosfera-faq__item > summary {
		padding: 14px 0;
		font-size: 15px;
	}
}
