/* ==========================================================================
   ТАБЛИЧКИН — main styles
   Desktop (≥1200px): pixel-perfect по макету шириной 1906px. Все размеры
   заданы в «пикселях макета» и умножаются на --k (1px на экранах ≥1906px,
   пропорционально меньше на 1200–1905px). Ниже 1200px — адаптивная сетка.
   ========================================================================== */

/* Franklin Gothic Book — шрифт макета. Если у посетителя он установлен
   (MS Office), используется он; положите лицензионный web-файл в
   assets/fonts/franklin-gothic-book.woff2 — и он подключится у всех.
   Иначе — метрически близкий Fira Sans Condensed. */
@font-face {
	font-family: "TB Franklin";
	src: local("Franklin Gothic Book"), local("FranklinGothic-Book"), url("../fonts/franklin-gothic-book.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}

:root {
	--tb-red: #e3000e;
	--tb-red-hover: #c4000c;
	--tb-ink: #1a1a18;
	--tb-ink-2: #3a3a39;
	--tb-gray: #d9d9d9;
	--tb-gray-2: #ebecec;
	--tb-line: #9b9c9c;
	--tb-footer: #3a3a39;
	--ff-main: "TB Franklin", "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
	--ff-arial: Arial, Arimo, "Helvetica Neue", Helvetica, sans-serif;
	--ff-mont: Montserrat, Arial, sans-serif;
	/* 1 «пиксель макета» */
	--k: min(1px, 100cqw / 1906);
}

@supports not (width: 1cqw) {
	:root { --k: min(1px, (100vw - 17px) / 1906); }
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
	margin: 0;
	font-family: var(--ff-main);
	font-size: 18px;
	line-height: 1.5;
	color: var(--tb-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }

.tb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 10px 16px; background: #fff; }
.tb-skip:focus { left: 10px; top: 10px; }
.tb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.tb-scale { container-type: inline-size; position: relative; }
.tb-frame { position: relative; width: calc(1906 * var(--k)); margin: 0 auto; }

.tb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: var(--tb-red);
	color: #fff;
	text-align: center;
	white-space: nowrap;
	transition: background-color .2s, box-shadow .2s, transform .2s;
}
.tb-btn:hover { background: var(--tb-red-hover); }
.tb-btn:active { transform: translateY(1px); }
.tb-btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--tb-red); outline-offset: 2px; }

/* ==========================================================================
   DESKTOP ≥ 1200px — точное позиционирование по макету
   ========================================================================== */
@media (min-width: 1200px) {

	.tb-m-call, .tb-burger { display: none; }

	/* ---------- шапка: верхняя строка (h 88.8) ---------- */
	.tb-top { background: #fff; }
	.tb-top__in { height: calc(88.8 * var(--k)); }

	.tb-logo { position: absolute; left: calc(117.4 * var(--k)); top: calc(4.2 * var(--k)); display: block; width: calc(267.6 * var(--k)); height: calc(78.5 * var(--k)); }
	.tb-logo__mascot { position: absolute; left: 0; top: 0; width: calc(78 * var(--k)); height: calc(78 * var(--k)); }
	.tb-logo__text { position: absolute; left: calc(70.6 * var(--k)); top: calc(-0.5 * var(--k)); width: calc(196.9 * var(--k)); height: calc(78.5 * var(--k)); max-width: none; }
	.tb-logo__custom { width: auto; height: calc(78 * var(--k)); }

	.tb-topnav { position: absolute; left: calc(442.8 * var(--k)); top: calc(35.5 * var(--k)); }
	.tb-topnav__list { display: flex; gap: calc(44.4 * var(--k)); font-size: calc(22 * var(--k)); line-height: 1; color: var(--tb-ink-2); }
	.tb-topnav__list li:nth-child(2) { margin-top: calc(2 * var(--k)); }
	.tb-topnav__list li:nth-child(3), .tb-topnav__list li:nth-child(4) { margin-top: calc(2 * var(--k)); }
	.tb-topnav__list a:hover { color: var(--tb-red); }

	.tb-top__phone, .tb-top__email { position: absolute; font-family: var(--ff-arial); font-size: calc(24 * var(--k)); line-height: 1; color: var(--tb-ink); white-space: nowrap; }
	.tb-top__phone { left: calc(1068.3 * var(--k)); top: calc(18.3 * var(--k)); }
	.tb-top__email { left: calc(1055.2 * var(--k)); top: calc(47.1 * var(--k)); }
	.tb-top__phone:hover, .tb-top__email:hover { color: var(--tb-red); }

	.tb-top__tg, .tb-top__vb { position: absolute; display: block; border-radius: 50%; }
	.tb-top__tg { left: calc(1355.6 * var(--k)); top: calc(15.2 * var(--k)); width: calc(59.3 * var(--k)); height: calc(59.3 * var(--k)); }
	.tb-top__vb { left: calc(1437.6 * var(--k)); top: calc(14.8 * var(--k)); width: calc(61 * var(--k)); height: calc(61 * var(--k)); }
	.tb-top__tg svg, .tb-top__vb svg { width: 100%; height: 100%; display: block; }
	.tb-top__tg:hover, .tb-top__vb:hover { opacity: .85; }

	.tb-top__btn { position: absolute; left: calc(1545.3 * var(--k)); top: calc(21 * var(--k)); width: calc(208.8 * var(--k)); height: calc(46.8 * var(--k)); padding: 0; font-family: var(--ff-arial); font-size: calc(24 * var(--k)); line-height: 1; }

	/* ---------- шапка: серая полоса меню (h 49.2), липкая ---------- */
	.tb-nav { position: sticky; top: 0; z-index: 90; background: var(--tb-gray); border-top: calc(0.57 * var(--k)) solid var(--tb-line); border-bottom: calc(0.57 * var(--k)) solid var(--tb-line); transition: box-shadow .25s; }
	.admin-bar .tb-nav { top: 32px; }
	.tb-nav.is-stuck { box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
	.tb-nav__in { height: calc(48.1 * var(--k)); }
	.tb-nav__menu { position: absolute; left: calc(130.8 * var(--k)); top: 0; height: 100%; }
	.tb-nav__list { display: flex; height: 100%; font-size: calc(22 * var(--k)); line-height: 1; color: var(--tb-ink-2); }
	.tb-nav__list > li { position: relative; display: flex; align-items: center; height: 100%; padding-top: calc(1.5 * var(--k)); }
	.tb-nav__list > li:nth-child(2) { margin-left: calc(83 * var(--k)); }
	.tb-nav__list > li:nth-child(3) { margin-left: calc(67.4 * var(--k)); }
	.tb-nav__list > li:nth-child(4) { margin-left: calc(81.5 * var(--k)); }
	.tb-nav__list > li:nth-child(n+5) { margin-left: calc(77 * var(--k)); }
	.tb-nav__list > li > a { display: flex; align-items: center; height: 100%; }
	.tb-nav__list > li > a:hover { color: var(--tb-red); }
	.tb-nav__list .sub-menu {
		position: absolute; left: calc(-24 * var(--k)); top: 100%; min-width: calc(300 * var(--k)); padding: calc(10 * var(--k)) 0;
		background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .15); border-top: 3px solid var(--tb-red);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.tb-nav__list li:hover > .sub-menu, .tb-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.tb-nav__list .sub-menu a { display: block; padding: calc(10 * var(--k)) calc(24 * var(--k)); font-size: calc(21 * var(--k)); white-space: nowrap; }
	.tb-nav__list .sub-menu a:hover { background: var(--tb-gray-2); color: var(--tb-red); }

	.tb-nav__sticky { position: absolute; right: calc(152 * var(--k)); top: 0; height: 100%; display: flex; align-items: center; gap: calc(28 * var(--k)); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
	.tb-nav.is-stuck .tb-nav__sticky { opacity: 1; visibility: visible; }
	.tb-nav__phone { font-family: var(--ff-arial); font-size: calc(22 * var(--k)); color: var(--tb-ink); }
	.tb-nav__phone:hover { color: var(--tb-red); }
	.tb-nav__btn { height: calc(36 * var(--k)); padding: 0 calc(22 * var(--k)); font-family: var(--ff-arial); font-size: calc(20 * var(--k)); }

	.tb-drawer { display: none !important; }

	/* ---------- первый экран (h 304.5) ---------- */
	.tb-hero { background: #fff; }
	.tb-hero__in { height: calc(304.5 * var(--k)); }
	.tb-hero__title { position: absolute; left: calc(129.1 * var(--k)); top: calc(34.1 * var(--k)); font-size: calc(49.5 * var(--k)); line-height: calc(56.2 * var(--k)); color: var(--tb-ink); white-space: nowrap; }
	.tb-hero__btn { position: absolute; left: calc(136.5 * var(--k)); top: calc(175.9 * var(--k)); width: calc(472.5 * var(--k)); height: calc(66 * var(--k)); padding: 0; font-size: calc(39 * var(--k)); line-height: 1; box-shadow: inset 0 0 0 calc(0.57 * var(--k)) #1a1918; }
	.tb-hero__mascot { position: absolute; left: calc(974.6 * var(--k)); top: 0; width: calc(291.9 * var(--k)); height: calc(291.9 * var(--k)); max-width: none; }
	.tb-hero__logo { position: absolute; left: calc(1257.4 * var(--k)); top: calc(36.1 * var(--k)); width: calc(549.8 * var(--k)); height: calc(219.6 * var(--k)); max-width: none; }

	/* ---------- фото-лента / каталог раздела (динамическая сетка по 6 в ряд) ---------- */
	.tb-gallery { background: var(--tb-gray); border-top: calc(0.57 * var(--k)) solid var(--tb-line); padding: calc(36.5 * var(--k)) 0; }
	.tb-gallery .tb-frame { height: auto; min-height: calc(328 * var(--k)); position: relative; }
	.tb-gallery__header { margin-bottom: calc(36 * var(--k)); text-align: center; }
	.tb-gallery__title-head { font-family: var(--ff-fira); font-weight: 700; font-size: calc(50 * var(--k)); line-height: 1.1; color: var(--tb-ink); text-align: center; text-transform: uppercase; letter-spacing: calc(1 * var(--k)); margin: 0; }
	.tb-gallery__sub-head { font-family: var(--ff-fira); font-weight: 400; font-size: calc(36 * var(--k)); line-height: 1.25; color: #444; text-align: center; margin-top: calc(12 * var(--k)); }
	.tb-gallery__list { display: grid; grid-template-columns: repeat(6, calc(255.1 * var(--k))); justify-content: center; gap: calc(28 * var(--k)) calc(24.7 * var(--k)); margin: 0 auto; padding: 0; list-style: none; }
	.tb-gallery__item { margin: 0 !important; }
	.tb-gallery__card { display: flex; flex-direction: column; width: calc(255.1 * var(--k)); background: none; border: none; padding: 0; text-align: inherit; font: inherit; cursor: pointer; border-radius: 6px; outline: none; transition: transform .2s ease; }
	.tb-gallery__card:hover { transform: translateY(-3px); }
	.tb-gallery__thumb { position: relative; display: block; width: calc(255.1 * var(--k)); height: calc(255.1 * var(--k)); overflow: hidden; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); background: #e2e8f0; }
	.tb-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
	.tb-gallery__card:hover .tb-gallery__img { transform: scale(1.05); }
	.tb-gallery__action { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.32); opacity: 0; transition: opacity .25s ease; }
	.tb-gallery__action-btn { background: var(--tb-red, #e3000e); color: #fff; font-size: calc(13 * var(--k)); font-weight: 700; padding: calc(8 * var(--k)) calc(16 * var(--k)); border-radius: 20px; box-shadow: 0 4px 14px rgba(227,0,14,0.45); transform: translateY(6px); transition: transform .25s ease; letter-spacing: 0.2px; }
	.tb-gallery__card:hover .tb-gallery__action { opacity: 1; }
	.tb-gallery__card:hover .tb-gallery__action-btn { transform: translateY(0); }
	.tb-gallery__caption { padding: calc(10 * var(--k)) 0 0; display: flex; align-items: flex-start; justify-content: center; min-height: calc(40 * var(--k)); }
	.tb-gallery__title { font-size: calc(13 * var(--k)); line-height: 1.35; font-weight: 600; color: #1e293b; text-align: center; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.tb-gallery__card:hover .tb-gallery__title { color: var(--tb-red, #e3000e); }

	/* ---------- преимущества (h 395.3) ---------- */
	.tb-adv { background: var(--tb-gray-2); padding: calc(48 * var(--k)) 0; }
	.tb-adv .tb-frame { height: auto; position: relative; }
	.tb-adv__header { margin-bottom: calc(36 * var(--k)); text-align: center; }
	.tb-adv__title-head { font-family: var(--ff-fira); font-weight: 700; font-size: calc(50 * var(--k)); line-height: 1.1; color: var(--tb-ink); text-align: center; text-transform: uppercase; letter-spacing: calc(1 * var(--k)); margin: 0; }
	.tb-adv__sub-head { font-family: var(--ff-fira); font-weight: 400; font-size: calc(36 * var(--k)); line-height: 1.25; color: #444; text-align: center; margin-top: calc(12 * var(--k)); }
	.tb-adv__list { display: flex; justify-content: center; gap: calc(50 * var(--k)); position: static; margin: 0 auto; padding: 0; list-style: none; }
	.tb-adv__item { position: relative; width: calc(255.1 * var(--k)); margin: 0 !important; text-align: center; }
	.tb-adv__img { display: block; width: calc(255.1 * var(--k)); height: calc(255.1 * var(--k)); object-fit: cover; border-radius: 4px; }
	.tb-adv__text { display: block; margin-top: calc(16 * var(--k)); font-family: var(--ff-fira); font-size: calc(26 * var(--k)); line-height: 1.25; text-align: center; color: var(--tb-ink); }

	/* ---------- общий H2 ---------- */
	.tb-h2 { font-size: calc(50 * var(--k)); line-height: 1; color: var(--tb-ink); text-align: center; white-space: nowrap; }

	/* ---------- каталог (h 613.5) ---------- */
	.tb-catalog { background: #fff; border-top: calc(0.57 * var(--k)) solid var(--tb-gray-2); }
	.tb-catalog .tb-frame { height: calc(612.9 * var(--k)); }
	.tb-catalog__title { position: absolute; left: 0; right: 0; top: calc(20.4 * var(--k)); }
	.tb-catalog__list { position: absolute; left: calc(72.7 * var(--k)); top: calc(123.5 * var(--k)); display: flex; }
	.tb-catalog__item:nth-child(odd):not(:first-child) { margin-left: calc(28.4 * var(--k)); }
	.tb-catalog__item:nth-child(even) { margin-left: calc(51 * var(--k)); }
	.tb-catalog__link { display: block; width: calc(255.1 * var(--k)); text-align: center; color: var(--tb-ink); }
	.tb-catalog__img { display: block; width: calc(255.1 * var(--k)); height: calc(255.1 * var(--k)); overflow: hidden; }
	.tb-catalog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
	.tb-catalog__name { display: block; margin: calc(18.4 * var(--k)) calc(-30 * var(--k)) 0; font-size: calc(38.7 * var(--k)); line-height: calc(43.9 * var(--k)); transition: color .2s; }
	.tb-catalog__link:hover img { transform: scale(1.05); }
	.tb-catalog__link:hover .tb-catalog__name { color: var(--tb-red); }

	/* ---------- как сделать заказ (h 844.5) ---------- */
	.tb-steps { background: #fff; border-top: calc(0.57 * var(--k)) solid var(--tb-gray-2); }
	.tb-steps .tb-frame { height: calc(843.9 * var(--k)); }
	.tb-steps__title { position: absolute; left: calc(-51 * var(--k)); right: 0; top: calc(45.2 * var(--k)); }
	.tb-steps__list { position: absolute; left: calc(50.8 * var(--k)); top: calc(158.5 * var(--k)); display: flex; gap: calc(16.1 * var(--k)); }
	.tb-steps__item {
		position: relative; width: calc(288.5 * var(--k)); height: calc(558 * var(--k));
		padding: calc(86.4 * var(--k)) calc(30 * var(--k)) 0; text-align: center;
		border: calc(1.46 * var(--k)) solid #c4c4c4; border-radius: calc(5 * var(--k)); background: #fff;
		box-shadow: 0 calc(1 * var(--k)) calc(3 * var(--k)) rgba(0, 0, 0, .06);
		transition: box-shadow .25s, transform .25s;
	}
	.tb-steps__item:hover { box-shadow: 0 calc(10 * var(--k)) calc(30 * var(--k)) rgba(0, 0, 0, .1); transform: translateY(calc(-4 * var(--k))); }
	.tb-step-icon { display: block; width: calc(110 * var(--k)); height: calc(110 * var(--k)); margin: 0 auto; color: #1d1d1b; overflow: visible; }
	.tb-steps__name { margin-top: calc(66 * var(--k)); font-family: var(--ff-mont); font-weight: 700; font-size: calc(21.5 * var(--k)); line-height: 1; color: #222; }
	.tb-steps__text { margin-top: calc(26 * var(--k)); font-family: var(--ff-mont); font-size: calc(17.6 * var(--k)); line-height: calc(32.2 * var(--k)); color: #3a3a3a; }
	.tb-steps__action { position: absolute; left: 0; right: 0; top: calc(768.3 * var(--k)); text-align: center; padding-left: calc(9 * var(--k)); }
	.tb-steps__btn { width: calc(287 * var(--k)); height: calc(55.7 * var(--k)); gap: calc(10 * var(--k)); font-family: var(--ff-mont); font-weight: 700; font-size: calc(17.6 * var(--k)); box-shadow: inset 0 0 0 calc(2 * var(--k)) #c90010; }
	.tb-steps__arrow { width: calc(18 * var(--k)); height: calc(12 * var(--k)); }

		/* ---------- детальные преимущества товара (каталог) ---------- */
	.tb-padv { background: #fff; border-top: calc(0.57 * var(--k)) solid var(--tb-gray-2); }
	.tb-padv .tb-frame { min-height: calc(720 * var(--k)); padding: calc(45 * var(--k)) 0 calc(60 * var(--k)); }
	.tb-padv__title { font-family: var(--ff-fira); font-weight: 700; font-size: calc(50 * var(--k)); line-height: 1; color: var(--tb-ink); text-align: center; text-transform: uppercase; letter-spacing: calc(1 * var(--k)); }
	.tb-padv__sub { font-family: var(--ff-fira); font-weight: 400; font-size: calc(38.7 * var(--k)); line-height: 1.2; color: #222; text-align: center; margin-top: calc(14 * var(--k)); }
	.tb-padv__body { display: flex; align-items: center; justify-content: space-between; margin-top: calc(50 * var(--k)); padding: 0 calc(70 * var(--k)); gap: calc(40 * var(--k)); }
	.tb-padv__col { flex: 1 1 calc(440 * var(--k)); }
	.tb-padv__center { flex: 0 0 calc(520 * var(--k)); text-align: center; }
	.tb-padv__img-wrap { display: inline-block; width: calc(520 * var(--k)); height: calc(380 * var(--k)); border-radius: calc(12 * var(--k)); overflow: hidden; box-shadow: 0 calc(10 * var(--k)) calc(30 * var(--k)) rgba(0, 0, 0, 0.08); border: calc(1 * var(--k)) solid #e2e8f0; }
	.tb-padv__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.tb-padv__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(26 * var(--k)); }
	.tb-padv__item { position: relative; padding-left: calc(38 * var(--k)); font-family: var(--ff-mont); font-size: calc(22 * var(--k)); line-height: 1.4; color: #1a1918; }
	.tb-padv__item::before { content: ""; position: absolute; left: 0; top: calc(8 * var(--k)); width: calc(16 * var(--k)); height: calc(16 * var(--k)); border-radius: 50%; background: var(--tb-red); }
	.tb-padv__item-title { font-weight: 700; display: block; }
	.tb-padv__sublist { list-style: none; margin: calc(8 * var(--k)) 0 0 0; padding-left: calc(14 * var(--k)); display: flex; flex-direction: column; gap: calc(6 * var(--k)); }
	.tb-padv__subitem { position: relative; padding-left: calc(20 * var(--k)); font-size: calc(19 * var(--k)); color: #4a5568; }
	.tb-padv__subitem::before { content: "—"; position: absolute; left: 0; color: var(--tb-red); font-weight: 700; }

/* ---------- SEO (h 726.3) ---------- */
	.tb-seo { background: var(--tb-gray); border-top: calc(0.57 * var(--k)) solid var(--tb-gray-2); }
	.tb-seo .tb-frame { min-height: calc(725.7 * var(--k)); padding: calc(41.1 * var(--k)) 0 calc(80 * var(--k)); }
	.tb-seo__title { margin-left: calc(-2 * var(--k)); }
	.tb-seo__body { display: flex; align-items: center; justify-content: space-between; min-height: calc(410.7 * var(--k)); margin: calc(145 * var(--k)) calc(232.4 * var(--k)) 0 calc(227.2 * var(--k)); gap: calc(80 * var(--k)); }
	.tb-seo__text { flex: 1; font-size: calc(24 * var(--k)); line-height: 1.5; color: var(--tb-ink-2); }
	.tb-seo__text p + p { margin-top: calc(18 * var(--k)); }
	.tb-seo__text a { color: var(--tb-red); text-decoration: underline; }
	.tb-seo__img { flex: none; width: calc(410.7 * var(--k)); height: calc(410.7 * var(--k)); object-fit: cover; }

	/* ---------- заявка (h 551.2) ---------- */
	.tb-cta { background: var(--tb-gray-2); }
	.tb-cta .tb-frame { height: calc(551.2 * var(--k)); }
	.tb-cta__mascot { position: absolute; left: calc(498.6 * var(--k)); top: calc(11.1 * var(--k)); width: calc(128.3 * var(--k)); height: calc(127.3 * var(--k)); max-width: none; }
	.tb-cta__title { position: absolute; left: calc(674 * var(--k)); top: calc(30.1 * var(--k)); font-size: calc(50 * var(--k)); line-height: 1; white-space: nowrap; }
	.tb-cta__sub { position: absolute; left: calc(644.5 * var(--k)); top: calc(96.3 * var(--k)); font-size: calc(38.4 * var(--k)); line-height: 1; color: var(--tb-ink-2); white-space: nowrap; }

	.tb-cta__form { position: absolute; left: calc(246.9 * var(--k)); top: calc(191.9 * var(--k)); width: calc(1522.4 * var(--k)); height: calc(149.1 * var(--k)); background: #fff; }
	.tb-cta__field { position: absolute; top: calc(52 * var(--k)); height: calc(62.3 * var(--k)); border-bottom: calc(2 * var(--k)) solid #2e2f33; }
	.tb-cta__field--name { left: calc(39.8 * var(--k)); width: calc(455 * var(--k)); }
	.tb-cta__field--phone { left: calc(534.8 * var(--k)); width: calc(454 * var(--k)); }
	.tb-cta__field .tb-field__icon { position: absolute; top: calc(10 * var(--k)); color: #4a4a4a; }
	.tb-cta__field--name .tb-field__icon { left: calc(14.4 * var(--k)); width: calc(25.2 * var(--k)); height: calc(27 * var(--k)); }
	.tb-cta__field--phone .tb-field__icon { left: calc(17.2 * var(--k)); width: calc(19.4 * var(--k)); height: calc(27 * var(--k)); }
	.tb-cta__field input { width: 100%; height: 100%; padding: 0 0 calc(14 * var(--k)); border: 0; background: transparent; font-family: var(--ff-mont); font-size: calc(22.5 * var(--k)); color: var(--tb-ink); outline: none; }
	.tb-cta__field--name input { padding-left: calc(57 * var(--k)); }
	.tb-cta__field--phone input { padding-left: calc(55.9 * var(--k)); }
	.tb-cta__field input::placeholder { color: #8f8f8f; opacity: 1; }
	.tb-cta__field:focus-within { border-bottom-color: var(--tb-red); }
	.tb-cta__btn { position: absolute; left: calc(1028.5 * var(--k)); top: calc(38.7 * var(--k)); width: calc(308 * var(--k)); height: calc(75.5 * var(--k)); padding: 0; font-family: var(--ff-mont); font-weight: 700; font-size: calc(23.5 * var(--k)); box-shadow: 0 0 calc(3 * var(--k)) rgba(227, 0, 14, .7); }
	.tb-cta__form .tb-form__msg { position: absolute; left: calc(39.8 * var(--k)); right: calc(39.8 * var(--k)); top: calc(118 * var(--k)); font-family: var(--ff-mont); font-size: calc(17 * var(--k)); }

	.tb-cta__alt { position: absolute; left: calc(706 * var(--k)); top: calc(363.3 * var(--k)); font-size: calc(38.4 * var(--k)); line-height: 1; white-space: nowrap; }
	.tb-cta__msg { position: absolute; top: calc(421.9 * var(--k)); height: calc(90 * var(--k)); background: #fff; border: calc(0.57 * var(--k)) solid var(--tb-line); color: var(--tb-ink); transition: box-shadow .2s, border-color .2s; }
	.tb-cta__msg:hover { border-color: #666; box-shadow: 0 calc(6 * var(--k)) calc(18 * var(--k)) rgba(0, 0, 0, .08); }
	.tb-cta__msg svg { position: absolute; }
	.tb-cta__msg span { position: absolute; font-size: calc(49.7 * var(--k)); line-height: 1; white-space: nowrap; }
	.tb-cta__msg--vb { left: calc(534.2 * var(--k)); width: calc(353.3 * var(--k)); }
	.tb-cta__msg--vb svg { left: calc(81.6 * var(--k)); top: calc(15.2 * var(--k)); width: calc(59.5 * var(--k)); height: calc(59.5 * var(--k)); }
	.tb-cta__msg--vb span { left: calc(161.2 * var(--k)); top: calc(17.8 * var(--k)); }
	.tb-cta__msg--tg { left: calc(940 * var(--k)); width: calc(348 * var(--k)); }
	.tb-cta__msg--tg svg { left: calc(21.8 * var(--k)); top: calc(15.3 * var(--k)); width: calc(59.2 * var(--k)); height: calc(59.2 * var(--k)); }
	.tb-cta__msg--tg span { left: calc(92.3 * var(--k)); top: calc(22.9 * var(--k)); }

	/* ---------- подвал (h 543) ---------- */
	.tb-footer { background: var(--tb-footer); color: #fff; }
	.tb-footer__in { height: calc(543 * var(--k)); font-family: var(--ff-arial); font-size: calc(24 * var(--k)); line-height: 1; }
	.tb-footer a:hover { color: #ff5a63; }
	.tb-footer__logo { position: absolute; left: calc(136.1 * var(--k)); top: calc(32.3 * var(--k)); width: calc(184.8 * var(--k)); }
	.tb-footer__logo img { width: 100%; height: auto; }
	.tb-footer__slogan { position: absolute; left: calc(128.9 * var(--k)); top: calc(225 * var(--k)); font-family: var(--ff-mont); font-weight: 500; font-size: calc(26.1 * var(--k)); line-height: calc(36 * var(--k)); white-space: nowrap; }

	.tb-footer__col { position: absolute; top: 0; }
	.tb-footer__col--popular { left: calc(514.7 * var(--k)); }
	.tb-footer__col--info { left: calc(859.7 * var(--k)); }
	.tb-footer__col--contacts { left: calc(1155 * var(--k)); }
	.tb-footer__title { position: absolute; left: 0; white-space: nowrap; }
	.tb-footer__col--popular .tb-footer__title, .tb-footer__col--info .tb-footer__title { top: calc(55.6 * var(--k)); }
	.tb-footer__col--contacts .tb-footer__title { top: calc(44.2 * var(--k)); }

	.tb-footer__list { position: absolute; white-space: nowrap; }
	.tb-footer__col--popular .tb-footer__list { left: calc(4.5 * var(--k)); top: calc(117 * var(--k)); }
	.tb-footer__col--info .tb-footer__list { left: calc(6 * var(--k)); top: calc(122.2 * var(--k)); }
	.tb-footer__list li { height: calc(50.9 * var(--k)); }
	.tb-footer__list a::before { content: "-"; }

	.tb-footer__contacts { position: absolute; left: calc(4 * var(--k)); top: calc(97.3 * var(--k)); white-space: nowrap; line-height: calc(27.7 * var(--k)); }
	.tb-footer__contacts li { display: flex; flex-direction: column; margin-top: calc(-2.5 * var(--k)); }
	.tb-footer__contacts li + li { margin-top: calc(24.3 * var(--k)); }

	.tb-footer__soc a { position: absolute; display: block; }
	.tb-footer__soc svg { display: block; width: 100%; height: 100%; }
	.tb-footer__soc a:hover { opacity: .85; }
	.tb-footer__tg { left: calc(1.9 * var(--k)); top: calc(336.7 * var(--k)); width: calc(59.3 * var(--k)); height: calc(59.3 * var(--k)); }
	.tb-footer__vb { left: calc(83.5 * var(--k)); top: calc(336.3 * var(--k)); width: calc(60 * var(--k)); height: calc(60 * var(--k)); }
	.tb-footer__ig { left: calc(166.5 * var(--k)); top: calc(338.3 * var(--k)); width: calc(57 * var(--k)); height: calc(57 * var(--k)); }

	.tb-footer__bottom { position: absolute; left: calc(363.1 * var(--k)); right: calc(120 * var(--k)); top: calc(494 * var(--k)); display: flex; align-items: center; justify-content: space-between; font-size: calc(21 * var(--k)); line-height: 1; white-space: nowrap; }
	.tb-footer__copy, .tb-footer__privacy { position: static; font-size: inherit; margin: 0; padding: 0; border: 0; }
	.tb-footer__dev { position: static; font-size: calc(11 * var(--k)); color: #888888; margin: 0; padding: 0; border: 0; }
	.tb-footer__dev a { color: #cbd5e1; text-decoration: underline; transition: color .2s; }
	.tb-footer__dev a:hover { color: var(--tb-red); }
}

/* ==========================================================================
   TABLET / MOBILE < 1200px
   ========================================================================== */
@media (max-width: 1199.98px) {
	.tb-scale { container-type: normal; }
	.tb-frame { width: auto; max-width: 1140px; padding: 0 20px; }

	/* шапка */
	.tb-top { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 var(--tb-line); }
	.admin-bar .tb-top { top: 46px; }
	.tb-top__in { display: flex; align-items: center; gap: 12px; height: 64px; }
	.tb-logo { display: flex; align-items: center; margin-right: auto; }
	.tb-logo__mascot { width: 52px; height: 52px; }
	.tb-logo__text { width: 140px; height: auto; margin-left: -6px; }
	.tb-logo__custom { height: 52px; width: auto; }
	.tb-topnav, .tb-top__email, .tb-top__btn, .tb-nav { display: none; }
	.tb-top__phone { font-family: var(--ff-arial); font-size: 17px; font-weight: 700; white-space: nowrap; }
	.tb-top__tg, .tb-top__vb { width: 36px; height: 36px; flex: none; }
	.tb-top__tg svg, .tb-top__vb svg { width: 100%; height: 100%; }
	.tb-m-call { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--tb-red); color: #fff; flex: none; }
	.tb-m-call svg { width: 20px; height: 20px; }
	.tb-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--tb-ink); flex: none; }
	.tb-burger svg { width: 28px; height: 28px; }

	.tb-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .45); }
	.tb-drawer[hidden] { display: none; }
	.tb-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); padding: 64px 24px 32px; overflow-y: auto; background: #fff; animation: tb-slide .25s ease-out; }
	@keyframes tb-slide { from { transform: translateX(100%); } }
	.tb-drawer__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; background: none; padding: 8px; }
	.tb-drawer__list { font-size: 21px; }
	.tb-drawer__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--tb-gray-2); }
	.tb-drawer__list .sub-menu { padding-left: 16px; font-size: 18px; color: var(--tb-ink-2); }
	.tb-drawer__list--sub { margin-top: 16px; font-size: 18px; color: var(--tb-ink-2); }
	.tb-drawer__list .current-menu-item > a { color: var(--tb-red); }
	.tb-drawer__contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-family: var(--ff-arial); font-size: 16px; }
	.tb-drawer__phone { font-size: 22px; font-weight: 700; }
	.tb-drawer__soc { display: flex; gap: 12px; margin: 8px 0; }
	.tb-drawer__soc a { width: 44px; height: 44px; }
	.tb-drawer__btn { height: 50px; font-family: var(--ff-arial); font-size: 18px; }

	.tb-h2 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; text-align: center; }

	/* первый экран */
	.tb-hero__in { display: flex; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
	.tb-hero__text { flex: 1 1 50%; }
	.tb-hero__title { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.14; }
	.tb-hero__btn { margin-top: 28px; height: 60px; padding: 0 36px; font-size: clamp(22px, 3vw, 30px); }
	.tb-hero__media { flex: 1 1 50%; display: flex; align-items: center; }
	.tb-hero__mascot { width: 42%; height: auto; }
	.tb-hero__logo { width: 58%; height: auto; }

	/* фото-лента / каталог раздела */
	.tb-gallery { background: var(--tb-gray); padding: 32px 0; }
	.tb-gallery__header { margin-bottom: 22px; text-align: center; }
	.tb-gallery__title-head { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; text-align: center; font-weight: 700; text-transform: uppercase; margin: 0; }
	.tb-gallery__sub-head { font-size: clamp(16px, 2.3vw, 20px); line-height: 1.3; text-align: center; margin-top: 6px; color: #444; }
	.tb-gallery__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 0; list-style: none; }
	.tb-gallery__item { margin: 0; }
	.tb-gallery__card { display: flex; flex-direction: column; width: 100%; background: none; border: none; padding: 0; text-align: inherit; font: inherit; cursor: pointer; border-radius: 6px; outline: none; }
	.tb-gallery__thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); background: #e2e8f0; }
	.tb-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
	.tb-gallery__action { display: none; }
	.tb-gallery__caption { padding: 8px 2px 0; display: flex; align-items: flex-start; justify-content: center; min-height: 36px; }
	.tb-gallery__title { font-size: 12px; line-height: 1.3; font-weight: 600; color: #1e293b; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

	/* преимущества */
	.tb-adv { background: var(--tb-gray-2); padding: 36px 0; }
	.tb-adv__header { margin-bottom: 22px; text-align: center; }
	.tb-adv__title-head { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; text-align: center; font-weight: 700; text-transform: uppercase; margin: 0; }
	.tb-adv__sub-head { font-size: clamp(16px, 2.3vw, 20px); line-height: 1.3; text-align: center; margin-top: 6px; color: #444; }
	.tb-adv__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
	.tb-adv__item { text-align: center; margin: 0; }
	.tb-adv__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
	.tb-adv__text { display: block; margin-top: 10px; font-size: clamp(14px, 1.8vw, 18px); line-height: 1.25; }
	@media (max-width: 680px) {
		.tb-adv__list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	}

	/* каталог */
	.tb-catalog { padding: 40px 0 48px; border-top: 1px solid var(--tb-gray-2); }
	.tb-catalog__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 28px; }
	.tb-catalog__link { display: block; text-align: center; }
	.tb-catalog__img { display: block; aspect-ratio: 1; overflow: hidden; }
	.tb-catalog__img img { width: 100%; height: 100%; object-fit: cover; }
	.tb-catalog__name { display: block; margin-top: 12px; font-size: clamp(19px, 2.6vw, 28px); line-height: 1.15; }

	/* шаги */
	.tb-steps { padding: 40px 0 48px; border-top: 1px solid var(--tb-gray-2); }
	.tb-steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
	.tb-steps__item { padding: 32px 20px 28px; text-align: center; border: 1px solid #c4c4c4; border-radius: 5px; background: #fff; }
	.tb-step-icon { display: block; width: 80px; height: 80px; margin: 0 auto; color: #1d1d1b; overflow: visible; }
	.tb-steps__name { margin-top: 24px; font-family: var(--ff-mont); font-weight: 700; font-size: 18px; }
	.tb-steps__text { margin-top: 12px; font-family: var(--ff-mont); font-size: 15px; line-height: 1.75; color: #3a3a3a; }
	.tb-steps__action { margin-top: 32px; text-align: center; }
	.tb-steps__btn { height: 54px; padding: 0 32px; gap: 10px; font-family: var(--ff-mont); font-weight: 700; font-size: 16px; }
	.tb-steps__arrow { width: 18px; height: 12px; }

		/* детальные преимущества товара (каталог) */
	.tb-padv { background: #fff; padding: 40px 0; border-top: 1px solid var(--tb-gray-2); }
	.tb-padv .tb-frame { height: auto; min-height: 0; padding: 0 20px; }
	.tb-padv__title { font-size: clamp(28px, 4vw, 38px); text-align: center; font-weight: 700; text-transform: uppercase; }
	.tb-padv__sub { font-size: clamp(18px, 2.5vw, 24px); text-align: center; margin-top: 8px; color: #333; }
	.tb-padv__body { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; padding: 0; }
	.tb-padv__center { order: -1; width: 100%; text-align: center; }
	.tb-padv__img-wrap { width: 100%; max-width: 480px; height: auto; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; display: inline-block; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
	.tb-padv__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.tb-padv__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
	.tb-padv__item { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.4; color: #1a1918; }
	.tb-padv__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--tb-red); }
	.tb-padv__item-title { font-weight: 700; display: block; }
	.tb-padv__sublist { list-style: none; margin: 6px 0 0 0; padding-left: 12px; display: flex; flex-direction: column; gap: 4px; }
	.tb-padv__subitem { position: relative; padding-left: 16px; font-size: 14px; color: #555; }
	.tb-padv__subitem::before { content: "—"; position: absolute; left: 0; color: var(--tb-red); font-weight: 700; }

/* SEO */
	.tb-seo { background: var(--tb-gray); padding: 40px 0 48px; }
	.tb-seo__body { display: flex; align-items: center; gap: 32px; margin-top: 28px; }
	.tb-seo__text { flex: 1; font-size: 18px; line-height: 1.6; color: var(--tb-ink-2); }
	.tb-seo__text p + p { margin-top: 12px; }
	.tb-seo__img { flex: none; width: 36%; aspect-ratio: 1; object-fit: cover; }

	/* заявка */
	.tb-cta { background: var(--tb-gray-2); padding: 32px 0 40px; }
	.tb-cta__head { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; max-width: 720px; margin: 0 auto; }
	.tb-cta__mascot { grid-row: span 2; width: 104px; height: auto; }
	.tb-cta__title { font-size: clamp(26px, 4vw, 40px); line-height: 1.1; }
	.tb-cta__sub { margin-top: 6px; font-size: clamp(18px, 2.8vw, 28px); line-height: 1.2; color: var(--tb-ink-2); }
	.tb-cta__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px 28px; align-items: end; margin-top: 28px; padding: 28px; background: #fff; }
	.tb-cta__field { position: relative; display: block; border-bottom: 2px solid #2e2f33; }
	.tb-cta__field .tb-field__icon { position: absolute; left: 6px; top: 50%; width: 20px; height: 22px; transform: translateY(-60%); color: #4a4a4a; }
	.tb-cta__field input { width: 100%; height: 50px; padding: 0 0 6px 38px; border: 0; background: transparent; font-family: var(--ff-mont); font-size: 17px; outline: none; }
	.tb-cta__field input::placeholder { color: #8f8f8f; opacity: 1; }
	.tb-cta__field:focus-within { border-bottom-color: var(--tb-red); }
	.tb-cta__btn { height: 60px; padding: 0 28px; font-family: var(--ff-mont); font-weight: 700; font-size: 17px; }
	.tb-cta__form .tb-form__msg { grid-column: 1 / -1; font-family: var(--ff-mont); font-size: 15px; }
	.tb-cta__form .tb-form__msg:empty { display: none; }
	.tb-cta__alt { margin-top: 24px; text-align: center; font-size: clamp(22px, 3vw, 30px); }
	.tb-cta__msgs { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
	.tb-cta__msg { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 260px; height: 72px; background: #fff; border: 1px solid var(--tb-line); font-size: 34px; color: var(--tb-ink); }
	.tb-cta__msg svg { width: 46px; height: 46px; }

	/* подвал */
	.tb-footer { background: var(--tb-footer); color: #fff; padding: 36px 0 24px; font-family: var(--ff-arial); font-size: 17px; }
	.tb-footer a:hover { color: #ff5a63; }
	.tb-footer__in { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 28px 24px; }
	.tb-footer__logo { display: block; width: 130px; }
	.tb-footer__logo img { width: 100%; }
	.tb-footer__slogan { margin-top: 12px; font-family: var(--ff-mont); font-weight: 500; font-size: 18px; line-height: 1.35; }
	.tb-footer__title { margin-bottom: 14px; font-size: 19px; }
	.tb-footer__list li + li { margin-top: 10px; }
	.tb-footer__list a::before { content: "-"; }
	.tb-footer__contacts li { display: flex; flex-direction: column; line-height: 1.3; }
	.tb-footer__contacts li + li { margin-top: 14px; }
	.tb-footer__soc { display: flex; gap: 14px; margin-top: 18px; }
	.tb-footer__soc a { width: 44px; height: 44px; }
	.tb-footer__soc svg { width: 100%; height: 100%; }
	.tb-footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }
	.tb-footer__copy { color: #fff; }
	.tb-footer__dev { color: #888888; font-size: 11px; margin: 0; }
	.tb-footer__dev a { color: #cbd5e1; text-decoration: underline; transition: color .2s; }
	.tb-footer__dev a:hover { color: var(--tb-red); }
	.tb-footer__privacy { color: #cbd5e1; }
}

@media (max-width: 899.98px) {
	.tb-steps__list { grid-template-columns: repeat(2, 1fr); }
	.tb-adv__list { grid-template-columns: repeat(2, 1fr); }
	.tb-footer__in { grid-template-columns: 1fr 1fr; }
	.tb-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
	.tb-footer__slogan { margin-top: 0; }
}

@media (max-width: 767.98px) {
	.tb-top__phone { display: none; }
	.tb-m-call { display: inline-flex; }
	.tb-hero__in { flex-direction: column; align-items: stretch; text-align: center; padding-top: 24px; }
	.tb-hero__media { order: -1; justify-content: center; }
	.tb-hero__mascot { width: 38%; max-width: 180px; }
	.tb-hero__logo { width: 58%; max-width: 300px; }
	.tb-hero__btn { width: 100%; max-width: 420px; }
	.tb-catalog__list { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.tb-seo__body { flex-direction: column-reverse; }
	.tb-seo__img { width: 100%; max-width: 420px; }
	.tb-cta__form { grid-template-columns: 1fr; padding: 20px; }
	.tb-cta__btn { width: 100%; }
	.tb-cta__msgs { flex-wrap: wrap; }
	.tb-cta__msg { width: calc(50% - 10px); min-width: 150px; height: 60px; font-size: 24px; }
	.tb-cta__msg svg { width: 36px; height: 36px; }
	.tb-footer__copy, .tb-footer__privacy { grid-column: 1 / -1; text-align: left; }
	.tb-footer__privacy { padding-top: 0; border-top: 0; }
}

@media (max-width: 479.98px) {
	.tb-frame { padding: 0 14px; }
	.tb-top__tg, .tb-top__vb { display: none; }
	.tb-logo__mascot { width: 46px; height: 46px; }
	.tb-logo__text { width: 124px; }
	.tb-steps__list { grid-template-columns: 1fr; }
	.tb-adv__list { gap: 18px 14px; }
	.tb-cta__head { grid-template-columns: 1fr; text-align: center; }
	.tb-cta__mascot { grid-row: auto; margin: 0 auto 8px; width: 90px; }
	.tb-footer__in { grid-template-columns: 1fr; }
	.tb-footer__brand { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   POPUP
   ========================================================================== */
.tb-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tb-modal[hidden] { display: none; }
.tb-modal__overlay { position: absolute; inset: 0; background: rgba(26, 26, 24, .6); animation: tb-fade .2s; }
.tb-modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 40px 40px 32px; background: #fff; border-top: 5px solid var(--tb-red); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: tb-pop .25s ease-out; }
@keyframes tb-fade { from { opacity: 0; } }
@keyframes tb-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.tb-modal__close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; padding: 9px; border: 0; background: none; color: #777; }
.tb-modal__close:hover { color: var(--tb-red); }
.tb-modal__mascot { display: block; width: 96px; margin: 0 auto 10px; }
.tb-modal__title { font-size: 32px; line-height: 1.1; text-align: center; }
.tb-modal__sub { margin-top: 10px; font-family: var(--ff-mont); font-size: 14px; line-height: 1.5; color: #666; text-align: center; }
.tb-modal [data-sub-calc], .tb-modal [data-sub-director],
.tb-modal.is-calc [data-sub-consult], .tb-modal.is-calc [data-sub-director],
.tb-modal.is-director [data-sub-consult], .tb-modal.is-director [data-sub-calc] { display: none; }
.tb-modal.is-calc [data-sub-calc] { display: block; }
.tb-modal.is-director [data-sub-director] { display: block; }
.tb-modal:not(.is-calc):not(.is-director) .tb-field--calc { display: none; }
.tb-modal.is-director .tb-field--director { display: block; }
.tb-modal.is-director .tb-field--calc:not(.tb-field--director) { display: none; }
.tb-form--modal textarea { width: 100%; height: auto !important; min-height: 96px; padding: 12px 16px; border: 1px solid #cfcfcf; background: #fff; font-family: var(--ff-mont); font-size: 15px; outline: none; resize: vertical; line-height: 1.4; transition: border-color .2s; }
.tb-form--modal textarea:focus { border-color: var(--tb-red); }
.tb-form--modal { display: grid; gap: 14px; margin-top: 22px; }
.tb-form--modal .tb-field { position: relative; display: block; }
.tb-form--modal .tb-field__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 20px; transform: translateY(-50%); color: #777; }
.tb-form--modal input, .tb-form--modal select, .tb-form--modal textarea { width: 100%; height: 52px; padding: 0 16px 0 44px; border: 1px solid #cfcfcf; background: #fff; font-family: var(--ff-mont); font-size: 15px; outline: none; transition: border-color .2s; }
.tb-form--modal select, .tb-form--modal textarea { padding-left: 16px; }
.tb-form--modal textarea { height: auto; padding-top: 12px; padding-bottom: 12px; resize: vertical; }
.tb-form--modal input:focus, .tb-form--modal select:focus, .tb-form--modal textarea:focus { border-color: var(--tb-ink); }
.tb-form__submit { height: 56px; font-family: var(--ff-mont); font-weight: 700; font-size: 16px; }
.tb-form__agree { font-family: var(--ff-mont); font-size: 12px; line-height: 1.5; color: #888; text-align: center; }
.tb-form__agree a { text-decoration: underline; }
.tb-form__msg { font-family: var(--ff-mont); font-size: 14px; text-align: center; }
.tb-form__msg.is-ok { color: #1a7f37; }
.tb-form__msg.is-error { color: var(--tb-red); }
.tb-form .is-invalid { border-color: var(--tb-red) !important; }
.tb-form.is-sending .tb-btn { opacity: .6; pointer-events: none; }
html.tb-lock { overflow: hidden; }

/* lightbox */
.tb-lightbox { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .85); cursor: zoom-out; animation: tb-fade .2s; }
.tb-lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.tb-container, .tbl-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.tb-page { padding: 32px 0 64px; }
.tb-crumbs { margin-bottom: 16px; font-family: var(--ff-arial); font-size: 14px; color: #777; }
.tb-crumbs a:hover { color: var(--tb-red); }
.tb-crumbs span { margin: 0 4px; }
.tb-page__title { margin-bottom: 24px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; }
.tb-page__meta { margin: -12px 0 20px; color: #888; font-size: 15px; }
.tb-page__thumb { margin-bottom: 24px; }
.tb-content { font-size: 19px; line-height: 1.6; color: var(--tb-ink-2); }
.tb-content > * + * { margin-top: 1em; }
.tb-content h2 { font-size: 34px; line-height: 1.2; color: var(--tb-ink); margin-top: 1.4em; }
.tb-content h3 { font-size: 26px; line-height: 1.25; color: var(--tb-ink); margin-top: 1.3em; }
.tb-content ul { list-style: disc; padding-left: 1.4em; }
.tb-content ol { list-style: decimal; padding-left: 1.4em; }
.tb-content a { color: var(--tb-red); text-decoration: underline; }
.tb-content img { height: auto; }
.tb-content table { width: 100%; border-collapse: collapse; }
.tb-content th, .tb-content td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; }
.tb-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.tb-post__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tb-post__title { margin-top: 12px; font-size: 24px; line-height: 1.2; }
.tb-post__title a:hover { color: var(--tb-red); }
.tb-post__excerpt { margin-top: 8px; font-size: 16px; color: #555; }
.tb-404 { text-align: center; }
.tb-404 img { width: 160px; margin-bottom: 16px; }
.tb-404 a { color: var(--tb-red); text-decoration: underline; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   DEVELOPER CREDIT & INNER PAGES EXTENSIONS
   ========================================================================== */

/* Developer Credit handled in .tb-footer__bottom */


/* Category Page Advantages Section (Mockup) */
.tbl-mockup-advantages {
  background: #ffffff;
  padding: 50px 0 60px;
  border-top: 1px solid #f1f5f9;
}
.tbl-adv-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 45px;
  align-items: center;
}
.tbl-adv-visual {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.tbl-adv-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.tbl-adv-badge {
  display: inline-block;
  background: #fff1f2;
  color: var(--tb-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tbl-adv-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--tb-ink);
  margin: 0 0 12px;
  line-height: 1.25;
}
.tbl-adv-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: var(--tb-ink-2);
  margin-bottom: 18px;
}
.tbl-adv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.tbl-adv-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  font-weight: 500;
}
.tbl-adv-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tb-red);
  font-weight: 800;
}
.tbl-adv-seo {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

@media (max-width: 900px) {
  .tbl-adv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tbl-adv-list {
    grid-template-columns: 1fr;
  }
  .tbl-adv-visual img {
    height: 260px;
  }
}

/* ==========================================================================
   К А Л Ь К У Л Я Т О Р   С Т О И М О С Т И   ( /raschet-ceny/ )
   ========================================================================== */
.tb-calc-page {
	background: #f8fafc;
	min-height: 80vh;
}
.tb-calc-hero {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	padding: 42px 0 32px;
}
.tb-calc-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.tb-calc-crumbs {
	font-family: var(--ff-mont);
	font-size: 14px;
	color: #64748b;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.tb-calc-crumbs a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s;
}
.tb-calc-crumbs a:hover {
	color: var(--tb-red);
}
.tb-calc-crumbs .sep {
	color: #cbd5e1;
}
.tb-calc-title {
	font-family: var(--ff-mont);
	font-weight: 800;
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.25;
	color: var(--tb-ink);
	margin: 0 0 12px;
}
.tb-calc-subtitle {
	font-family: var(--ff-mont);
	font-size: 16px;
	line-height: 1.55;
	color: #475569;
	margin: 0;
	max-width: 820px;
}
.tb-calc-body {
	padding: 36px 0 70px;
}
.tb-calc-card {
	background: #fff;
	border-radius: 16px;
	padding: 38px 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
}
.tb-calc-step {
	margin-bottom: 34px;
}
.tb-calc-step-title {
	font-family: var(--ff-mont);
	font-size: 19px;
	font-weight: 700;
	color: var(--tb-ink);
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
}
.tb-calc-step-badge {
	background: var(--tb-red);
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	flex: none;
}
.tb-calc-types-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.tb-calc-type-item {
	position: relative;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #fff;
	user-select: none;
	box-sizing: border-box;
}
.tb-calc-type-item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.tb-calc-type-item:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	transform: translateY(-1px);
}
.tb-calc-type-item.active {
	border-color: var(--tb-red);
	background: #fff5f5;
	box-shadow: 0 4px 14px rgba(227, 0, 14, 0.12);
}
.tb-calc-type-icon {
	font-size: 24px;
	line-height: 1;
	flex: none;
}
.tb-calc-type-name {
	font-family: var(--ff-mont);
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.25;
}
.tb-calc-params-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.tb-calc-field {
	display: flex;
	flex-direction: column;
}
.tb-calc-label {
	font-family: var(--ff-mont);
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 7px;
}
.tb-calc-input {
	height: 48px;
	padding: 0 14px;
	font-family: var(--ff-mont);
	font-size: 15px;
	color: #0f172a;
	background: #fff;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	width: 100%;
	box-sizing: border-box;
}
.tb-calc-input:focus {
	border-color: var(--tb-red);
	box-shadow: 0 0 0 3px rgba(227, 0, 14, 0.12);
}
.tb-calc-summary-box {
	background: linear-gradient(135deg, #181816 0%, #2b2b28 100%);
	border-radius: 14px;
	padding: 32px 36px;
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 36px;
	color: #fff;
	align-items: center;
	margin-top: 10px;
	box-sizing: border-box;
}
.tb-calc-price-col {
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	padding-right: 28px;
}
.tb-calc-price-label {
	font-family: var(--ff-mont);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #94a3b8;
	margin-bottom: 6px;
}
.tb-calc-price-value {
	font-family: var(--ff-mont);
	font-size: clamp(34px, 3.5vw, 44px);
	font-weight: 900;
	color: #ffffff;
	line-height: 1.1;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.tb-calc-price-value small {
	font-size: 22px;
	font-weight: 800;
	color: var(--tb-red);
}
.tb-calc-price-unit {
	font-family: var(--ff-mont);
	font-size: 14px;
	color: #cbd5e1;
	margin-top: 6px;
}
.tb-calc-form-col {
	display: flex;
	flex-direction: column;
}
.tb-calc-form-desc {
	font-family: var(--ff-mont);
	font-size: 14px;
	color: #e2e8f0;
	margin: 0 0 12px;
	line-height: 1.45;
}
.tb-calc-form-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.tb-calc-form-inputs .tb-calc-input {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	height: 48px;
}
.tb-calc-form-inputs .tb-calc-input::placeholder {
	color: #94a3b8;
}
.tb-calc-form-inputs .tb-calc-input:focus {
	border-color: var(--tb-red);
	background: rgba(255, 255, 255, 0.14);
}
.tb-calc-submit-btn {
	grid-column: span 2;
	height: 50px;
	background: var(--tb-red);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: var(--ff-mont);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 14px rgba(227, 0, 14, 0.35);
}
.tb-calc-submit-btn:hover {
	background: var(--tb-red-hover);
	transform: translateY(-1px);
}
.tb-calc-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}
.tb-calc-status-msg {
	margin-top: 10px;
	font-family: var(--ff-mont);
	font-size: 14px;
	font-weight: 600;
}
.tb-calc-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 28px;
}
.tb-calc-trust-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ff-mont);
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	box-sizing: border-box;
}
.tb-calc-trust-icon {
	color: var(--tb-red);
	font-size: 18px;
	flex: none;
}

@media (max-width: 991px) {
	.tb-calc-types-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tb-calc-params-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tb-calc-summary-box {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 26px 24px;
	}
	.tb-calc-price-col {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		padding-right: 0;
		padding-bottom: 18px;
	}
	.tb-calc-trust-strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.tb-calc-container {
		padding: 0 14px;
	}
	.tb-calc-hero {
		padding: 28px 0 22px;
	}
	.tb-calc-body {
		padding: 20px 0 48px;
	}
	.tb-calc-card {
		padding: 22px 14px;
		border-radius: 12px;
	}
	.tb-calc-types-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.tb-calc-params-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.tb-calc-form-inputs {
		grid-template-columns: 1fr;
	}
	.tb-calc-submit-btn {
		grid-column: span 1;
		font-size: 14px;
		height: 48px;
	}
	.tb-calc-trust-strip {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}


/* Info Pages & Cards */
.tbl-info-page {
  padding: 10px 0 40px;
}
.tbl-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.tbl-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.tbl-info-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.tbl-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--tb-ink);
  margin: 0 0 10px;
}
.tbl-info-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.tbl-info-card-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 15px;
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.tbl-info-banner {
  background: linear-gradient(135deg, #1a1a18, #3a3a39);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}
.tbl-info-banner h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.tbl-info-banner p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.tbl-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 25px;
}
.tbl-port-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tbl-port-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.tbl-port-img {
  height: 160px;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tbl-preview-shild  { background: linear-gradient(135deg, #1e293b, #475569); }
.tbl-preview-tab    { background: linear-gradient(135deg, #854d0e, #ca8a04); }
.tbl-preview-plak   { background: linear-gradient(135deg, #7c2d12, #b45309); }
.tbl-preview-badge  { background: linear-gradient(135deg, #0369a1, #0284c7); }
.tbl-preview-rollup { background: linear-gradient(135deg, #b91c1c, #dc2626); }
.tbl-port-body {
  padding: 20px;
}
.tbl-port-cat {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--tb-red);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.tbl-port-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tb-ink);
}
.tbl-port-body p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 991px) {
  .tbl-info-cards-grid, .tbl-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .tbl-info-cards-grid, .tbl-portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- CATEGORY NAVIGATION PILLS ---------- */
.tb-catnav { margin-bottom: calc(26 * var(--k)); }
.tb-catnav__label { display: block; font-size: calc(13 * var(--k)); font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: calc(10 * var(--k)); }
.tb-catnav__list { display: flex; flex-wrap: wrap; gap: calc(8 * var(--k)) calc(10 * var(--k)); align-items: center; justify-content: center; }
.tb-catnav__pill { display: inline-flex; align-items: center; padding: calc(8 * var(--k)) calc(16 * var(--k)); background: #ffffff; border: 1px solid #cbd5e1; border-radius: 24px; font-size: calc(13.5 * var(--k)); font-weight: 600; color: #334155; text-decoration: none; transition: all .2s ease; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.tb-catnav__pill:hover { border-color: var(--tb-red, #e3000e); color: var(--tb-red, #e3000e); background: #fff5f5; transform: translateY(-1px); }
.tb-catnav__pill.is-active { background: var(--tb-red, #e3000e); border-color: var(--tb-red, #e3000e); color: #ffffff; box-shadow: 0 4px 12px rgba(227,0,14,0.32); pointer-events: none; }

/* ---------- BREADCRUMBS BAR ---------- */
.tb-crumbs-bar { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: calc(12 * var(--k)) 0; }
.tb-crumbs-bar .tb-crumbs { margin: 0; font-size: calc(13 * var(--k)); }

@media (max-width: 1199px) {
	.tb-catnav { margin-bottom: 20px; }
	.tb-catnav__label { font-size: 11px; margin-bottom: 8px; }
	.tb-catnav__list { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; gap: 8px; scrollbar-width: none; }
	.tb-catnav__list::-webkit-scrollbar { display: none; }
	.tb-catnav__pill { padding: 7px 13px; font-size: 12.5px; flex-shrink: 0; }

	.tb-crumbs-bar { padding: 10px 0; }
	.tb-crumbs-bar .tb-crumbs { font-size: 12px; }
}

/* ---------- FLOATING ACTION BUTTON (FAB) & TOP ---------- */
.tb-fab { position: fixed; right: 20px; bottom: 20px; z-index: 998; display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; }
.tb-fab__main { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--tb-red, #e3000e); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(227, 0, 14, 0.42); transition: transform .25s ease, background-color .2s; outline: none; -webkit-tap-highlight-color: transparent; }
.tb-fab__main:hover { background: #c8000c; transform: scale(1.06); }
.tb-fab__icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; transition: opacity .2s, transform .25s; }
.tb-fab__icon svg { width: 24px; height: 24px; }
.tb-fab__icon--close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.7); }
.tb-fab.is-open .tb-fab__icon--open { opacity: 0; transform: rotate(90deg) scale(0.7); }
.tb-fab.is-open .tb-fab__icon--close { opacity: 1; transform: rotate(0) scale(1); }
.tb-fab__pulse { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--tb-red, #e3000e); opacity: 0.7; animation: tbFabPulse 2.4s infinite; pointer-events: none; }
@keyframes tbFabPulse { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.28); opacity: 0; } 100% { transform: scale(1.28); opacity: 0; } }
.tb-fab.is-open .tb-fab__pulse { display: none; }
.tb-fab__items { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(16px) scale(0.85); transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1); }
.tb-fab.is-open .tb-fab__items { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.tb-fab__btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: transform .2s ease; text-decoration: none; }
.tb-fab__btn:hover { transform: scale(1.12); }
.tb-fab__btn--tg { background: #25a6df; color: #fff; }
.tb-fab__btn--vb { background: #7c529e; color: #fff; }
.tb-fab__btn--phone { background: #10b981; color: #fff; }
.tb-fab__btn svg { width: 22px; height: 22px; }
.tb-fab__tooltip { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); background: #1e293b; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.tb-fab__btn:hover .tb-fab__tooltip { opacity: 1; }
.tb-fab__top { width: 40px; height: 40px; border-radius: 50%; background: #ffffff; color: #475569; border: 1px solid #cbd5e1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: all .2s; outline: none; margin-top: 4px; }
.tb-fab__top:hover { background: var(--tb-red, #e3000e); color: #fff; border-color: var(--tb-red, #e3000e); transform: translateY(-3px); }
