@charset "utf-8";
/* CSS Document */

/* ===== Montserrat — локальные шрифты ===== */

/* Latin */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/montserrat-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: optional; src: url('../fonts/montserrat-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Cyrillic */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/montserrat-cyrillic-300-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: optional; src: url('../fonts/montserrat-cyrillic-900-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ===== / Montserrat ===== */


:root {
	--font-family-sans-serif: 'Montserrat',-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	--secondary: rgba(0, 0, 0, 0.73);
	--primary: #2a2a2a;
	--light: #e1e1e1;
	--dark-light: #c7c1b7;
	--brand-red: #cc0000;
	--brand-red-hover: #aa0000;
}

::selection{
    background-color:var(--brand-red);
	color: var(--white);
}

html {
  scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat',Arial,sans-serif;
	overflow-x: clip;
}

h1 {
	color: var(--primary);
	margin: auto;
	margin-bottom: 1rem;
	font-weight: 700;
}

h2, h4 {
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 1rem;
}

header {
	
}

section {
	padding-top: 140px;
	padding-bottom: 140px;
	padding-left: 30px;
	padding-right: 30px;
	scroll-margin-top: 90px;
}

/* Резервируем место под картинки до их загрузки — реальная пропорция файлов 810x541 */
img[src="images/02.webp"],
img[src="images/03.webp"] {
	aspect-ratio: 1.4972 / 1;
}

/* Контейнер внутри секций: max-width 1600px, боковые паддинги убраны
   (они на секции), как у Закон Жизни */
section > .container {
	max-width: 1600px;
	padding-left: 0;
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

@media (max-width: 991px) {
	section {
		padding-top: 70px;
		padding-bottom: 70px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 767px) {
	section {
		padding-top: 50px;
		padding-bottom: 50px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 479px) {
	section {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

.rounded, .rounded::before, .rounded img:not(.vacancy-logo) {
	border-radius: 30px !important;
}

.filter {
	filter: brightness(.8);
}

.btn {
	border: none;
	border-radius: 50px;
	padding: 0.5rem 2rem;
	font-size: 0.9rem;
}

button:focus, .btn:focus {
	outline: none;
}

.btn:focus {
	border: none;
	box-shadow: none !important;
}

.btn-primary {
	background-color: var(--light);
	color: var(--primary);
	font-weight: 700;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	background-color: var(--dark-light);
	color: var(--primary);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
	background-color: var(--dark-light);
	color: var(--primary);
}

.btn-lg {
	font-size: 1.2rem;
	padding: 1rem 4rem;
}

.btn-md {
	font-size: 1rem;
	padding: .8rem 3rem !important;
}

.btn-secondary:hover, .btn-secondary:active {
	background-color: var(--secondary);
	color: var(--white);
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
	background-color: var(--secondary);
	color: var(--white);
}

.btn-green {
	background-color: var(--brand-red);
	color: var(--white);
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
}

.btn-green::before {
	content: '';
	position: absolute;
	top: -10%;
	left: -120%;
	width: 60%;
	height: 120%;
	background: linear-gradient(
		105deg,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.50) 50%,
		rgba(255,255,255,0) 100%
	);
	transform: skewX(-15deg);
	z-index: 3;
	pointer-events: none;
	animation: czl-shine 6s ease-in-out 2s infinite;
}

.btn-green:hover, .btn-green:active, .btn-green:focus {
	background-color: var(--brand-red-hover);
	color: var(--white);	
}

.btn-green:not(:disabled):not(.disabled):active, .btn-green:not(:disabled):not(.disabled).active, .show > .btn-green.dropdown-toggle {
	background-color: var(--brand-red-hover);
	color: var(--white);
}

.btn-outline-green {
	background-color: transparent;
	border: 2px solid var(--brand-red);
	color: var(--brand-red);
	font-weight: 700;
}

.btn-outline-green:hover, .btn-outline-green:active, .btn-outline-green:focus {
	border: 2px solid var(--brand-red-hover);
	color: var(--brand-red-hover);
}

.btn-outline-green:not(:disabled):not(.disabled):active, .btn-outline-green:not(:disabled):not(.disabled).active, .show > .btn-outline-green.dropdown-toggle {
	border: 2px solid var(--brand-red-hover);
	color: var(--brand-red-hover);
}

.btn-wide {
	width: 100%;
}

.navbar-dark {
	background-color: var(--primary);
	padding-left: 30px;
	padding-right: 30px;
}

/* Убираем паддинги col-* и navbar-brand внутри шапки */
.navbar-dark .col-2,
.navbar-dark .col-10 {
	padding-left: 0;
	padding-right: 0;
}

.navbar-dark .navbar-brand {
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 0;
	display: block;
	width: 140px;
	position: relative;
	z-index: 2;
}

.navbar-brand img {
	max-width: 100%;
	height: auto;
}

.navbar-dark .navbar-brand img {
	display: block;
	width: 140px;
	height: auto;
}

/* col-2: overflow visible чтобы ссылка не обрезалась */
.navbar-dark .col-2 {
	overflow: visible;
}

/* Расстояние от лого до пункта меню "Кредиты": по умолчанию .col-2 — это
   резиновая bootstrap-колонка шириной 16.667% от всей шапки, что на широких
   экранах намного больше логотипа (140px) — лишняя ширина колонки и была
   визуальным зазором. Делаем колонку "по содержимому" и задаём отступ явно,
   одним числом, одинаково на любом экране. Только для десктоп-версии меню. */
.navbar-expand-lg.navbar-dark .col-2 {
	width: auto;
	flex: 0 0 auto;
	margin-right: 2rem; /* ← регулируйте это значение, чтобы изменить расстояние */
}

.navbar-expand-lg.navbar-dark .col-10 {
	width: auto;
	flex: 1 1 auto;
}

.navbar-dark .navbar-contact {
	padding-right: 0;
}

.navbar-dark .navbar-nav .nav-link {
	font-weight: 600;
	color: var(--white);
	position: relative;
	padding-right: 1rem;
	padding-left: 1rem;
	line-height: 3;
}

.navbar-dark .navbar-nav .nav-link:hover {
	color: var(--white);
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 1rem;
	bottom: 40%;
	opacity: 0;
	width: calc(100% - 2rem);
	height: 100%;
	border-bottom: 2px solid #cc0000;
	box-shadow: inset 0px -1px 0px 0px #cc0000;
	transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
	opacity: 1;
	/* Раньше здесь было 33% — это значение было рассчитано под крупный
	   шрифт (1rem), который применялся выше 1466px в старой ступенчатой
	   схеме. Шрифт пунктов меню в шапке теперь всегда компактный (.8rem,
	   см. critical-css), поэтому используем то же значение, что и для
	   компактного шрифта везде — без скачка на границе 1466px. */
	bottom: 15%;
}

/* ═══ Подчёркивание заголовка активной секции (та же логика, что у меню) ═══ */
.section-title {
	position: relative;
	display: inline-block;
	align-self: flex-start;
	width: fit-content;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -0.4rem;
	width: 100%;
	height: 0;
	border-bottom: 3px solid #cc0000;
	box-shadow: inset 0px -1px 0px 0px #cc0000;
	opacity: 0;
	transition: opacity 0.4s ease;
}

section.section-active .section-title::after {
	opacity: 1;
}
/* ═══ / Подчёркивание заголовка секции ═══ */

.navbar-contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.wa-link {
	margin-right: 0;
	display: flex;
	align-items: center;
}

.wa-link img {
	width: 40px;
	height: 40px;
}

.navbar-contact .wa-link:last-of-type {
	margin-right: 0;
}

.navbar-contact .phone, .contact-column .phone {
	margin-right: 0;
}

.navbar-contact .phone, .contact-column .phone {
	color: var(--white);
	text-decoration: none;
	font-size: 1.75rem;
	font-weight: 700;
}

/* Мобильный навбар: иконки с отступами, бургер на своём месте */
.navbar-mobile-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.navbar-mobile-right .wa-link {
	display: inline-flex;
	align-items: center;
	margin-right: 20px;
}

.navbar-mobile-right .wa-link:last-of-type {
	margin-right: 40px;
}

.navbar-dark .navbar-toggler {
	border: none;
	padding: 0;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1.0)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-mobile {
	width: 100%;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 58px);
	justify-content: space-around;
	align-items: center;
	transition: all 0.3s ease;
}

.nav-mobile:not(.show) {
	height: 0 !important;
	opacity: 0;
	visibility: hidden;
}

.nav-mobile .navbar-nav {
	display: block;
	text-align: center;
}

@media (max-width: 1500px) {
	.navbar-contact .phone, .contact-column .phone {
		font-size: 1rem;
		margin-right: 1rem;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: .8rem;
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}
	/* Кнопка "Срочная заявка" раньше сжималась только с 1199px — теперь
	   компактной становится вместе со всем остальным навбаром. */
	.navbar-dark .btn-primary {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}
}

@media (max-width: 1199px) {
	.navbar-contact .phone {
		font-size: .9rem;
		margin-right: .7rem;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: .8rem;
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}
	.btn-primary {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}
}

/* Диапазон 992–1179px: даже в компактном виде (после фиксов font-size/
   padding в critical-css) десктопной навигации не хватает ширины —
   реальный безопасный порог измерен через рендер в Chromium ≈1176px.
   Единая точка переключения на мобильный (бургер) хэдер сдвинута с 992px
   (Bootstrap navbar-expand-lg) до 1180px, с небольшим запасом. */
@media (min-width: 992px) and (max-width: 1179.98px) {
	header nav.navbar-expand-lg {
		display: none !important;
	}
	header nav.d-lg-none {
		display: flex !important;
	}
}

@media (max-width: 1040px) {
	.navbar-brand img {
		width: 120px;
	}
	.navbar-dark .navbar-nav .nav-link {
		padding-right: 0.35rem;
		padding-left: 0.35rem;
	}
	.navbar-dark {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 991px) {
	
	.navbar-contact {
		justify-content: center;
	}
	.navbar-dark .navbar-brand img {
		height: auto;
		width: 120px;
	}
	/* Пункты меню — inline-block чтобы ::after обтекал текст */
	.navbar-dark .navbar-nav .nav-item {
		text-align: center;
		margin: 0.25rem 0;
	}
	.navbar-dark .navbar-nav .nav-link {
		font-size: 1.5rem;
		line-height: 2;
		display: inline-block;
		padding-left: 0;
		padding-right: 0;
	}
	/* Подчёркивание точно по ширине текста */
	.nav-link::after {
		left: 0;
		width: 100%;
	}
	.nav-link:hover::after,
	.nav-item.active .nav-link::after {
		opacity: 1;
		bottom: 15%;
	}
	.navbar-contact {
		display: flex;
		flex-direction: column;
	}
	.navbar-contact .phone {
		font-size: 1.5rem;
		margin-right: 0;
		margin-bottom: 2rem;
	}
	.navbar-contact .btn {
		margin-bottom: 2rem;
	}
	.btn-primary {
		font-size: 1rem;
	}
}

@media (max-width: 575px) {
	.navbar-dark .navbar-brand {
		padding: 0.3125rem 0;
	}
	/* container padding управляется через section */
}

.navbar-toggler {
	border-radius: 0;
	position: relative;
	padding: 0;
	width: 28px;
	height: 20px;
	transition: .5s ease-in-out;
}

.navbar-toggler span {
	display: block;
	position: absolute;
	width: 100%;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	transition: .25s ease-in-out;
	height: 3px;
	background-color: #000;
	background-color: var(--white);
}

.navbar-toggler span:nth-child(1) {
	top: 0;
}

.navbar-toggler span:nth-child(2), .navbar-toggler span:nth-child(3) {
	top: 8px;
}

.navbar-toggler span:nth-child(4) {
	top: 16px;
}

.navbar-toggler.opened span:nth-child(1) {
	top: 8px;
	width: 0%;
	left: 50%;
}

.navbar-toggler.opened span:nth-child(2) {
	transform: rotate(45deg);
}

.navbar-toggler.opened span:nth-child(3) {
	transform: rotate(-45deg);
}

.navbar-toggler.opened span:nth-child(4) {
	top: 8px;
	width: 0%;
	left: 50%;
}

/* ===== ВИДЕО БАННЕР ===== */
.promo-video-section {
	background-color: var(--primary);
	padding-top: 74px !important;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 10rem;
}

@media (max-width: 991px) {
	.promo-video-section {
		padding-top: 66px !important;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 767px) {
	.promo-video-section {
		padding-top: 66px !important;
	}
}

@media (max-width: 479px) {
	.promo-video-section {
		padding-top: 66px !important;
	}
}

.promo-video-wrap {
	position: relative;
	width: 100%;
	min-height: 750px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
}

.promo-video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.promo-video-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.promo-video-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 1rem;
}

.promo-video-content .row {
	align-items: center;
}

.promo-video-content h1 {
	font-size: 5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
	text-transform: uppercase;
}

.promo-video-content h3:not(.mobile-subheader) {
	font-size: 2.25rem;
	font-weight: 400;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.promo-video-content h2.mobile-subheader {
	font-size: 1.1rem !important;
	font-weight: 400;
}

/* Белая кнопка с красной обводкой */
.btn-hero-outline {
	background-color: #ffffff !important;
	color: #cc0000 !important;
	border: 3px solid #cc0000 !important;
	font-weight: 700;
}
.btn-hero-outline:hover, .btn-hero-outline:focus {
	background-color: #cc0000 !important;
	color: #ffffff !important;
	border-color: #cc0000 !important;
}

@media (max-width: 1199px) {
	.promo-video-wrap { min-height: 700px; }
	.promo-video-section { padding-bottom: 8rem; }
}

@media (max-width: 991px) {
	.promo-video-wrap { min-height: 600px; }
	.promo-video-content h1 { font-size: 3.5rem; }
	.promo-video-content h3:not(.mobile-subheader) { font-size: 1.6rem; }
	.promo-video-section { padding-top: 66px !important; padding-bottom: 6rem; }
}

@media (max-width: 767px) {
	.promo-video-wrap {
		min-height: 520px;
		border-radius: 20px;
		flex-direction: column;
	}
	.promo-video-content h1 { font-size: 2.4rem; }
	.promo-video-content h3:not(.mobile-subheader) { font-size: 1.2rem; }
	.promo-video-section { padding-top: 66px !important; padding-bottom: 0; }
}

@media (max-width: 680px) {
	.promo-video-wrap { min-height: 470px; }
}

@media (max-width: 575px) {
	.promo-video-wrap {
		min-height: 420px;
		border-radius: 16px;
	}
	.promo-video-content h1 { font-size: 2rem; }
	.promo-video-content h3:not(.mobile-subheader) { font-size: 1rem; }
}

@media (max-width: 480px) {
	.promo-video-wrap { min-height: 330px; }
}

@media (max-width: 440px) {
	.promo-video-wrap { min-height: 290px; }
	.promo-video-content h1 { font-size: 1.6rem; }
}

@media (max-width: 390px) {
	.promo-video-wrap { min-height: 250px; }
}

.promo-bg {
	position: relative;
	width: 100%;
	min-height: 750px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.promo-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../images/01.webp");
	background-size: cover;
	background-position: center;
	filter: brightness(.8);
}

.promo-inner {
	align-items: center;
}

.fs-modules-row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	align-items: end;
}

#fs-modules {
	margin-top: -312px;
	background-color: var(--primary);
}

#fs-modules-mobile {
	background-color: var(--primary);
}

#module-l, #module-r {
	position: relative;
	width: 100%;	
}

#module-l {
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

/* Базовое правило: изображение в #module-l не должно растягиваться.
   Отдельные брейкпоинты переопределяют height/object-fit под свои нужды. */
#module-l img {
	max-width: 100%;
	height: auto;
	display: block;
}

#module-r {
	-ms-flex: 0 0 66.666667%;
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
	background-color: var(--secondary);
	left: 5%;
	backdrop-filter: blur(10px);
	position: relative;
	z-index: 2;
}

#module-r-mobile {
	background-color: var(--secondary);
}

.modules-lead {
	font-size: 1.3em;
	font-weight: 700;
	display: inline-block;
}

#module-r h2, #module-r-mobile h2 {
	font-weight: 700;
	text-transform: uppercase;
}

#about-info {
	background-color: var(--light);
}
/* Секция О нас: весь текст 1rem */
#about-info p:not(.numb),
#fs-modules-mobile p:not(.numb),
#module-r p:not(.numb),
#module-r-mobile p:not(.numb) {
	font-size: 1rem;
}


.about-logo {
	max-width: 280px;
	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
}

.numb {
	font-weight: 700;
	font-size: 8rem;
	color: var(--light);
}

.mobile-subheader {
	position: relative;
	text-align: left;
	padding: 1rem 0;
	padding-left: 0 !important;
	width: 100%;
}

h2.mobile-subheader {
	font-size: 1.2rem;
}

.mobile-subheader h2 {
	font-size: 1rem;
}

@media (max-width: 1199px) {
	.numb {
		font-size: 6rem;
	}
	#module-l {
		height: 270px;
		max-width: 40%;
		flex-basis: 37%;
	}
	#module-l img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#module-r {
		left: 3%;
		max-width: 80%;
		flex-basis: 63%;
	}
	#fs-modules {
		padding-bottom: 5rem;
	}
	/* #about-info — стандартный отступ секции */
	.btn-primary.btn-lg {
		font-size: 1rem;
		padding: 1rem 2rem;
	}
	.promo-bg {
		min-height: 700px;
	}
	.wa-link {
		  margin-right: .7rem;
	}
}

@media (max-width: 991px) {
	#about .container, #fs-modules .container {
		width: 100%;
		max-width: unset;
		padding: 3rem;
	}
	#fs-modules {
		margin-top: -420px;
	}
	.wa-link {
		margin-right: 3rem;
	}
	.promo-bg {
		min-height: 600px;
	}
}

/* Планшеты (Galaxy Tab, iPad портрет и ландшафт): фото и блок цифр — колонкой */
@media (min-width: 768px) and (max-width: 1199px) {
	.fs-modules-row {
		flex-direction: column;
	}
	#module-l {
		max-width: 100%;
		flex-basis: 100%;
		height: 300px;
		border-radius: 30px;
	}
	#module-l img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#module-r {
		max-width: 100%;
		flex-basis: 100%;
		left: 0;
		margin-top: 1rem;
		border-radius: 30px;
	}
	#fs-modules {
		margin-top: 0;
		padding: 2rem 20px 4rem;
	}
}

@media (max-width: 767px) {
	
	.promo-bg {
		flex-direction: column;
		min-height: 520px;
	} 
	
	#fs-modules {
		margin-top: -370px;
	}
	.numb {
		font-size: 4rem;
	}
	#module-r {
		padding: 2rem !important;
	}
	#about h1 {
		font-size: 3rem;
	}
	.btn-primary.btn-lg {
		padding: .8rem 1rem;
	}
	.promo-inner {
		width: 100%;
		margin-top: 50px !important;
	}
	.promo-inner .pr-5 {
		padding-left: 0 !important;
	}
	.mobile-subheader {
		padding: 1rem 0;
	}
}

@media (max-width: 717px) {
	.mobile-subheader {
		padding-top: .5rem;
	}
	.promo-bg {
		min-height: 470px;
	} 
}

@media (max-width: 640px) {
	.promo-bg {
		min-height: 420px;
	}
	.promo-inner {
		margin-top: 55px !important;
		align-items: start;
	}
	.promo-inner .pr-5 {
		padding-right: 0 !important;
	}
	.promo-inner .pl-5 {
		padding-left: 1rem !important;
	}
	#about h1 {
		font-size: 2.5rem;
	}
	.mobile-subheader {
		padding-top: 0;
		padding-bottom: 0;
	}
	#module-l {
		height: 200px;
		flex-basis: 33%;
	}
	#module-r {
		flex-basis: 67%;
	}
	.mobile-subheader {
		padding-left: 0;
		font-size: 1.25rem !important;
	}
	#fs-modules {
		margin-top: -385px;
	}
	#module-r {
		padding: 1.5rem !important;
	}
	#module-r p {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}
	.numb {
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 611px) {
	#fs-modules {
		margin-top: -400px;
	}
}

@media (max-width: 575px) {
	#about {
		padding-top: 2rem;
	}
	.promo-inner {
		margin-top: 0 !important;
		align-items: center;
	}
	.promo-inner p {
		font-size: .8rem;
	}
	.promo-inner .pl-5 {
		padding-left: 0 !important;
	}
	#about h1 {
		font-size: 2rem;
	}
	#about {
		padding-bottom: 0;
	}
	#fs-modules-mobile {
		overflow-x: hidden;
	}
	#fs-modules-mobile .container {
		padding: 0 calc(3rem - 15px) 5rem calc(3rem - 15px);
	}
	#about .container, #fs-modules .container {
		padding-bottom: 0;
	}
	#bg-e::after {
		content: '';
		background-image: url("../images/02.webp");
		width: 340px;
		display: block;
		height: 232px;
		border-radius: 50px;
		position: absolute;
		left: 0;
	}
	.promo-bg {
		min-height: 330px;
	} 
}

@media (max-width: 520px) {
	#about h1 {
		margin-bottom: 0;
	}
	.promo-inner .col-6 {
		width: 100% !important;
		max-width: unset;
		flex-basis: 100%;
		padding: 0;
	}
}

@media (max-width: 480px) {
	#module-r-mobile {
		background-color: var(--primary);
		padding: 0 !important;
	}
	#module-r-mobile .row {
		flex-direction: column;
	}
	#bg-e::after {
		display: none;
	}
	#fs-modules-mobile::before {
		content: '';
		background-image: url("../images/02.webp");
		width: 43%;
		display: block;
		height: 464px;
		border-radius: 30px 0 0 30px;
		position: absolute;
		right: 0;
		margin-top: 8rem;
	}
	#fs-modules-mobile .container {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.numb-block {
		max-width: 60%;
	}
	.promo-bg {
		min-height: 290px;
	} 
}

@media (max-width: 440px) {
	.promo-bg {
		min-height: 250px;
	}
}

@media (max-width: 390px) {
	.promo-bg {
		min-height: 220px;
	}
}

@media (max-width: 380px) {
	#fs-modules-mobile::before {
		margin-top: 9rem;
	}
}

@media (max-width: 379px) {
	#fs-modules-mobile::before {
		margin-top: 10rem;
	}
}

@media (max-width: 363px) {
	#fs-modules-mobile::before {
		margin-top: 11rem;
	}
}

@media (max-width: 348px) {
	#fs-modules-mobile::before {
		margin-top: 12rem;
	}
}

.description {
	font-size: 0.9rem;
}



.icon-block {
	margin: 3rem 0;
	display: flex;
}

#about-info h3 {
	font-size: 1.05rem;
	font-weight: 500;
	color: #1a1a1a;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.5;
}

@media (max-width: 767px) {
	#about-info .about-photo-col {
		margin-top: 1.5rem;
	}
}

.icon {
	width: 64px;
	height: 64px;
	display: block;
	background-color: #ffffff;
	border-radius: 1rem;
	float: left;
	margin-right: 2rem;
}

.icon::before {
	content: '';
	position: relative;
	width: 77px;
	height: 77px;
	display: block;
}

#icon-1::before {
	background-image: url("../images/icons/01.svg");
	top: 8px;
	left: 0;
}

#icon-2::before {
	background-image: url("../images/icons/02.svg");
	top: 5px;
	left: 3px;
}

#icon-3::before {
	background-image: url("../images/icons/03.svg");
	top: 5px;
	left: 3px;
}

#icon-4::before {
	background-image: url("../images/icons/04.svg");
	top: 0;
	left: 7px;
}

#icon-5::before {
	background-image: url("../images/icons/05.svg");
	top: 8px;
	left: 2px;
}

@media (max-width: 767px) {
	.icon-block {
		margin-top: 2rem;
		margin-bottom: 2rem;
	}
}

@media (max-width: 575px) {
	.icon-block {
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 400px) {
	.icon-block {
		margin-top: .75rem;
		margin-bottom: .75rem;
	}
	.icon {
		width: 55px;
		height: 55px;
	}
	.icon::before {
		width: 66px;
		height: 66px;
	}
}

#divider {
	background-color: var(--light);
	border-top: 2px solid var(--brand-red);
}

#divider h4 {
	font-size: 1.25rem;
	font-weight: 400;
}

#icon-6 {
	background-color: var(--white);
}

#icon-6::before {
	background-image: url("../images/icons/check.svg");
	top: -5px;
	left: 5px;
}

#icon-7::before {
	background-image: url("../images/icons/error.svg");
}

#team {
	background-color: var(--primary);
}

.team-card {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	width: auto;
}

.team-card-upper {
	height: 708px;
}

.team-card-lower {
	height: 616px;
}

#team-1 {
	background-image: url("../images/team/team-1.webp");
}

#team-2 {
	background-image: url("../images/team/team-2.webp");
}

#team-3 {
	background-image: url("../images/team/team-3.webp");
}

#team-4 {
	background-image: url("../images/team/team-4.webp");
}

#team-5 {
	background-image: url("../images/team/team-5.webp");
}

.team-inner {
	width: 100%;
	height: 100%;
	background-color: rgba(28, 27, 27, 0.75);
	opacity: 0;
	transition: all 0.4s ease;
}

.team-inner:hover {
	opacity: 1;
}

.team-inner-text {
	display: flex;
	flex-direction: column;
	justify-content: end;
	height: 100%;
	transform: translateY(30px);
	transition: all 0.4s ease;
}

.team-inner-text:hover {
	transform: translateY(0);
}

.team-inner h3 {
	color: var(--white);
	font-weight: 600;
	font-size: 1.25rem;
	position: absolute;
	top: 3rem;
}

.team-inner h4 {
	position: absolute;
	top: 5rem;
}

.team-inner-lower p {
	font-size: 1rem;
}

.team-inner-lower h3 {
	top: 1.5rem;
}

.team-inner-lower h4 {
	top: 3.5rem;
}

.team-inner h4, .team-inner a {
	color: #77c16d;
	font-weight: 600;
	font-size: 1rem;
}

.team-inner p {
	color: var(--white);
}

@media (max-width: 1199px) {
	.team-card-upper .team-inner-text p, .team-inner-lower .team-inner-text p {
		font-size: .8rem;
	}
}

@media (max-width: 991px) {
	.team-card-upper {
		height: 600px;
	}
	.team-card-lower {
		height: 550px;
	}
	.team-inner-text {
		padding: 2rem !important
	}
}

@media (max-width: 575px) {
	.team-card-upper {
		height: 550px;
	}
	.team-card-lower {
		height: 550px;
	}
	.team-inner-text {
		padding: 1.5rem !important
	}
	.team-inner h3 {
		top: 1.5rem;
	}
	.team-inner h4 {
		top: 3.5rem;
	}
}

.service-header, .service-body {
	height: 265px;
	display: flex;
	flex-direction: column;
	justify-content: end;
	padding: 2rem;
}

.service-header {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	border-radius: 30px 30px 0 0;
}

.service-body h3,
.service-body h4 {
	font-weight: 600;
	font-size: 1.25rem;
	flex: auto;
	text-align: center;
	margin-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.service-body {
	background-color: var(--primary);
	color: var(--white);
	border-radius: 0 0 30px 30px;
}

.service-body .btn-primary, .swiper-video .btn-primary {
	background-color: var(--white);
	font-weight: 600;
	font-size: 1rem;
	color: #cc0000;
}

.service-body .dropdown-divider {
	border-top: 2px solid #cc0000;
	opacity: 1;
}

.service-body .btn-primary:hover, .swiper-video .btn-primary:hover {
	background-color: var(--dark-light);
	color: #cc0000;
}

#service-1 .service-header {
	background-image: url("../images/services/service-1.webp");
}

#service-2 .service-header {
	background-image: url("../images/services/service-2.webp");
}

#service-3 .service-header {
	background-image: url("../images/services/service-3.webp");
}

#service-4 .service-header {
	background-image: url("../images/services/service-4.webp");
}

#service-5 .service-header {
	background-image: url("../images/services/service-5.webp");
}

#service-6 .service-header {
	background-image: url("../images/services/service-6.webp");
}

#service-7 .service-header {
	background-image: url("../images/services/service-7.webp");
}

#service-8 .service-header {
	background-image: url("../images/services/service-8.webp");
}

#service-9 .service-header {
	background-image: url("../images/services/service-9.webp");
}

#service-10 .service-header {
	background-image: url("../images/services/service-10.webp");
}

#testimonials {
	background-color: var(--primary);
}

@media (max-width: 991px) {
	.service-header, .service-body {
		height: 250px;
		padding: 1.5rem;
	}
}
@media (max-width: 767px) {
	.service-header, .service-body {
		height: 235px;
		padding: 1.5rem;
	}
	.service-body p {
		flex: auto;
	}
}

.swiper {
	padding: 5rem 25rem !important;
	overflow-x: hidden;
}

.testimonial {
	background-color: var(--light);
}

.testimonial > p,
.testimonial-modal .modal-body p {
	color: #1a1a1a;
	font-weight: 500;
}

.testimonial-name {
	font-size: 1.25rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 0.2rem;
}

.tn-col {
	display: flex;
	flex-direction: column;
}

.testimonial-name .tn-text {
	display: inline-block;
	padding-bottom: 0.3rem;
	border-bottom: 3px solid #cc0000;
}

.testimonial-stars {
	display: flex;
	gap: 0.2rem;
	margin: 1rem 0 0;
}

.testimonial-stars .star-icon {
	width: 1.1rem;
	height: 1.1rem;
	fill: #ffcc00;
}

.testimonial-name::before {
	content: '';
	width: 80px;
	height: 80px;
	margin-right: 1rem;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid #2a2a2a;
}

.testimonial-name.m::before {
	background-image: url("../images/icons/m.svg");
}

.testimonial-name.f::before {
	background-image: url("../images/icons/f.svg");
}

.testimonial-name.tn-1::before { background-image: url("../images/testimonials/avatar-1.webp"); }
.testimonial-name.tn-2::before { background-image: url("../images/testimonials/avatar-2.webp"); }
.testimonial-name.tn-3::before { background-image: url("../images/testimonials/avatar-3.webp"); }
.testimonial-name.tn-4::before { background-image: url("../images/testimonials/avatar-4.webp"); }
.testimonial-name.tn-5::before { background-image: url("../images/testimonials/avatar-5.webp"); }

.modal-header .testimonial-header .testimonial-name {
	margin-bottom: 0;
}

@media (max-width: 1199px) {
	.swiper {
		padding: 5rem 10rem !important;
	}
}

@media (max-width: 991px) {
	.swiper {
		padding: 3rem 2rem !important;
	}
}

@media (max-width: 767px) {
	.swiper {
		padding: 2rem 1.5rem !important;
	}
	.testimonial {
		padding: 2rem !important;
	}
}

@media (max-width: 575px) {
	.testimonial:not(.modal-content) {
		padding: 1.5rem !important;
		max-height: 520px;
		overflow-y: hidden;
		
	}
	.testimonial-name::before {
		width: 60px;
		height: 60px;
		
	}
	
	.testimonial:not(.modal-content)::after {
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		border-radius: 50px;
		background: linear-gradient(to top, #e1e1e1 5%, #e1e1e1f0 10%, #fff0 25%);
	}
}

@media (max-width: 460px) {
	.swiper {
		padding: 1.5rem 1.5rem !important;
	}
}

.swiper-video {
	padding: 5rem 6rem !important;
	overflow-x: hidden;
}

@media (min-width: 576px) {
	.swiper-video .swiper-slide:not(.swiper-slide-next) .testimonial-video {
		transform: scale(0.92);
	}
}

.testimonial-video {
	min-height: 570px;
	display: flex;
	flex-direction: column;
	justify-content: end;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	transition: all 0.3s ease;
}

.testimonial-video, .testimonial-video h4 {
	color: var(--white);
}

.testimonial-video h4 {
	font-size: 1.25rem;
	display: flex;
	align-items: center;
}

.tv-name::before {
	content: '';
	width: 56px;
	height: 56px;
	margin-right: 0.8rem;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid #2a2a2a;
}

.tv-1::before { background-image: url("../images/testimonials/video-avatar-1.webp"); }
.tv-2::before { background-image: url("../images/testimonials/video-avatar-2.webp"); }
.tv-3::before { background-image: url("../images/testimonials/video-avatar-3.webp"); }
.tv-4::before { background-image: url("../images/testimonials/video-avatar-4.webp"); }
.tv-5::before { background-image: url("../images/testimonials/video-avatar-5.webp"); }

.tv-name-text {
	display: inline-block;
	padding-bottom: 0.3rem;
	border-bottom: 3px solid #cc0000;
}

.tv-stars-new {
	justify-content: flex-start;
	margin-left: 0;
	margin-top: 0.6rem;
	margin-bottom: 0.6rem;
}

.testimonial-video::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.5);
}

.testimonial-video-inner {
	position: relative
}

.tv-stars {
	text-align: center;
	font-size: 1.1rem;
	line-height: 1;
	letter-spacing: 2px;
	margin-bottom: 0.5rem;
	white-space: nowrap;
}

.testimonial-video-inner .btn-primary {
	font-size: 0.9rem;
	padding: .9rem 0;
	width: 100%;
}

#testimonial-video-1 {
	background-image: url("../images/testimonials/video-1.webp");
}

/* Инлайн-видео в карточке отзыва */
.tv-inline-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	background: #000;
	z-index: 5;
}

.tv-pause-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.55);
	border-radius: 50%;
	z-index: 6;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tv-pause-indicator.show {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.testimonial-video.is-playing::before {
	display: none;
}

.testimonial-video.is-playing .testimonial-video-inner {
	display: none;
}

.testimonial-video.is-playing .tv-stars {
	display: none;
}

.testimonial-video {
	position: relative;
}

#testimonial-video-2 {
	background-image: url("../images/testimonials/video-2.webp");
}

#testimonial-video-3 {
	background-image: url("../images/testimonials/video-3.webp");
}

#testimonial-video-4 {
	background-image: url("../images/testimonials/video-4.webp");
}

#testimonial-video-5 {
	background-image: url("../images/testimonials/video-5.webp");
}

@media (max-width: 1600px) {
	.swiper-video {
		padding: 5rem 5rem !important;
	}
}

@media (max-width: 1366px) {
	.swiper-video {
		padding: 5rem 4rem !important;
	}
}

@media (max-width: 1280px) {
	.swiper-video {
		padding: 4rem 3rem !important;
	}
}

@media (max-width: 1199px) {
	.swiper-video {
		padding: 3rem 2rem !important;
	}
}

@media (max-width: 575px) {
	.swiper-video {
	  padding: 3rem 1.5rem !important;
	}
	
	.swiper-video .swiper-slide:not(.swiper-slide-active) .testimonial-video {
		transform: scale(0.92);
	}
}

@media (max-width: 475px) {
	.swiper-video {
		padding: 3rem 1.5rem !important;
		padding-bottom: 0 !important;
	}
}

@media (max-width: 390px) {
	.swiper-video {
	  padding: 2.5rem 1rem !important;
	}
}


#career {
	background-color: var(--light)
}

#career p {
	color: #1a1a1a;
	font-weight: 500;
}

.vacancy {
	background-color: var(--white);
}

.vacancy p {
	color: #1a1a1a;
	font-weight: 500;
}

.invest-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
	border-radius: 16px;
}

.vacancy .mt-4 {
	text-align: center;
	display: flex;
	justify-content: center;
}

.vacancy .mt-4 .btn {
	margin-left: auto;
	margin-right: auto;
}

.vacancy-logo {
	max-width: 240px;
	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
	border-radius: 0 !important;
}

.vacancy:hover {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px 0px;
}

.vacancy a {
	color: #212529;
	font-weight: 600;
	margin-right: 1.5rem;
}

.vacancy a img {
	border-radius: 0 !important;
}

span.distance {
	font-size: .8rem;
	opacity: .7
}

.vacancy .has-icon::after, span.distance::before {
	content: "\00a0→";
	font-family: Arial,Helvetica,sans-serif;
	margin-right: .5rem;
}

#contacts {
	background-color: #2a2a2a;
	padding: 0 !important;
	color: var(--light);
}

#contacts h2, #contacts h1 {
	color: var(--light);
}

.contact-row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.contact-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.metro-01, .metro-02, .metro-03 {
	width: 10px;
	height: 10px;
	display: inline-block;
	position: relative;
	border-radius: 50%;
	margin-right: .5rem;
}

.metro-01, .metro-02 {
	background-color: var(--brand-red);
}

.metro-03 {
	background-color: rgb(234, 65, 132);
}

.contact-column .icon-block {
	margin: 0;
}

#icon-8 {
	background: none;
	width: 50px;
	height: 50px;
	margin-right: .5rem;
}

#icon-8::before {
	background-image: url("../images/icons/navi.svg");
	width: 50px;
	height: 50px;
	background-size: 40px;
	background-position: 0%, 0%;
	background-repeat: no-repeat;
}

footer {
	background-color: var(--primary);
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.footer-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.footer-nav li {
	display: inline;
	margin-right: .5rem;
}

ul.footer-nav li a {
	color: #ffffff !important;
	text-decoration: none;
	font-weight: 600;
}

ul.footer-nav li a:hover {
	color: #ffffff !important;
}

.copy {
	color: var(--light);
	font-size: 0.9rem;
}

.navi {
	color: var(--light);
	text-decoration: none;
}

a.copy {
	text-decoration: underline;
}

a.copy:hover {
	color: var(--light);
}
a.navi:hover, .navi:hover, a.navi p:hover {
	color: var(--light);
	text-decoration: underline;
}

a.navi p {
	float: right;
}

.btn-outline-primary {
	color: var(--light);
	border: 2px solid var(--light);
	font-weight: 600;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
	color: var(--primary) !important;
	background-color: var(--light) !important;
	border: 2px solid var(--light) !important;
}

@media (max-width: 767px) {
	.footer-nav, .copy {
		padding-left: 0;
	}
	.d-md-none {
		text-align: center;
	}
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5;
	background-color: var(--primary);
	width: 100vw;
	height: 100vh;
	transition: all .8s ease-in-out;
	opacity: 0;
	display: none;
}

.overlay.h-fixed {
	display: block;
	opacity: 1;
}

.b-fixed {
	overflow: hidden;
}

.testimonial-modal .modal-dialog {
	max-width: 600px;
	width: 90%;
	margin: 80px auto 2rem;
	transform: none !important;
	transition: none !important;
}

.testimonial-modal .modal-dialog .modal-content {
	border: none;
	border-radius: 30px;
	padding: 2.5rem 0 !important;
	background-color: var(--light);
	width: 100%;
}

.testimonial-modal .modal-header {
	padding: 0;
	min-height: 0;
}

.testimonial-modal .modal-body {
	padding-top: 0;
}

button.close {
	position: fixed;
	top: 2rem;
	right: 2rem;
	opacity: 1;
	width: 28px;
	height: 20px;
}

button.close span {
	display: block;
	position: absolute;
	width: 100%;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	transition: .25s ease-in-out;
	height: 3px;
	background-color: #ffffff;
}

.testimonial-modal button, .modal-header .close {
	margin: 0;
}

.testimonial-modal button.close span {
	background-color: #ffffff;
}

button.close span:nth-child(1) {
	transform: rotate(45deg);
}

button.close span:nth-child(2) {
	transform: rotate(-45deg);
}

@media (max-width: 991px) {
	button.close {
		top: 21px;
		right: 15px;
		padding: 0 !important;
		z-index: 100
			
	}
}

.modal-header {
	flex-direction: column;
	padding: 3rem 2rem 1rem;
	border-bottom: none;
}

.modal-body {
	padding: 2rem;
}

.modal-header h3, .form-card h3 {
	font-weight: 600;
	margin-bottom: 1.5rem;
	padding: 0 1rem;
	font-size: 1.5rem;
}

.service-modal .modal-content {
	overflow: hidden;
	border-radius: 30px;
	border: none;
}

.service-modal .modal-header {
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: var(--primary);
	border-radius: 0;
}

.service-modal .modal-header h3 {
	display: inline-block;
	padding-bottom: 0.6rem;
	border-bottom: 3px solid #cc0000;
	color: #fff;
}

.service-modal .modal-footer:not(.form-footer) {
	justify-content: center;
}

fieldset:not(:first-of-type) {
	display: none;
}

.form-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 288px;
}

.fs-resp .form-card {
	justify-content: center;
}

.form-group {
	margin-bottom: .25rem;
}

.form-control::placeholder {
	color: #6c757d;
	font-weight: 400;
}

.form-control {
	color: var(--dark);
	font-weight: 600;
}

.modal-footer {
	border-top: none;
	justify-content: flex-start;
}

.modal-footer:not(.form-footer) {
	padding: 1rem 2rem 2rem;
}

.modal-backdrop.show {
	opacity: 1;
	background: radial-gradient(circle, rgba(0,0,0,0.7) 0%, rgba(0,0,0,1) 100%);
}

.form-control:focus, .form-control:invalid:focus, .was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated .form-control:valid:focus, .form-control.is-valid:focus {
	box-shadow: none;
}

.form-card .icon {
	float: none;
	width: 100%;
	margin: 1rem auto;
	display: flex;
	justify-content: center;
	background: none;
	height: 77px;
}

.form-card #icon-6::before {
	top: 0;
	left: 0;
}

@media (max-width: 991px) {
	.form-card h3 {
		margin-bottom: 1rem;
	}
}

.was-validated #service:valid, .was-validated textarea.form-control:valid {
	background: none;
}

#service select {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}

.service-modal h4 {
	font-size: 1.2rem;
	margin-bottom: .5rem;
	color: #1a1a1a;
	font-weight: 700;
}

.service-modal li, .service-modal p {
	font-size: 1rem;
	color: #1a1a1a;
	font-weight: 500;
}

.service-modal li::marker {
	color: #cc0000;
}

.service-modal .fn-star {
	color: #cc0000;
}

@media (max-width: 1199px) {
	.modal.show:not(.testimonial-modal) .modal-dialog {
		width: 70%;
	}
}

@media (max-width: 991px) {
	.modal.show:not(.testimonial-modal) .modal-dialog {
		width: 90%
	}
	.modal-footer:not(.form-footer) {
		padding: .5rem 2rem 1.5rem;
	}
	.modal-body {
		padding: 2rem;
	}
	.modal-header {
		padding: 2rem 2rem .5rem;
	}
}

@media (max-width: 767px) {
	.modal.show:not(.testimonial-modal) .modal-dialog {
		width: 95%;
		margin: auto;
		margin-top: 62px;
		margin-bottom: 80px;
	}
	.modal-footer.form-footer {
		padding: 0 1rem;
	}
	
	.modal-footer:not(.form-footer) {
		padding: .5rem 1.5rem 1.5rem;
	}
	.modal-body {
		padding: 1.5rem;
	}
	.modal-header {
		padding: 1.5rem 1.5rem .5rem;
	}
	.form-card {
		min-height: 270px;
	}
	.modal-header h3, .form-card h3 {
		font-size: 1.25rem;
		margin-bottom: .5rem;
	}
	.service-modal h4 {
		font-size: 1.125rem;
	}
	
}

@media (max-width: 660px) {
	.form-card {
		min-height: 290px;
	}
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 80%;
	}
}


@media (max-width: 575px) {
	
	.modal-content.rounded {
		border-radius: 30px !important;
	}
	.modal-body {
		padding: 1rem 1.5rem;
	}
	.modal-header h3 {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0;
	}
	.form-card h3 {
		text-align: center;
		margin: 0 0 .5rem 0;
		padding: 0 2rem;
	}
	.form-card {
		min-height: 280px;
	}
	.form-group {
		margin-bottom: 0;
		padding: .5rem 0;
	}
	.modal-footer, .modal-footer.form-footer {
		padding: 0;
		justify-content: center;
	}
	.form-card.text-center {
		justify-content: center;
	}
}

@media (max-width: 360px) {
	.modal-body {
		padding: 1rem;
	}
	ol, ul, dl {
		padding-left: 1.5rem;
	}
}

@media (min-width: 1366px) {
	.modal-dialog:not(#modal-form .modal-dialog):not(#modal-partner .modal-dialog) {
		max-width: 60%;
	}
}

@media (min-width: 1600px) {
	.modal-dialog:not(#modal-form .modal-dialog):not(#modal-partner .modal-dialog) {
		max-width: 50%;
	}
}

.swiper-pagination {
	position: relative !important;
	margin-top: 2rem;
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
}

.swiper-pagination-bullet {
	border-radius: 0 !important;
	height: 2px !important;
	width: 18% !important;
	max-width: 60px;
	margin: 0 !important;
	flex: 1 1 auto;
	background: rgba(255,255,255,0.3) !important;
	opacity: 1 !important;
}

.swiper-pagination-bullet-active {
	background: #cc0000 !important;
}

.form-control {
	border-radius: 0;
	border-top: 0;
	border-right: 0;
	border-left: 0;
}
/* ===== КАПИТАЛ ФОНД — кастомные стили ===== */

/* Кнопка Оформить заявку — единый стиль везде */
.btn-green.btn-primary {
	padding: 0.7rem 1.8rem !important;
	font-size: 1rem !important;
	border-radius: 50px !important;
	font-weight: 700;
	white-space: nowrap;
}

.btn-lg {
	padding: 0.7rem 1.8rem;
	font-size: 1rem;
	border-radius: 50px;
}

/* Центрирование кнопок в блоках */
.prod-info .btn-green,
.prod-info .mt-3 {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

/* Форма заявки */
.form-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--primary);
}

.form-group input.form-control {
	border: 1.5px solid #e0e0e0;
	border-radius: 12px !important;
	padding: 1rem 1.2rem;
	background: #fafafa;
	font-size: 0.95rem;
	transition: border-color 0.2s;
}

.form-group input.form-control:focus {
	border-color: var(--brand-red);
	background: #fff;
	box-shadow: none;
}

.form-group input.form-control.is-invalid,
.was-validated .form-group input.form-control:invalid {
	border-color: #cc0000;
	background: #fff5f5;
}

.invalid-feedback {
	color: #cc0000;
	font-size: 0.8rem;
	padding-left: 0.5rem;
}

/* Кнопка + текст согласия рядом */
.form-consent {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	width: 100%;
}

.form-consent-text {
	font-size: 0.75rem;
	color: #888;
	margin: 0;
	line-height: 1.4;
}

.form-consent-text a {
	color: var(--brand-red);
}

.modal-footer.form-footer {
	padding: 1rem 1.5rem 1.5rem;
	border: none;
}

/* ===== БЛОК ПРОДУКТЫ + КАЛЬКУЛЯТОР ===== */

#products-calc {
	background-color: var(--light);
	padding-top: 5rem;
	padding-left: 30px;
	padding-right: 30px;
	margin-top: 0;
}

@media (min-width: 576px) {
	#products-calc {
		padding-top: 12rem;
		margin-top: -130px;
	}
}

/* Табы */
.products-tabs-wrap {
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.products-tabs {
	display: flex;
	flex-wrap: wrap;
	background: transparent;
	border-bottom: none;
	gap: 10px;
	margin-bottom: 20px;
}

.prod-tab {
	flex: 1 1 calc(50% - 5px);
	min-height: 96px;
	padding: 0 1.2rem 0 0;
	border: 2px solid #e0e0e0;
	background: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.27rem;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.25s;
	border-radius: 30px;
	outline: none;
	text-align: left;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	display: flex;
	align-items: center;
	gap: 0;
	overflow: hidden;
}

.prod-tab-text {
	flex: 1;
}

.prod-tab-img {
	flex-shrink: 0;
	align-self: stretch;
	width: 110px;
	height: 100%;
	border: none;
	border-radius: 30px 0 0 30px;
	background-color: #f0f0f0;
	filter: grayscale(100%);
	transition: filter 0.25s;
	object-fit: cover;
	object-position: center;
}

.prod-tab:hover .prod-tab-img,
.prod-tab.active .prod-tab-img {
	filter: grayscale(0%);
}

.prod-tab:hover {
	color: #cc0000;
	border-color: #cc0000;
	background: #fff8f8;
}

.prod-tab.active {
	color: #cc0000;
	background: #fff;
	border-color: #cc0000;
	box-shadow: 0 4px 16px rgba(204,0,0,0.13);
}

/* Контент табов — отдельный блок */
.prod-content {
	display: none;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 4px 30px rgba(0,0,0,0.08);
	padding: 2rem 2rem 2rem;
}

.prod-content.active {
	display: block;
}

@media (max-width: 575px) {
	.prod-content {
		padding: 1.5rem 1rem;
	}
}

@media (max-width: 767px) {
	.products-tabs {
		gap: 8px;
	}
	.prod-tab {
		flex: 1 1 100%;
		font-size: 1.13rem;
		padding: 0 0.8rem 0 0;
		border-radius: 30px;
		min-height: 84px;
	}
	.prod-tab-img {
		width: 90px;
	}
}

@media (max-width: 480px) {
	.prod-tab {
		flex: 1 1 100%;
		border-radius: 30px;
	}
}

/* Левая колонка: инфо */
.prod-info h3 {
	font-size: 1.3rem;
	font-weight: 700;
	color: #2a2a2a;
	margin-bottom: 1.2rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.prod-info h3::before {
	content: '';
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	border: 2px solid #cc0000;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#tab1 .prod-info h3::before { background-image: url("../images/tab-1.webp"); }
#tab2 .prod-info h3::before { background-image: url("../images/tab-2.webp"); }
#tab3 .prod-info h3::before { background-image: url("../images/tab-3.webp"); }
#tab4 .prod-info h3::before { background-image: url("../images/tab-4.webp"); }
#tab5 .prod-info h3::before { background-image: url("../images/tab-5.webp"); }
#tab6 .prod-info h3::before { background-image: url("../images/tab-6.webp"); }

.prod-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
}

.prod-list li {
	padding: 0.4rem 0 0.4rem 1.5rem;
	position: relative;
	font-size: 1.05rem;
	color: #1a1a1a;
	line-height: 1.5;
	font-weight: 500;
}

.prod-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: #cc0000;
	border-radius: 50%;
}

/* Правая колонка: калькулятор */
.prod-calc-col {
	padding-left: 2rem;
}

@media (max-width: 991px) {
	.prod-calc-col {
		padding-left: 0;
		padding-right: 0;
		margin-top: 1.5rem;
	}
	#products-calc {
		padding-left: 20px;
		padding-right: 20px;
	}
}

.calc-box {
	background: #f8f8f8;
	border: 1px solid #eee;
}

.calc-box h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: #2a2a2a;
}

.calc-field {
	margin-bottom: 1.3rem;
}

.calc-label-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	color: #1a1a1a;
	font-weight: 600;
}

.calc-val {
	font-weight: 700;
	color: #2a2a2a;
	font-size: 1rem;
}

/* Слайдер */
.calc-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 5px;
	border-radius: 5px;
	background: linear-gradient(to right, #cc0000 0%, #ddd 0%);
	outline: none;
	cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #cc0000;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(204,0,0,0.3);
	border: 2px solid #fff;
}

.calc-range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #cc0000;
	cursor: pointer;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(204,0,0,0.3);
}

.calc-range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: #555; /* #666 на #e1e1e1 не проходил WCAG AA 4.5:1; #555 → 5.71:1 */
	margin-top: 0.3rem;
}

/* Регулятор ставки */
.calc-rate-ctrl {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.rate-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #cc0000;
	background: transparent;
	color: #cc0000;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	padding: 0;
}

.rate-btn:hover {
	background: #cc0000;
	color: #fff;
}

.rate-val {
	min-width: 48px;
	text-align: center;
	font-size: 1rem;
}

/* Результат */
.calc-result {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	border-radius: 30px;
	padding: 1rem 1.5rem;
	margin-top: 0.5rem;
	border: 1.5px solid #e0e0e0;
}

@media (max-width: 575px) {
	.calc-result {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}

.calc-result span:first-child {
	color: #cc0000;
	font-size: 1rem;
	font-weight: 700;
}

.calc-payment {
	color: #cc0000 !important;
	font-size: 1.5rem;
	font-weight: 700;
}

.calc-disclaimer {
	font-size: 0.72rem;
	color: #555; /* #666 на фоне #e1e1e1 давал 4.39:1 (FAIL); #555 даёт 5.71:1 (OK) */
	margin-top: 0.8rem;
	margin-bottom: 0;
	line-height: 1.4;
}


/* ═══ МОДАЛЬНАЯ ФОРМА (стиль infond24.ru) ═══ */
.kf-form-card {
	width: 340px !important;
	max-width: 100% !important;
	border-radius: 30px !important;
	overflow: visible;
	border: none;
	box-shadow: 0 8px 40px rgba(0,0,0,0.18);
	background-color: #f5f5f5;
}

/* Паддинг формы — чтобы поля 300px помещались (340 - 2*20 = 300) */
.kf-form-card .modal-body {
	padding-left: 20px;
	padding-right: 20px;
}

.modal-dialog {
	max-width: 340px;
	margin: 1.75rem auto;
}

/* Срочная заявка — всегда 340px на всех экранах */
#modal-form .modal-dialog {
	max-width: 340px !important;
	width: 340px !important;
}

/* Стать партнёром — всегда 340px по центру */
#modal-partner .modal-dialog {
	max-width: 340px !important;
	width: 340px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.kf-form {
	padding: 0;
}

.kf-form-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4rem;
	font-weight: 900;
	color: #cc0000;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 0.5rem;
	letter-spacing: 0.5px;
}

.kf-form-title--dark {
	color: var(--primary);
}

.kf-partner-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	margin-bottom: 0.5rem;
}

.kf-partner-head .kf-form-title {
	margin-bottom: 0;
	text-align: left;
}

.kf-partner-logo {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

.kf-form-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	color: #2a2a2a;
	text-align: center;
	margin-bottom: 1.25rem;
	line-height: 1.6;
	font-weight: 400;
}

/* Floating label */
.kf-field {
	position: relative;
	margin-bottom: 0.5rem;
	width: 300px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.kf-input {
	width: 300px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 22px 16px 8px;
	border: 1px solid #9e9e9e;
	border-radius: 10px;
	background: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	color: #333;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
	height: 58px;
}

.kf-input:focus {
	border-color: #1a73e8;
	background: #fff;
	caret-color: #1a73e8;
}

/* Состояние ошибки */
.kf-field.is-error .kf-input {
	border-color: #cc0000;
	background: #fff0f0;
}

/* При фокусе обводка всегда синяя, фон розовый сохраняется */
.kf-field.is-error .kf-input:focus {
	border-color: #1a73e8;
	background: #fff0f0;
}

.kf-label {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9rem;
	color: #666;
}

.kf-label span {
	color: #cc0000;
}

/* Label поднимается при фокусе или заполнении */
.kf-input:focus ~ .kf-label,
.kf-input:not(:placeholder-shown) ~ .kf-label {
	top: 10px;
	transform: translateY(0);
	font-size: 0.72rem;
	color: #888;
}

.kf-input:focus ~ .kf-label {
	color: #888;
}

.kf-textarea {
	width: 300px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 22px 16px 8px;
	border: 1px solid #9e9e9e;
	border-radius: 10px;
	background: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	color: #333;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
	height: 120px; /* ~два поля по 58px + отступ */
	resize: vertical;
	min-height: 120px;
	/* Протяжка только вниз */
	resize: none;
}

/* Разрешаем resize только вниз через ручку */
.kf-textarea {
	resize: vertical;
	min-height: 120px;
	max-height: 400px;
}

.kf-textarea:focus {
	border-color: #1a73e8;
	background: #fff;
	caret-color: #1a73e8;
	outline: none;
}

/* Label для textarea — исходная позиция сверху-слева */
.kf-label-textarea {
	top: 18px;
	transform: none;
}

.kf-textarea:focus ~ .kf-label-textarea,
.kf-field.has-value .kf-label-textarea {
	top: 6px;
	transform: none;
	font-size: 0.72rem;
	color: #888;
}

.kf-textarea:focus ~ .kf-label-textarea {
	color: #888;
}

.kf-error {
	display: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	color: #cc0000;
	padding: 3px 4px 6px;
}

.kf-field.is-error .kf-error {
	display: block;
}

.kf-form-btn {
	width: 100%;
	padding: 16px;
	margin-top: 0.75rem;
	background: #aaa;
	color: #fff;
	border: none;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: default;
	transition: background 0.2s;
	pointer-events: none;
}

.kf-form-btn.is-ready {
	background: #cc0000;
	cursor: pointer;
	pointer-events: auto;
}

.kf-form-btn.is-ready:hover {
	background: #a00000;
}

.kf-form-consent {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.72rem;
	color: #555;
	text-align: left;
	margin-top: 0.75rem;
	margin-bottom: 0;
	line-height: 1.5;
}

.kf-form-consent a {
	color: #1a73e8;
	text-decoration: none;
}

.kf-form-result {
	text-align: center;
	padding: 1rem 0;
}

.kf-form-result h3 {
	color: #cc0000;
	font-family: 'Montserrat', sans-serif;
	margin: 1rem 0 0.5rem;
}

.kf-form-result p {
	color: #555;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}
/* ═══ / МОДАЛЬНАЯ ФОРМА ═══ */

/* ═══ ПРОКРУТКА МОДАЛЬНЫХ ОКОН ═══ */
.service-modal .modal-body,
#privacy .modal-body {
	max-height: calc(70vh - 50px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: auto;
	scrollbar-color: #cc0000 #e0e0e0;
}

.service-modal .modal-body::-webkit-scrollbar,
#privacy .modal-body::-webkit-scrollbar {
	width: 16px;
}

.service-modal .modal-body::-webkit-scrollbar-track,
#privacy .modal-body::-webkit-scrollbar-track {
	background: #e0e0e0;
	border-radius: 8px;
}

.service-modal .modal-body::-webkit-scrollbar-thumb,
#privacy .modal-body::-webkit-scrollbar-thumb {
	background-color: #cc0000;
	border-radius: 8px;
	border: 3px solid #e0e0e0;
}
/* ═══ / ПРОКРУТКА ═══ */

/* Кнопка ГОТОВО в окне успеха — зелёная и кликабельная */
.fs-ok .kf-form-btn {
	background: #37a441;
	cursor: pointer;
	pointer-events: auto;
}

.fs-ok .kf-form-btn:hover {
	background: #2d8a36;
}
@media (max-width: 767px) {
	.calc-box.rounded.p-4 {
		padding: 1rem !important;
	}
}

/* ═══ ПЛЕЙ/ПАУЗА на видеоотзывах ═══ */
.testimonial-video-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	text-align: left;
}

.testimonial-video-inner .tv-play-btn {
	align-self: center;
}

.tv-play-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s;
	outline: none;
	margin: auto;
	margin-bottom: 100px;
}

.tv-play-btn:hover {
	transform: scale(1.1);
}

.tv-play-btn svg {
	opacity: 0.6;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.tv-play-btn:hover svg {
	opacity: 0.85;
}
/* ═══ / ПЛЕЙ/ПАУЗА ═══ */

/* ═══ Футер — юридические ссылки ═══ */
.footer-legal {
	margin-top: 0;
	padding-left: 0;
	margin-bottom: 1rem;
}

.footer-legal li {
	list-style: none;
	margin-bottom: 0.4rem;
}

.footer-underline {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 0.85;
}

.footer-underline:hover {
	opacity: 1;
	color: inherit !important;
	text-decoration: underline;
}
/* ═══ / Футер — юридические ссылки ═══ */

/* ═══ Шаги получения кредита ═══ */
.prod-steps {
	padding-bottom: 2rem;
}

.prod-steps h2, .prod-faq h2 {
	font-size: 1.3rem;
	font-weight: 700;
	color: #2a2a2a;
	margin-bottom: 1.2rem;
	text-transform: none;
}

.prod-step {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 30px;
	padding: 1.2rem 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	overflow: hidden;
}

.prod-step-img {
	width: calc(100% + 3rem);
	max-width: calc(100% + 3rem);
	margin: -1.2rem -1.5rem 1rem -1.5rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.prod-step-row {
	display: flex;
	align-items: flex-start;
	gap: 1.2rem;
}

.prod-step-num {
	min-width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: #cc0000;
	font-weight: 700;
	font-size: 2.2rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-shrink: 0;
	padding-top: 0.15rem;
}

.prod-step-body h3 {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.3rem;
	color: #2a2a2a;
}

.prod-step-body p {
	margin-bottom: 0;
	font-size: 1rem;
	color: #1a1a1a;
	line-height: 1.5;
	font-weight: 500;
}

@media (min-width: 768px) {
	.prod-steps .row.justify-content-center > .col-12.col-md-10 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.2rem;
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}
	.prod-step {
		margin-bottom: 0;
	}
}

@media (max-width: 575px) {
	.prod-step {
		padding: 1rem;
	}
	.prod-step-row {
		gap: 1rem;
	}
	.prod-step-img {
		width: calc(100% + 2rem);
		max-width: calc(100% + 2rem);
		margin: -1rem -1rem 1rem -1rem;
		aspect-ratio: 16 / 9;
	}
	.prod-step-num {
		min-width: auto;
		height: auto;
		font-size: 2rem;
	}
}
/* ═══ / Шаги ═══ */

/* ═══ FAQ блоки ═══ */
.faq-wrap {
	background: #fff;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-item {
	border-bottom: 1px solid #eee;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 1.5rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 1.1rem;
	color: #2a2a2a;
	transition: background 0.2s;
	gap: 1rem;
}

.faq-question h3 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

.faq-question:hover {
	background: #fafafa;
}

.faq-arrow {
	flex-shrink: 0;
	transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
	font-size: 1rem;
	color: #1a1a1a;
	line-height: 1.5;
	margin: 0;
	font-weight: 500;
}

@media (max-width: 575px) {
	.faq-question {
		padding: 1rem;
	}
	.faq-answer {
		padding: 0 1rem;
	}
	.faq-item.active .faq-answer {
		padding: 0 1rem 1rem;
	}
}
/* ═══ / FAQ ═══ */