/* ==========================================================================
   Бертолини.рф — дополнительный слой оформления
   Подключается в catalog/view/theme/luxshop/template/common/header.twig
   Версия статики задаётся параметром ?v= в ссылке (nginx кэширует на 10 лет)
   ========================================================================== */

:root {
	--bt-accent: #00a8e8;
	--bt-accent-dark: #0089bd;
	--bt-accent-soft: #e8f7fd;
	--bt-ink: #1b2733;
	--bt-text: #46525f;
	--bt-muted: #7c8998;
	--bt-border: #e4e9ef;
	--bt-surface: #ffffff;
	--bt-soft: #f5f8fb;
	--bt-green: #1f9d55;
	/* Цвет фирменной кнопки взят с сайта (#00a8e8), чтобы новые блоки
	   не выбивались из остальных кнопок «Купить». Контраст белого текста
	   на нём — 2,7:1, это ниже требования WCAG AA (4,5:1).
	   Если решите привести кнопки к норме — раскомментируйте строку ниже,
	   она затемнит фон кнопок до 5:1 (цвет остаётся из той же гаммы):
	   --bt-accent: #0077a8;                                              */
	--bt-radius: 10px;
	--bt-radius-lg: 16px;
	--bt-shadow: 0 1px 2px rgba(27, 39, 51, .04), 0 6px 18px rgba(27, 39, 51, .06);
	--bt-shadow-hover: 0 2px 6px rgba(27, 39, 51, .06), 0 14px 34px rgba(27, 39, 51, .12);
}

.bt-section { margin: 34px 0; }
.bt-section * { box-sizing: border-box; }

/* --- Заголовок секции ---------------------------------------------------- */
.bt-head { margin-bottom: 18px; }
.bt-head__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--bt-ink);
}
.bt-head__sub {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bt-muted);
}
.bt-head__sub b { color: var(--bt-text); font-weight: 500; }

/* --- Сетка похожих товаров: 5 в ряд, 2 ряда ------------------------------ */
.bt-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.bt-card {
	display: flex;
	flex-direction: column;
	background: var(--bt-surface);
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	padding: 12px;
	position: relative;
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.bt-card:hover,
.bt-card:focus-within {
	border-color: #cfe9f6;
	box-shadow: var(--bt-shadow-hover);
}
.bt-card__imgwrap {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	background: var(--bt-soft);
	border-radius: 8px;
	overflow: hidden;
}
.bt-card__imgwrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	transition: transform .25s ease;
}
.bt-card:hover .bt-card__imgwrap img { transform: scale(1.04); }
.bt-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .01em;
	background: var(--bt-accent);
	color: #fff;
}
.bt-card__badge--same { background: var(--bt-green); }
.bt-card__name {
	font-size: 13px;
	line-height: 1.4;
	color: var(--bt-ink);
	font-weight: 500;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 54px;
}
.bt-card__name a { color: inherit; text-decoration: none; }
.bt-card__name a:hover { color: var(--bt-accent-dark); }
/* растягиваем кликабельную область на всю карточку */
.bt-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bt-card__specs {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--bt-muted);
}
.bt-card__specs li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 2px 0;
}
.bt-card__specs span:last-child {
	color: var(--bt-text);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.bt-card__foot { margin-top: auto; }
.bt-card__price {
	font-size: 16px;
	font-weight: 600;
	color: var(--bt-ink);
	font-variant-numeric: tabular-nums;
	display: block;
	margin-bottom: 8px;
}
.bt-card__price small {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: var(--bt-muted);
	text-decoration: line-through;
}
.bt-card__price--ask { font-size: 14px; font-weight: 500; color: var(--bt-muted); }
.bt-card__btn {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: var(--bt-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .2s ease;
}
.bt-card__btn:hover,
.bt-card__btn:focus { background: var(--bt-accent-dark); color: #fff; }

/* --- Блок «покупка юрлицом / счёт с НДС» --------------------------------- */
.bt-b2b {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 18px;
	padding: 20px 24px;
	border: 1px solid #cfe9f6;
	border-radius: var(--bt-radius-lg);
	background: linear-gradient(135deg, #f2fbff 0%, #ffffff 65%);
}
.bt-b2b__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--bt-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bt-b2b__icon svg { width: 28px; height: 28px; }
.bt-b2b__title {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 600;
	color: var(--bt-ink);
	line-height: 1.35;
}
.bt-b2b__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--bt-text);
}
.bt-b2b__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Кнопки -------------------------------------------------------------- */
.bt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.bt-btn svg { width: 18px; height: 18px; flex: none; }
.bt-btn--primary { background: var(--bt-accent); color: #fff; }
.bt-btn--primary:hover,
.bt-btn--primary:focus { background: var(--bt-accent-dark); color: #fff; text-decoration: none; }
.bt-btn--ghost {
	background: #fff;
	color: var(--bt-ink);
	border-color: var(--bt-border);
}
.bt-btn--ghost:hover,
.bt-btn--ghost:focus { border-color: var(--bt-accent); color: var(--bt-accent-dark); text-decoration: none; }

/* --- Почта с копированием по клику --------------------------------------- */
.bt-copy {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--bt-border);
	border-radius: 8px;
	background: #fff;
	color: var(--bt-ink);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.bt-copy__icon {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--bt-muted);
	transition: color .2s ease;
}
.bt-copy__text { font-variant-numeric: tabular-nums; }
.bt-copy__icon--done { display: none; }
.bt-copy.is-copied .bt-copy__icon--copy { display: none; }
.bt-copy.is-copied .bt-copy__icon--done { display: block; }
.bt-copy:hover,
.bt-copy:focus { border-color: var(--bt-accent); color: var(--bt-accent-dark); }
.bt-copy:hover .bt-copy__icon,
.bt-copy:focus .bt-copy__icon { color: var(--bt-accent); }
.bt-copy:active { transform: translateY(1px); }

/* состояние «скопировано» */
.bt-copy.is-copied {
	border-color: var(--bt-green);
	background: #edfaf1;
	color: #15693a;
}
.bt-copy.is-copied .bt-copy__icon { color: var(--bt-green); }

/* всплывающая подсказка «Скопировано в буфер обмена» */
.bt-copy__done {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 9px);
	z-index: 5;
	transform: translateX(-50%) translateY(5px);
	padding: 7px 12px;
	border-radius: 7px;
	background: var(--bt-green);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.bt-copy__done::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: var(--bt-green);
}
.bt-copy.is-copied .bt-copy__done {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* вариант на тёмном фоне — в подвале и в финальных призывах */
.bt-cta .bt-copy,
footer .bt-copy {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}
.bt-cta .bt-copy .bt-copy__icon,
footer .bt-copy .bt-copy__icon { color: rgba(255, 255, 255, .7); }
.bt-cta .bt-copy:hover,
.bt-cta .bt-copy:focus,
footer .bt-copy:hover,
footer .bt-copy:focus { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .16); }
.bt-cta .bt-copy:hover .bt-copy__icon,
footer .bt-copy:hover .bt-copy__icon { color: #fff; }
.bt-cta .bt-copy.is-copied,
footer .bt-copy.is-copied {
	background: rgba(31, 157, 85, .22);
	border-color: var(--bt-green);
	color: #eafff2;
}
.bt-cta .bt-copy.is-copied .bt-copy__icon,
footer .bt-copy.is-copied .bt-copy__icon { color: #7ee2a8; }

/* внутри обычного текста страницы — компактный инлайновый вариант */
.bt-page p .bt-copy,
.bt-note .bt-copy {
	min-height: 32px;
	padding: 3px 10px;
	font-size: 14px;
	gap: 7px;
	vertical-align: baseline;
}
.bt-page p .bt-copy .bt-copy__icon,
.bt-note .bt-copy .bt-copy__icon { width: 15px; height: 15px; }

/* --- Кнопка MAX ---------------------------------------------------------- */
.bt-max {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--bt-border);
	color: var(--bt-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.bt-max img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.bt-max:hover,
.bt-max:focus {
	border-color: var(--bt-accent);
	color: var(--bt-accent-dark);
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 168, 232, .18);
}
.bt-max--solid {
	background: var(--bt-accent);
	border-color: var(--bt-accent);
	color: #fff;
}
.bt-max--solid:hover,
.bt-max--solid:focus { background: var(--bt-accent-dark); border-color: var(--bt-accent-dark); color: #fff; }

/* MAX в шапке — занимает слот, где раньше был график работы.
   Слот темы несёт свои размеры шрифта и отступы, поэтому гасим их. */
.header_dopmenu_doptext.bt-max-slot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 10px 0 0;
	margin: 0 0 0 auto;
	font-size: 0;
	line-height: 0;
	text-align: left;
	white-space: normal;
	flex: 0 0 auto;
	max-width: none;
	/* у слота темы на части ширин order уводит блок левее логотипа —
	   фиксируем позицию между поиском (order 0) и телефоном (order 3) */
	order: 2;
}
header .bt-max--head {
	min-height: 38px;
	padding: 4px 16px 4px 4px;
	font-size: 13px;
	line-height: 1.3;
	gap: 8px;
	margin: 0;
	white-space: nowrap;
	text-decoration: none;
}
header .bt-max--head:hover,
header .bt-max--head:focus { text-decoration: none; }
header .bt-max--head img { width: 28px; height: 28px; }
header .bt-max--head span { display: inline; }

/* на средних экранах в шапке мало места — оставляем только значок,
   но подчёркиваем рамкой, чтобы он читался как кнопка */
@media (min-width: 992px) and (max-width: 1259px) {
	header .bt-max--head {
		padding: 4px;
		border-color: #bfe4f5;
		background: var(--bt-accent-soft);
	}
	header .bt-max--head span { display: none; }
}

/* MAX в подвале */
footer .bt-max--foot {
	margin-top: 12px;
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .28);
	color: #f1f5f9;
}
footer .bt-max--foot:hover,
footer .bt-max--foot:focus { color: #fff; border-color: var(--bt-accent); }

/* --- Блок «юрлицам» в подвале -------------------------------------------- */
.bt-foot-b2b {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	padding: 16px 20px;
	margin: 0 0 18px;
	border-radius: var(--bt-radius);
	background: rgba(0, 168, 232, .08);
	border: 1px solid rgba(0, 168, 232, .22);
}
.bt-foot-b2b__t { flex: 1 1 320px; font-size: 14px; line-height: 1.55; color: #dbe3ea; }
.bt-foot-b2b__t b { display: block; font-size: 15px; margin-bottom: 2px; color: #fff; font-weight: 600; }
/* на светлом подвале возвращаем тёмный текст */
footer.ls-light-theme .bt-foot-b2b__t { color: var(--bt-text); }
footer.ls-light-theme .bt-foot-b2b__t b { color: var(--bt-ink); }
footer.ls-light-theme .bt-max--foot { background: #fff; border-color: var(--bt-border); color: var(--bt-ink); }

/* ==========================================================================
   Информационные страницы (О нас / Оплата / Ремонт)
   ========================================================================== */
.bt-page { font-size: 15px; line-height: 1.65; color: var(--bt-text); }
.bt-page h2 {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--bt-ink);
	margin: 34px 0 14px;
}
.bt-page h3 {
	font-size: 17px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--bt-ink);
	margin: 22px 0 10px;
}
.bt-page p { margin: 0 0 14px; }
.bt-page ul, .bt-page ol { margin: 0 0 16px; padding-left: 20px; }
.bt-page li { margin-bottom: 7px; }
.bt-page a { color: var(--bt-accent-dark); }
/* кнопки внутри текста страницы не должны наследовать цвет ссылок */
.bt-page a.bt-btn--primary,
.bt-page a.bt-btn--primary:hover,
.bt-page a.bt-btn--primary:focus,
.bt-page a.bt-max--solid { color: #fff; }
.bt-page a.bt-btn--ghost,
.bt-page a.bt-max { color: var(--bt-ink); }
.bt-page .bt-cta a.bt-btn--ghost,
.bt-page .bt-cta a.bt-btn--ghost:hover,
.bt-page .bt-cta a.bt-btn--ghost:focus { color: #fff; }

/* Вводный блок */
.bt-lead {
	padding: 22px 24px;
	border-radius: var(--bt-radius-lg);
	background: linear-gradient(135deg, #f2fbff 0%, #ffffff 70%);
	border: 1px solid #d9eefa;
	margin-bottom: 26px;
}
.bt-lead p { font-size: 16px; line-height: 1.6; color: var(--bt-text); margin-bottom: 10px; }
.bt-lead p:last-child { margin-bottom: 0; }
.bt-lead strong { color: var(--bt-ink); }

/* Плитки-факты */
.bt-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.bt-facts li {
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	background: var(--bt-surface);
}
.bt-facts b {
	display: block;
	font-size: 24px;
	line-height: 1.2;
	color: var(--bt-accent-dark);
	font-weight: 600;
	margin-bottom: 4px;
	font-variant-numeric: tabular-nums;
}
.bt-facts span { font-size: 13px; line-height: 1.45; color: var(--bt-muted); }

/* Карточки-преимущества */
.bt-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.bt-cards li {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	background: var(--bt-surface);
}
.bt-cards b {
	display: block;
	font-size: 15px;
	color: var(--bt-ink);
	font-weight: 600;
	margin-bottom: 6px;
}
.bt-cards span { font-size: 14px; line-height: 1.55; color: var(--bt-text); }

/* Нумерованные шаги */
.bt-steps {
	counter-reset: bt-step;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 12px;
}
.bt-steps li {
	counter-increment: bt-step;
	position: relative;
	margin: 0;
	padding: 16px 18px 16px 62px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	background: var(--bt-surface);
	font-size: 14px;
	line-height: 1.55;
}
.bt-steps li::before {
	content: counter(bt-step);
	position: absolute;
	left: 16px;
	top: 15px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bt-accent-soft);
	color: var(--bt-accent-dark);
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bt-steps b { display: block; color: var(--bt-ink); font-weight: 600; margin-bottom: 3px; }

/* Список с галочками */
.bt-check { list-style: none; margin: 0 0 20px; padding: 0; }
.bt-check li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 9px;
	font-size: 14px;
	line-height: 1.6;
}
.bt-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bt-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230089bd'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 0 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

/* Таблица */
.bt-table-wrap { overflow-x: auto; margin: 0 0 24px; -webkit-overflow-scrolling: touch; }
.bt-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 14px;
}
.bt-table th,
.bt-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--bt-border);
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}
.bt-table th {
	background: var(--bt-soft);
	color: var(--bt-ink);
	font-weight: 600;
	white-space: nowrap;
}
.bt-table td:last-child { font-variant-numeric: tabular-nums; }
.bt-table tr:last-child td { border-bottom: 0; }

/* Заметка */
.bt-note {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--bt-radius);
	background: var(--bt-soft);
	border-left: 3px solid var(--bt-accent);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 24px;
}
.bt-note b { color: var(--bt-ink); }

/* --- Блок «вопрос — ответ» на странице товара ---------------------------- */
.bt-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.bt-qa details {
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	background: var(--bt-surface);
	height: fit-content;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bt-qa details[open] { border-color: #cfe9f6; box-shadow: var(--bt-shadow); }
.bt-qa summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 15px 46px 15px 18px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--bt-ink);
}
.bt-qa summary::-webkit-details-marker { display: none; }
.bt-qa summary::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--bt-muted);
	border-bottom: 2px solid var(--bt-muted);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.bt-qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.bt-qa__a {
	padding: 0 18px 16px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--bt-text);
}
.bt-qa__a p { margin: 0 0 10px; }
.bt-qa__a p:last-child { margin-bottom: 0; }
.bt-qa__a a { color: var(--bt-accent-dark); }

/* подвал блока: остались вопросы */
.bt-qa-foot {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 6px;
	padding: 18px 20px;
	border-radius: var(--bt-radius);
	background: var(--bt-ink);
	color: #dbe3ea;
}
.bt-qa-foot__t { flex: 1 1 280px; font-size: 14px; line-height: 1.55; }
.bt-qa-foot__t b { display: block; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.bt-qa-foot__a { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bt-qa-foot .bt-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.bt-qa-foot .bt-btn--ghost:hover,
.bt-qa-foot .bt-btn--ghost:focus { border-color: #fff; color: #fff; }
.bt-qa-foot .bt-copy {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}
.bt-qa-foot .bt-copy .bt-copy__icon { color: rgba(255, 255, 255, .7); }
.bt-qa-foot .bt-copy:hover,
.bt-qa-foot .bt-copy:focus { border-color: #fff; background: rgba(255, 255, 255, .16); color: #fff; }
.bt-qa-foot .bt-copy.is-copied {
	background: rgba(31, 157, 85, .22);
	border-color: var(--bt-green);
	color: #eafff2;
}
.bt-qa-foot .bt-copy.is-copied .bt-copy__icon { color: #7ee2a8; }

/* FAQ */
.bt-faq { margin: 0 0 26px; }
.bt-faq details {
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	background: var(--bt-surface);
	margin-bottom: 10px;
}
.bt-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 15px 46px 15px 18px;
	position: relative;
	font-size: 15px;
	font-weight: 500;
	color: var(--bt-ink);
	line-height: 1.45;
}
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -6px;
	border-right: 2px solid var(--bt-muted);
	border-bottom: 2px solid var(--bt-muted);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.bt-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.bt-faq .bt-faq__a { padding: 0 18px 16px; font-size: 14px; line-height: 1.65; }
.bt-faq .bt-faq__a p:last-child { margin-bottom: 0; }

/* Финальный призыв */
.bt-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 24px;
	border-radius: var(--bt-radius-lg);
	background: var(--bt-ink);
	color: #e8eef4;
	margin: 30px 0 10px;
}
.bt-cta__t { flex: 1 1 340px; }
.bt-cta__t b { display: block; font-size: 18px; color: #fff; margin-bottom: 6px; font-weight: 600; }
.bt-cta__t span { font-size: 14px; line-height: 1.6; }
.bt-cta__a { display: flex; gap: 10px; flex-wrap: wrap; }
.bt-cta .bt-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.bt-cta .bt-btn--ghost:hover,
.bt-cta .bt-btn--ghost:focus { border-color: #fff; color: #fff; }

/* ==========================================================================
   Раскрывающийся текстовый блок на главной
   ========================================================================== */
.bt-about { background: var(--bt-soft); padding: 38px 0; margin-top: 30px; }
.bt-about__inner { max-width: 900px; margin: 0 auto; }
.bt-about h2 {
	margin: 0 0 16px;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--bt-ink);
}
.bt-about__body {
	position: relative;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.7;
	color: var(--bt-text);
	transition: max-height .35s ease;
}
.bt-about__body p { margin: 0 0 14px; }
.bt-about__body p:last-child { margin-bottom: 0; }
.bt-about__body h3 {
	font-size: 17px;
	font-weight: 600;
	color: var(--bt-ink);
	margin: 22px 0 8px;
}
.bt-about__body.is-collapsed { max-height: 190px; }
.bt-about__body.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(to bottom, rgba(245, 248, 251, 0) 0%, var(--bt-soft) 92%);
	pointer-events: none;
}
.bt-about__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 16px;
	padding: 10px 22px;
	border: 1px solid var(--bt-accent);
	border-radius: 8px;
	background: #fff;
	color: var(--bt-accent-dark);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.bt-about__toggle:hover,
.bt-about__toggle:focus { background: var(--bt-accent); color: #fff; }
.bt-about__toggle svg { width: 14px; height: 14px; transition: transform .25s ease; }
.bt-about__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ==========================================================================
   Фокус, адаптив, reduced-motion
   ========================================================================== */
.bt-section a:focus-visible,
.bt-section button:focus-visible,
.bt-page a:focus-visible,
.bt-about button:focus-visible,
.bt-max:focus-visible,
.bt-faq summary:focus-visible {
	outline: 3px solid rgba(0, 168, 232, .55);
	outline-offset: 2px;
	border-radius: 6px;
}

@media (max-width: 1199px) {
	.bt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bt-grid .bt-card:nth-child(n+9) { display: none; }
}

@media (max-width: 991px) {
	.bt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bt-grid .bt-card:nth-child(n+7) { display: none; }
	.bt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bt-b2b { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; }
	.bt-b2b__icon { width: 48px; height: 48px; border-radius: 12px; }
	.bt-b2b__actions { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	.bt-section { margin: 26px 0; }
	.bt-head__title { font-size: 19px; }
	.bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bt-grid .bt-card:nth-child(n+7) { display: flex; }
	.bt-card { padding: 10px; }
	.bt-card__name { font-size: 12px; min-height: 50px; }
	.bt-card__price { font-size: 15px; }
	.bt-cards { grid-template-columns: 1fr; }
	.bt-qa { grid-template-columns: 1fr; }
	.bt-qa-foot { padding: 16px; }
	.bt-qa-foot__a { width: 100%; }
	.bt-qa-foot__a .bt-btn,
	.bt-qa-foot__a .bt-copy,
	.bt-qa-foot__a .bt-max { flex: 1 1 100%; justify-content: center; }
	.bt-page h2 { font-size: 19px; margin-top: 28px; }
	.bt-lead { padding: 18px; }
	.bt-cta { padding: 20px; }
	.bt-about { padding: 28px 0; }
	.bt-about h2 { font-size: 20px; }
	.bt-about__body.is-collapsed { max-height: 230px; }
}

@media (max-width: 479px) {
	.bt-facts { grid-template-columns: 1fr; }
	.bt-b2b__actions .bt-btn,
	.bt-cta__a .bt-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.bt-card,
	.bt-card__imgwrap img,
	.bt-about__body,
	.bt-about__toggle svg,
	.bt-faq summary::after,
	.bt-btn,
	.bt-max { transition: none !important; }
	.bt-card:hover .bt-card__imgwrap img { transform: none; }
}
