/* Шапка: закреплённая стеклянная панель.
   Фирменный цвет – var(--bs-primary) из assets/db/.template.php, шрифт один на сайт (тема).
   Селекторы меню – под разметку $core->menu(): ul > li.parent > ul.
   Стрелки/иконки – Font Awesome (подключён глобально), своих картинок нет. */

.header-1 {
	--bar-h: 76px;
	--bar-h-sm: 60px;
	--bar-top: .75rem;                 /* отступ плашки от верха */
	--bar-side: 1rem;                  /* минимальный отступ от краёв на узких экранах */
	--bar-max: calc(1320px + 100px);   /* сетка темы + по 50px с каждой стороны */
	--bar-radius: 18px;
	--glass: rgba(255, 255, 255, .72);
	--glass-stuck: rgba(255, 255, 255, .88);
	--edge: rgba(255, 255, 255, .55);
	position: relative;
	z-index: 1030;
}
.header-1 .preload * {transition: none !important;}

/* Плавающая плашка: не во всю ширину, а островом. Шире сетки на 50px с каждой стороны,
   поэтому контент внутри (.container темы) остаётся выровненным по общей сетке страницы. */
.header-1 .header-bar {
	position: fixed; z-index: 1030;
	top: var(--bar-top); left: var(--bar-side); right: var(--bar-side);
	margin-inline: auto; max-width: var(--bar-max);
	background: var(--glass);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid var(--edge);
	border-radius: var(--bar-radius);
	box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
	transition: background .35s ease, box-shadow .35s ease, top .35s cubic-bezier(.19, 1, .22, 1);
}
/* Без backdrop-filter стекло превратится в прозрачную дырку – отдаём плотный фон. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.header-1 .header-bar {background: rgba(255, 255, 255, .97);}
}
.header-1 .header-bar.is-stuck {top: .375rem; background: var(--glass-stuck); box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .14);}

.header-1 .header-inner {
	height: var(--bar-h);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	transition: height .35s cubic-bezier(.19, 1, .22, 1);
}
.header-1 .header-bar.is-stuck .header-inner {height: var(--bar-h-sm);}

/* Компенсация высоты: панель выпала из потока, крошки идут под ней в обычном потоке. */
.header-1 .header-spacer {height: calc(var(--bar-h) + var(--bar-top) * 2);}

.header-1 .header-logo {position: relative; z-index: 1020; display: inline-flex; align-items: center; padding-right: 1.5rem;}
.header-1 .header-logo img {max-width: 190px; height: auto; transition: transform .35s cubic-bezier(.19, 1, .22, 1), opacity .25s;}
.header-1 .header-bar.is-stuck .header-logo img {transform: scale(.85);}
@media (hover: hover) and (pointer: fine) {
	.header-1 .header-logo:hover img {opacity: .75;}
}

/* Бургер */
.header-1 .header-toggle {position: relative; z-index: 1020; width: 3rem; height: 3rem; padding: 1rem; cursor: pointer;}
.header-1 .header-toggle > span,
.header-1 .header-toggle::before,
.header-1 .header-toggle::after {display: block; backface-visibility: hidden; width: 1.5rem; height: .125rem; background: var(--bs-body-color); position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; transition: .4s cubic-bezier(.19, 1, .22, 1);}
.header-1 .header-toggle::before {content: ''; top: 20%;}
.header-1 .header-toggle::after {content: ''; top: 80%;}
.header-1 .header-checkbox:checked ~ .header-toggle::before {top: 50%; transform: translate(-50%, -50%) rotateZ(135deg);}
.header-1 .header-checkbox:checked ~ .header-toggle::after {top: 50%; transform: translate(-50%, -50%) rotateZ(-135deg);}
.header-1 .header-checkbox:checked ~ .header-toggle > span {transform: translate(-50%, -50%) rotateY(90deg); opacity: 0;}

/* Мобильная выпадающая панель */
.header-1 .header-toolbar {
	position: fixed; z-index: 1000;
	top: var(--bar-top); left: var(--bar-side); right: var(--bar-side);
	margin-inline: auto; max-width: var(--bar-max);
	border-radius: var(--bar-radius); border: 1px solid var(--edge);
	max-height: calc(100dvh - var(--bar-top) * 2); overflow-y: auto;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	transform: translateY(-100%); opacity: 0; visibility: hidden;
	transition: transform .45s cubic-bezier(.19, 1, .22, 1), opacity .35s ease, visibility .45s;
	padding: calc(var(--bar-h) + 1rem) 1.5rem 2rem;
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12);
}
.header-1 .header-checkbox:checked ~ .header-toolbar {transform: translateY(0); opacity: 1; visibility: visible;}

/* Контакты */
.header-1 .header-contacts {gap: .75rem;}
.header-1 .header-city,
.header-1 .header-tel {display: inline-flex; align-items: center; gap: .45rem; margin: 0; white-space: nowrap; color: var(--bs-body-color); text-decoration: none;}
.header-1 .header-city {background: none; border: 0; padding: .25rem .5rem; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s;}
.header-1 .header-city > span {display: inline-block; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;}
.header-1 .header-city .cities-caret {font-size: .7em; opacity: .5; color: inherit; transition: transform .2s;}
@media (hover: hover) and (pointer: fine) {
	.header-1 .header-city:hover {background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary);}
	.header-1 .header-city:hover .cities-caret {transform: translateY(2px);}
}
.header-1 .header-city i,
.header-1 .header-tel i {color: var(--bs-primary); font-size: .875em;}
.header-1 .header-tel {font-weight: 700; transition: color .25s;}
@media (hover: hover) and (pointer: fine) {
	.header-1 .header-tel:hover {color: var(--bs-primary);}
}

/* CTA шапки: подъём и блик переехали в assets/css/custom.css на .btn-primary —
   теперь это общесайтовое поведение всех фирменных кнопок, класса .header-cta больше нет.
   Раскладка иконка+текст держится утилитами Bootstrap прямо в template.php. */

/* Меню */
.header-1 .header-nav ul {list-style: none; display: flex; flex-direction: column; margin: 0; padding: 0;}
.header-1 .header-nav li {position: relative;}
.header-1 .header-nav a {display: block; padding: .625rem .1rem; color: var(--bs-body-color); text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .06); transition: color .25s;}
.header-1 .header-nav li.parent > ul {display: none;}
.header-1 .header-nav li.parent.open > ul {display: block;}
.header-1 .header-nav .accordion-toggle {position: absolute; top: .2rem; right: 0; width: 2.25rem; height: 2.25rem; padding: 0; border: none; border-radius: 8px; background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); display: flex; align-items: center; justify-content: center; transition: transform .3s;}
.header-1 .header-nav li.open > .accordion-toggle {transform: rotateZ(180deg);}

@media (min-width: 1200px) {
	.header-1 .header-toolbar {position: static; border: 0; border-radius: 0; box-shadow: none; max-width: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; opacity: 1; visibility: visible; overflow: visible; max-height: none; flex: auto; padding: 0;}
	.header-1 .header-nav > ul {flex-direction: row;}
	.header-1 .header-nav a {border: none;}
	.header-1 .header-nav li.parent > a {padding-right: 1.3rem;}
	.header-1 .header-nav .accordion-toggle {display: none;}

	/* подчёркивание растёт от центра */
	.header-1 .header-nav > ul > li > a::before {content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: var(--bs-primary); transform: scaleX(0); transition: transform .3s cubic-bezier(.19, 1, .22, 1);}
	.header-1 .header-nav > ul > li:hover > a::before,
	.header-1 .header-nav > ul > li.active > a::before {transform: scaleX(1);}
	.header-1 .header-nav > ul > li:hover > a,
	.header-1 .header-nav > ul > li.active > a {color: var(--bs-primary);}

	/* выпадашки: анимируем opacity/transform, поэтому display оставляем block */
	.header-1 .header-nav li.parent > ul,
	.header-1 .header-nav li.parent.open > ul {display: block;}
	.header-1 .header-nav li ul {
		position: absolute; z-index: 1000; white-space: nowrap; padding: .5rem; min-width: 100%;
		border-radius: 12px; border: 1px solid var(--edge);
		background: rgba(255, 255, 255, .9);
		backdrop-filter: blur(16px) saturate(180%);
		-webkit-backdrop-filter: blur(16px) saturate(180%);
		box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12);
		opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
		transition: opacity .28s ease, transform .28s cubic-bezier(.19, 1, .22, 1), visibility .28s;
	}
	.header-1 .header-nav > ul > li > ul {top: 100%; left: 0;}
	.header-1 .header-nav li li ul {top: -.5rem; left: 100%; margin-left: .25rem;}
	/* мостик: без него .25rem зазора до подменю гасят :hover при переводе курсора */
	.header-1 .header-nav li li ul::before {content: ''; position: absolute; top: 0; left: -.25rem; width: .25rem; height: 100%;}
	.header-1 .header-nav li.parent:hover > ul,
	.header-1 .header-nav li.parent:focus-within > ul {opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);}
	.header-1 .header-nav li ul a {border-radius: 8px; padding: .5rem .75rem;}
	.header-1 .header-nav li ul a:hover {background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary);}

	.header-1 .header-nav li.parent > a {padding-right: 1.75rem;}
	.header-1 .header-nav li.parent > a::after {content: '\f107'; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); transition: transform .3s;}
	.header-1 .header-nav li.parent:hover > a::after {transform: translateY(-50%) rotateZ(180deg);}
	.header-1 .header-nav li li.parent > a::after {content: '\f105'; transform: translateY(-50%);}
	.header-1 .header-nav li li.parent:hover > a::after {transform: translateY(-50%) translateX(3px);}
}

@media (min-width: 1400px) {
	.header-1 .header-nav a {padding: .625rem 1rem;}
}

/* Попап выбора города: список грузится AJAX-ом (см. template.js + controllers/custom/cities_get.php) */
.cities-list {display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .25rem;}
.cities-item {display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--bs-body-color); text-decoration: none; transition: background .2s, color .2s;}
.cities-item:hover {background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary);}
.cities-item.is-active {background: var(--bs-primary); color: var(--bs-primary-text); font-weight: 700;}
#cities .modal-dialog {max-width: 56rem;}

/* Крошки: в потоке, под панелью */
.header-1 .breadcrumbs {padding: 1rem 0 .25rem;}
.header-1 .breadcrumbs .breadcrumb {margin: 0; flex-wrap: wrap;}
.header-1 .breadcrumbs a {color: var(--bs-secondary-color); text-decoration: none; transition: color .2s;}
.header-1 .breadcrumbs a:hover {color: var(--bs-primary);}
.header-1 .breadcrumbs .breadcrumb-item.active a {color: var(--bs-body-color); pointer-events: none;}

/* Пункты меню без своей страницы (href="#").
   Родитель-категория (li.parent) — приглушённый, но кликабельный (раскрывает подменю).
   Лист без ссылки (li без .parent) — серый, некликабельный, с бейджем «скоро» (как в services-map-1). */
.header-1 .header-nav li.parent > a[href="#"] {color: var(--bs-secondary-color);}
.header-1 .header-nav li:not(.parent) > a[href="#"] {color: var(--bs-secondary-color); opacity: .75; pointer-events: none; cursor: default;}
.header-1 .header-nav li:not(.parent) > a[href="#"]::after {
	content: "скоро";
	display: inline-block;
	margin-left: .4rem;
	padding: .05rem .4rem;
	font-size: .7em;
	line-height: 1.4;
	border-radius: .5rem;
	background: rgba(var(--bs-primary-rgb), .08);
	color: var(--bs-primary);
	vertical-align: middle;
	opacity: .9;
}

@media (prefers-reduced-motion: reduce) {
	.header-1 *, .header-1 *::before, .header-1 *::after {transition: none !important; animation: none !important;}
}




.title-13 {
	position: relative;
	padding-top: 0;
	padding-bottom: 0;
	min-height: calc(100vh + 125px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-height: 850px) {
	.title-13 {min-height: calc(100vh - 75px);}
}

@media (min-height: 1080px) {
	.title-13 {min-height: 1080px;}
}

.title-13 > .container-fluid {
	padding-left: 0;
	padding-right: 0;
	max-width: 1980px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.title-13 .h-md-100 {height: 100% !important;}
}

.title-13 .skew {position: relative; overflow: hidden;}
.title-13 .skew-background {height: 100%; overflow-x: hidden;}
.title-13 .skew-background-external {position: absolute; transform: translateX(-50%); left: 50%; bottom: 0; top: 25px;}

@media (min-width: 768px) {
	.title-13 .skew-content {float: right; width: 100%; max-width: calc(660px - var(--bs-gutter-x)); height: 100%;}

	.title-13 .skew-background {border: solid var(--bs-primary); border-width: 0 0 0 24px; transform-origin: 50% 100% 0; transform: skewX(-20deg);}
	.title-13 .skew-background-internal {position: absolute; top: 0; bottom: 0; left: 50%; width: 100%; overflow: hidden; transform-origin: 50% 100% 0; transform: skewX(20deg) translateX(-50%); z-index: -1;}
	.title-13 .skew-background-external {transform: none; left: 0; top: 100px;}
}

@media (max-height: 850px) {
	.title-13 .skew-background-external {top: 20px;}
}


.team-2 .team-card {
	background: var(--bs-body-bg);
	border: 1px solid rgba(var(--bs-primary-rgb), .10);
	border-radius: 1rem;
	box-shadow: 0 .35rem 1.25rem rgba(0, 0, 0, .05);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.team-2 .team-media {
	position: relative;
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(160deg, rgba(var(--bs-primary-rgb), .06), rgba(var(--bs-primary-rgb), .18));
}

.team-2 .team-img {
	max-width: 92%;
	max-height: 98%;
	object-fit: contain;
	filter: drop-shadow(0 .5rem .75rem rgba(0, 0, 0, .18));
	transition: transform .5s ease;
}

.team-2 .team-role {
	position: absolute;
	left: 50%;
	bottom: .85rem;
	transform: translateX(-50%);
	max-width: calc(100% - 1.5rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background: var(--bs-primary);
	padding: .3rem .9rem;
	border-radius: 2rem;
	box-shadow: 0 .25rem .75rem rgba(var(--bs-primary-rgb), .35);
}

.team-2 .team-info {
	padding: 1.75rem 1rem 1.25rem;
}

.team-2 .team-name {
	margin-bottom: .35rem;
}

/* Раскрываемая цитата – накрывает всю карточку */
.team-2 .team-quote {
	position: absolute;
	inset: 0;
	padding: 1.6rem 1.35rem;
	overflow-y: auto;
	background: linear-gradient(160deg, var(--bs-primary), var(--bs-primary-hover));
	opacity: 0;
	visibility: hidden;
	transform: translateY(1.5rem);
	transition: opacity .4s ease, transform .4s ease, visibility .4s;
}

.team-2 .team-quote-ico {
	margin-bottom: .75rem;
	opacity: .55;
}

.team-2 .team-quote-foot {
	padding-top: .75rem;
	border-top: 1px solid rgba(255, 255, 255, .25);
}

@media (hover: hover) and (pointer: fine) {
	.team-2 .team-card:hover {
		transform: translateY(-.35rem);
		box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12);
		border-color: rgba(var(--bs-primary-rgb), .25);
	}

	.team-2 .team-card:hover .team-img {
		transform: scale(1.04);
	}

	.team-2 .team-card:hover .team-quote {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}


.module.team-2 {padding:48px 0;}



.title-7 .logos-strip {background: var(--bs-light); margin-left: calc(var(--bs-gutter-x) * -.5); margin-right: calc(var(--bs-gutter-x) * -.5);}

.title-7 .logos-inner {max-width: 1320px; margin-left: auto; margin-right: auto;}

.title-7 .title-logo {width: 250px; height: 200px; display: flex; align-items: center; justify-content: center;}
.title-7 .title-logo img {width: auto; height: auto; max-width: 100%; max-height: 72px;}

.title-7 .logos-title {margin: 100px 0 -60px 0;}



.o-nas-1 {
	--onas-line: rgba(255, 255, 255, .12);
	--onas-soft: rgba(255, 255, 255, .82);
	position: relative;
	overflow: hidden;
}

/* --- Слайд: текст --- */
.o-nas-1 .onas-total { color: var(--onas-soft); }

.o-nas-1 .onas-list { color: var(--onas-soft); }
.o-nas-1 .onas-list ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.o-nas-1 .onas-list li {
	position: relative;
	padding-left: 1.9rem;
}
.o-nas-1 .onas-list li::before {
	content: "\f00c";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: .1rem;
	color: var(--bs-primary);
}
.o-nas-1 .onas-list p { margin: 0 0 .85rem; }
.o-nas-1 .onas-list p:last-child { margin-bottom: 0; }

/* --- Слайд: картинка --- */
.o-nas-1 .onas-media {
	position: relative;
	border-radius: 1.25rem;
	overflow: hidden;
	border: 1px solid var(--onas-line);
	box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .4);
}
.o-nas-1 .onas-media::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 1rem;
	width: 2.5rem;
	height: .35rem;
	border-radius: 2rem;
	background: var(--bs-primary);
	z-index: 2;
}
.o-nas-1 .onas-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .32) 100%);
	pointer-events: none;
}
.o-nas-1 .onas-media img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Навигация owl (точки) под тёмную тему --- */
.o-nas-1 .owl-slide .owl-dots {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
	gap: .5rem;
}
.o-nas-1 .owl-slide .owl-dot span {
	width: .6rem;
	height: .6rem;
	margin: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	transition: background .2s ease, width .2s ease;
}
.o-nas-1 .owl-slide .owl-dot.active span {
	width: 1.8rem;
	border-radius: 1rem;
	background: var(--bs-primary);
}
@media (hover: hover) and (pointer: fine) {
	.o-nas-1 .owl-slide .owl-dot:hover span { background: rgba(255, 255, 255, .5); }
}

@media (max-width: 767.98px) {
	.o-nas-1 .onas-media { border-radius: 1rem; }
	.o-nas-1 .owl-slide .owl-dots { margin-top: 1.75rem; }
}


.module.o-nas-1 {padding:80px 0;}


.we-published-1 {position: relative; margin: 5rem 0; padding: 5rem 0;}

.we-published-1::before {background: url('/assets/images/pages/kontekstnaya-reklama/we-published-1/029.svg') center no-repeat !important; background-size: 100% 100% !important;}
.we-published-1 .image img {max-width: 100%;}

@media screen and (min-width: 992px) {
	.we-published-1 {margin: 10rem 0 5rem; padding: 0 0 5rem;}
	.we-published-1 .publish {height: 34rem; padding: 5rem 0;}
	.we-published-1 .h1 {position: relative; top: -75px}
	.we-published-1 .image img {transition: .3s; max-width: none; position: absolute;}
	.we-published-1 .image:first-child img {z-index: 1; right: -33%; top: -18%; transform: rotate(6deg);}
	.we-published-1 .image:nth-child(2) img {z-index: 2; right: -40%; top: 5%; transform: rotate(-8deg);}
	.we-published-1 .image:nth-child(3) img {z-index: 4; top: 47%; right: -46%; transform: rotate(-3deg);}
	.we-published-1 .image:last-child img {z-index: 3; right: -85%; top: -13%; transform: rotate(10deg);}
	.we-published-1 .decor .obj1 {content: ''; z-index: 5; bottom: -25%; left: -30%; width: 26rem; height: 26.6rem; position: absolute; background: url('/assets/images/pages/kontekstnaya-reklama/we-published-1/005.png') no-repeat;}
	.we-published-1 .decor .obj2 {content: ''; z-index: 5; top: -3%; right: 22%; width: 13rem; height: 12rem; position: absolute; background: url('/assets/images/pages/kontekstnaya-reklama/we-published-1/006.png') no-repeat;}
	.we-published-1 .image img:hover {transform: rotate(0); transform: scale(1.2); z-index: 10;}
	.we-published-1 .btn {z-index: 10; position: relative;}
}

.we-published-1 .accent {color: var(--bs-primary);}


/* Отзывы — официальный виджет Яндекс.Карт во вкладках. reviews-2 -> имя папки инстанса. */

/* вкладки филиалов */
.reviews-2 .yx-tabs {gap: .5rem; border: 0; flex-wrap: wrap;}
.reviews-2 .yx-tab {
	border: 1px solid rgba(var(--bs-primary-rgb), .3);
	background: transparent;
	color: var(--bs-body-color);
	border-radius: 2rem;
	padding: .5rem 1.35rem;
	line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s;
}
.reviews-2 .yx-tab:hover {border-color: var(--bs-primary); color: var(--bs-primary);}
.reviews-2 .yx-tab.active {background: var(--bs-primary); border-color: var(--bs-primary); color: var(--bs-primary-text);}
.reviews-2 .yx-tab i {color: inherit;}
.reviews-2 .yx-soon {margin-top: -.25rem;}

/* карточка виджета */
.reviews-2 .yx-widget {max-width: 720px; margin: 0 auto; text-align: center;}
.reviews-2 .yx-frame {
	width: 100%;
	height: 620px;
	border: 1px solid rgba(11, 11, 18, .12);
	border-radius: 1.1rem;
	box-sizing: border-box;
	display: block;
	background: var(--bs-body-bg);
	box-shadow: 0 .5rem 1.75rem rgba(11, 11, 18, .06);
}
.reviews-2 .yx-all {
	display: inline-flex;
	align-items: center;
	margin-top: 1rem;
	color: var(--bs-secondary-color);
	text-decoration: none;
	transition: color .2s;
}
.reviews-2 .module-background.image {background-size: 100% 100% !important; background-position: center !important; opacity: .1;}
.module.reviews-2 {padding-bottom: 50px !important;}
.reviews-2 .yx-all:hover {color: var(--bs-primary);}

@media (max-width: 575.98px) {
	.reviews-2 .yx-frame {height: 540px;}
}


.module.reviews-2 {padding:100px 0;}



.article-1 {padding: 5rem 0;}

.article-1 .article-body {height: 400px; overflow: hidden; position: relative; max-width: 1320px;}

.article-1 .article-body::after {
	content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 200px;
	background: linear-gradient(to top, var(--bs-body-bg), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.article-1 .article-checkbox:checked ~ .article-schema .article-body {height: auto;}
.article-1 .article-checkbox:checked ~ .article-schema .article-body::after {background: none;}

/* Чекбокс убираем с экрана, но оставляем в фокусируемом потоке – кнопка работает с клавиатуры. */
.article-1 .article-checkbox {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.article-1 .article-checkbox:focus-visible + .article-label {
	box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.article-1 .label-less {display: none;}
.article-1 .article-checkbox:checked + .article-label .label-more {display: none;}
.article-1 .article-checkbox:checked + .article-label .label-less {display: inline;}

.article-1 .article-body .body,
.article-1 .article-body {line-height: 1.5;}
.article-1 .article-body p {margin-bottom: 1rem;}
.article-1 .article-body h2 {margin-bottom: 1.5rem;}

.article-1 .article-body th,
.article-1 .article-body td {border: 1px solid #000; padding: 8px; text-align: left;}

.article-1 .article-body img {max-width: 100%; height: auto;}

@media (prefers-reduced-motion: reduce) {
	.article-1 * {animation: none !important; transition: none !important;}
}




.form-1 .form-card {background: #fff;}

.form-1 .form-aside {
	justify-content: center;
	background: var(--bs-primary);
	padding: 2.5rem 2rem;
}
.form-1 .form-aside .title {line-height: 1.15;}
.form-1 .form-aside .offer {opacity: .9;}

.form-1 .trust-list {display: flex; flex-direction: column; gap: 1rem;}
.form-1 .trust-item {display: flex; align-items: center; gap: .85rem;}
.form-1 .trust-ico {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 50%;
	background: rgba(255, 255, 255, .18);
}

.form-1 .form-panel {padding: 2.5rem 2rem; background: #fff;}

.form-1 .form-consent {color: var(--bs-secondary-color);}
.form-1 .form-consent a {color: inherit; font-weight: 500; text-decoration: underline;}

.form-1 .send_form {display: flex; flex-direction: column;}
.form-1 .send_form .btn {width: auto !important; align-self: stretch; padding-left: 1.5rem; padding-right: 1.5rem;}

@media (min-width: 576px) {
	.form-1 .send_form .btn {align-self: flex-start;}
}

@media (max-width: 991.98px) {
	.form-1 .form-aside {padding: 2rem 1.5rem;}
	.form-1 .form-panel {padding: 2rem 1.5rem;}
}


.module.form-1 {padding:48px 0;}

/* Подвал. Перенос css/_footer.scss + части _components.scss (#scroll-to-top) Zerro v0.1.
   $body-color -> var(--bs-body-color), $danger -> var(--bs-primary), $zindex-fixed -> 1030.
   Фон подвала (var(--bs-light) у донора, .bg-color-light) задаётся не тут, а в .data.php
   -> design.color: движок сам рисует .module-background. Иконка стрелки — Font Awesome
   вместо /images/tmpl/icon/arrow.svg. */

.footer-1 {padding: 3rem 0; position: relative;}
.footer-1 address {font-style: normal; margin: 0;}
.footer-1 a {color: var(--bs-body-color);}
.footer-1 a:hover {color: var(--bs-primary);}
.footer-1 .footer-tel {font-weight: 700;}

.footer-1 ul {display: block; list-style: none; margin: 0; padding: 0;}
.footer-1 ul li {display: block; margin: 0; padding: 0;}
.footer-1 ul li a {display: block; margin: 0; padding: .25rem 0;}
.footer-1 .footer-system ul li a {padding: .1rem 0;}

.footer-1 .btn-outline-primary {color: var(--bs-primary);}
.footer-1 .btn-outline-primary:hover {color: var(--bs-primary-text);}

.footer-1 .scroll-to-top {position: fixed; z-index: 1030; left: 2em; bottom: 2em; width: 2.5rem; height: 2.5rem; font-size: .7rem; display: flex; justify-content: center; align-items: center; border: none; border-radius: .25rem; opacity: 0; pointer-events: none; transition: .5s; background: rgba(0, 0, 0, .2); color: #fff;}
.footer-1 .scroll-to-top.active {opacity: 1; pointer-events: auto;}
.footer-1 .scroll-to-top:hover {background: rgba(0, 0, 0, .3);}

@media (min-width: 576px) {
	.footer-1 .scroll-to-top {font-size: .85rem;}
}
@media (min-width: 768px) {
	.footer-1 .scroll-to-top {font-size: 1rem;}
}


