/* Тема и блоки под внешний вид https://bfk-irk.ru/ (цвета кнопок, шрифты, фоны — с публичной вёрстки) */

:root {
	--bfk-body: "Open Sans", arial, sans-serif;
	--bfk-title: "Ubuntu", arial, sans-serif;
	--bfk-text: #333;
	--bfk-muted: rgba(51, 51, 51, 0.72);
	--bfk-green: #20bf6b;
	--bfk-sky: #7dc9fe;
	--bfk-coral: #f19066;
	--bfk-orange-a: rgb(242, 157, 4);
	--bfk-orange-b: rgb(246, 144, 4);
	--bfk-dark: #111;
	--bfk-white: #fff;
	--bfk-overlay: rgba(0, 0, 0, 0.56);
	--bfk-container: 1200px;
	--bfk-section-y: 72px;
	--bfk-radius: 12px;
	--bfk-radius-sm: 8px;
	--bfk-realty-bg: #e8f3fa;
	--bfk-realty-bg-end: #dceaf4;
	--bfk-realty-accent: #3d8fd1;
	/* Высота sticky-шапки — отступ для якорей (#top, #zayavka, …) */
	--bfk-header-offset: 88px;
}

html {
	scroll-padding-top: var(--bfk-header-offset);
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: var(--bfk-body);
	color: var(--bfk-text);
	background: var(--bfk-white);
}

/* —— как .container у BTI —— */
.container {
	width: 100%;
	max-width: var(--bfk-container);
	min-width: 300px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0 auto;
}

.cols {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
}

.col {
	padding: 0 12px;
}

.hidden {
	display: none !important;
}

.hidd1200 {
	display: block;
}

/* —— типографика как на сайте (Ubuntu заголовки, Open Sans текст) —— */
.title-block {
	font-family: var(--bfk-title);
	font-weight: 400;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	color: #000;
}

.title-block span {
	color: var(--bfk-muted);
	font-size: 0.85em;
}

.title-hero {
	font-family: var(--bfk-title);
	font-weight: 400;
	font-size: clamp(22px, 3.2vw, 28px);
	line-height: 1.2;
	color: var(--bfk-white);
	text-align: center;
}

.title-hero + .subtitle {
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	text-align: center;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.title-section-sm {
	font-family: var(--bfk-title);
	font-size: clamp(18px, 2.2vw, 22px);
	line-height: 1.3;
	color: #000;
	text-align: center;
}

/* —— шапка —— */
.header {
	background: var(--bfk-white);
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.header__top {
	padding: 16px 0;
}

.header__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 12px 20px;
}

.header__brand {
	min-width: 0;
	justify-self: start;
}

.header__nav {
	justify-self: center;
}

.header__aside {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-width: 0;
	justify-self: end;
}

.header__contacts {
	text-align: right;
	line-height: 1.35;
}

.header__phones,
.header__phones-mob {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.header__phones-mob {
	display: none;
	line-height: 1.2;
}

.header__phone {
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	color: var(--bfk-text);
	opacity: 0.95;
	transition: opacity 0.2s;
}

.header__phone:hover {
	opacity: 0.55;
}

.header__address {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--bfk-muted);
}

.header__logo {
	font-family: var(--bfk-title);
	font-size: clamp(18px, 2.4vw, 26px);
	line-height: 1.2;
	text-align: left;
	color: var(--bfk-text);
	letter-spacing: 0.01em;
}

.header__logo p,
.header__logo-text {
	margin: 0;
	display: block;
}

.header__logo strong {
	font-weight: 700;
}

.header__logo .logo-o-1 {
	color: var(--bfk-orange-a);
}

.header__logo .logo-o-2 {
	color: var(--bfk-orange-b);
}

.nav-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
}

.nav-top a {
	font-size: 14px;
	padding: 6px 4px;
	text-decoration: none;
	color: var(--bfk-text);
	opacity: 0.9;
	transition: opacity 0.2s;
}

.nav-top a:hover {
	opacity: 0.55;
}

.header__phone--mob {
	display: none;
}

.burger {
	width: 32px;
	flex-shrink: 0;
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 6px;
	padding: 4px 0;
}

.burger span {
	display: block;
	height: 3px;
	background: var(--bfk-dark);
	border-radius: 1px;
}

.menu-mob {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 60;
	background: var(--bfk-white);
	padding: 56px 24px 24px;
	overflow-y: auto;
}

.menu-mob.is-open {
	display: block;
}

.menu-close {
	width: 28px;
	height: 28px;
	position: absolute;
	top: 16px;
	right: 16px;
	cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.menu-mob .nav-top {
	flex-direction: column;
	align-items: flex-start;
}

/* —— первый экран —— */
.intro {
	position: relative;
	min-height: min(92vh, 720px);
	display: flex;
	align-items: center;
	padding: 48px 0 64px;
	color: var(--bfk-white);
}

.intro__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.intro__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.56;
	z-index: 1;
}

.intro .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.intro__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 48px;
	align-items: center;
}

.intro__col--content {
	max-width: 580px;
	text-align: left;
	align-self: center;
}

.intro__headline {
	margin: 0;
	padding-left: 20px;
	border-left: 4px solid var(--bfk-sky);
	text-align: left;
}

.intro__headline-lead {
	display: block;
	font-family: var(--bfk-title);
	font-weight: 700;
	font-size: clamp(26px, 3.8vw, 38px);
	line-height: 1.12;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bfk-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.intro__headline-types {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35em 0.5em;
	margin-top: 12px;
	font-family: var(--bfk-title);
	font-weight: 700;
	font-size: clamp(22px, 3.2vw, 34px);
	line-height: 1.15;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.intro__headline-sep {
	color: rgba(255, 255, 255, 0.45);
	font-weight: 400;
}

.intro__headline-type {
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.intro__headline-type.intro__type--auto {
	color: var(--bfk-sky);
}

.intro__headline-type.intro__type--pts {
	color: #fff4e6;
}

.intro__headline-type.intro__type--realty {
	color: var(--bfk-coral);
}

.intro__headline-note {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.65em;
	font-weight: 400;
	vertical-align: super;
	margin-left: 0.15em;
}

.intro__lead {
	margin: 22px 0 0;
	padding: 0;
	max-width: 520px;
	font-family: var(--bfk-body);
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.55;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.94);
	text-align: left;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.intro__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 16px;
	margin-top: 28px;
}

.btn--intro-call {
	min-width: 200px;
	font-size: 16px;
	box-shadow: 0 4px 20px rgba(32, 191, 107, 0.35);
}

.intro__form-card {
	background: var(--bfk-white);
	color: var(--bfk-text);
	padding: 32px 28px 28px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.intro__form-card .zayavka-card__title {
	text-align: left;
	margin-bottom: 10px;
	color: var(--bfk-text);
}

.intro__form-card .zayavka-card__lead {
	text-align: left;
	margin-bottom: 22px;
}

.intro__form-card .form-row .form-group {
	width: 100%;
	padding: 0;
}

.intro__form-card .form-row {
	margin: 0;
}

.zayavka-card .title-block,
.zayavka-card .zayavka-card__title,
.zayavka-card h2.title-block,
.zayavka-card h3.title-block {
	text-align: center;
	margin: 0 0 10px;
	font-size: clamp(17px, 1.8vw, 20px);
	line-height: 1.2;
}

.intro__form-card .zayavka-card__title {
	font-size: clamp(18px, 2.1vw, 22px);
}

@media screen and (min-width: 901px) {
	.intro__form-card .zayavka-card__title {
		font-size: 22px;
		white-space: nowrap;
	}

	.zayavka-card--modal .zayavka-card__title {
		font-size: 20px;
		white-space: nowrap;
	}
}

.zayavka-card .lead,
.zayavka-card .zayavka-card__lead {
	text-align: center;
	font-size: 15px;
	color: var(--bfk-muted);
	margin: 0 0 20px;
	line-height: 1.4;
}

@media screen and (max-width: 900px) {
	.intro__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.intro__col--content {
		max-width: none;
	}

	.intro__headline {
		padding-left: 16px;
	}

	.intro__headline-types {
		gap: 0.25em 0.2em;
	}

	.intro__form-card {
		padding: 22px 18px 20px;
	}

	.intro__form-card .zayavka-card__title {
		font-size: 19px;
		margin-bottom: 6px;
		line-height: 1.2;
	}

	.zayavka-card--modal .zayavka-card__title {
		font-size: 17px;
		margin-bottom: 6px;
		line-height: 1.2;
	}

	.intro__form-card .zayavka-card__lead,
	.zayavka-card--modal .zayavka-card__lead {
		font-size: 13px;
		line-height: 1.35;
		margin-bottom: 14px;
	}
}

/* —— кнопки как на сайте (квадратные скругления конструктора) —— */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	font-family: var(--bfk-title);
	font-size: 15px;
	font-weight: 400;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	border-radius: var(--bfk-radius);
	border: none;
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.35s ease,
		filter 0.4s ease,
		box-shadow 0.4s ease;
	color: var(--bfk-white);
}

.btn:hover {
	transform: scale(1.04);
	opacity: 1;
}

.btn:active {
	transform: scale(0.98);
	transition-duration: 0.15s;
}

.btn--call {
	background: var(--bfk-green);
}

.btn--zayav {
	background: linear-gradient(135deg, var(--bfk-orange-a) 0%, var(--bfk-orange-b) 100%);
	color: var(--bfk-white);
	text-transform: none;
	box-shadow: 0 4px 16px rgba(242, 157, 4, 0.35);
}

.btn--zayav:hover {
	transform: scale(1.04);
	opacity: 1;
	filter: brightness(1.05);
}

.btn--doc {
	background: var(--bfk-coral);
	color: var(--bfk-white);
	text-align: center;
	line-height: 1.35;
}

/* —— секции —— */
.section {
	padding-top: var(--bfk-section-y);
	padding-bottom: var(--bfk-section-y);
	position: relative;
}

.section--tight {
	padding-top: 48px;
	padding-bottom: 48px;
}

.section--white {
	background: var(--bfk-white);
}

.section--coral {
	background: var(--bfk-coral);
	color: var(--bfk-text);
}

.section--coral .title-block {
	color: #000;
}

.section--realty {
	background: linear-gradient(165deg, var(--bfk-realty-bg) 0%, var(--bfk-realty-bg-end) 100%);
	color: var(--bfk-text);
}

.section--realty .title-block,
.section--realty .section-head__title {
	color: #000;
}

.section--realty .section-head__lead,
.section--realty .title-section-sm {
	color: var(--bfk-muted);
}

.section--realty .sb-color-border {
	border-color: rgba(61, 143, 209, 0.35);
}

.section--realty .s-steps-type-2__circle {
	background: var(--bfk-white);
	border-color: var(--bfk-realty-accent);
	color: var(--bfk-realty-accent);
	box-shadow: 0 2px 8px rgba(61, 143, 209, 0.15);
}

.section__lead {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bfk-text);
}

.section__lead p + p {
	margin-top: 8px;
}

.note-legal,
.legal-note {
	font-size: 13px;
	line-height: 1.45;
	color: var(--bfk-muted);
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.note-legal ul {
	list-style: disc;
	padding-left: 1.2em;
}

.note-legal li {
	margin-bottom: 6px;
}

/* —— о компании —— */
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 48px;
	align-items: center;
}

.section-head--about {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.about__card {
	background: linear-gradient(135deg, #fff 0%, #faf8f5 100%);
	border: 1px solid rgba(242, 157, 4, 0.2);
	border-left: 4px solid var(--bfk-orange-a);
	border-radius: var(--bfk-radius);
	padding: 28px 28px 24px;
	box-shadow: 0 8px 32px rgba(51, 51, 51, 0.06);
}

.about__body.section__lead {
	text-align: left;
	max-width: none;
	margin: 0;
}

.about__body p {
	margin: 0;
}

.about__body p + p {
	margin-top: 10px;
}

.about__lead {
	font-size: 15px;
	color: var(--bfk-muted);
	line-height: 1.5;
}

.about__brand {
	font-family: var(--bfk-title);
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.25;
	color: var(--bfk-text);
	margin-top: 4px !important;
}

.about__facts {
	margin-top: 18px !important;
	padding-top: 18px;
	border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.about__facts p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--bfk-text);
}

.about__facts strong {
	font-weight: 600;
	color: var(--bfk-text);
}

.about__note {
	margin-top: 18px !important;
	padding: 14px 16px;
	background: rgba(242, 157, 4, 0.1);
	border-radius: var(--bfk-radius-sm);
	font-size: 15px;
	line-height: 1.5;
	color: var(--bfk-text);
}

.about__cta {
	margin-top: 24px;
}

.about-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	align-items: stretch;
	gap: 12px;
}

.about-gallery__item {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 0;
	overflow: hidden;
	border-radius: var(--bfk-radius);
	box-shadow: 0 6px 24px rgba(51, 51, 51, 0.1);
}

.about-gallery__link {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	cursor: zoom-in;
	color: inherit;
	text-decoration: none;
}

.about-gallery__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.25s;
}

.about-gallery__link:hover::after {
	background: rgba(0, 0, 0, 0.18);
}

.about-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--bfk-orange-a);
	font-size: 16px;
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.25s, transform 0.25s;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.about-gallery__link:hover .about-gallery__zoom {
	opacity: 1;
	transform: scale(1);
}

.about-gallery__item--featured {
	grid-row: span 2;
}

.about-gallery__item:not(.about-gallery__item--featured) .about-gallery__link {
	flex: 1;
	aspect-ratio: 1;
}

.about-gallery__item--featured .about-gallery__link {
	flex: 1;
	min-height: 280px;
}

.about-gallery__link img,
.about-gallery__item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: var(--bfk-radius);
}

@media screen and (max-width: 900px) {
	.about__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.section-head--about {
		text-align: center;
	}

	.section-head--about .section-head__kicker {
		text-align: center;
	}

	.about__body.section__lead {
		text-align: left;
	}

	.about__cta {
		justify-content: center;
	}

	.about-gallery__item--featured {
		grid-row: span 1;
	}

	.about-gallery {
		max-width: 480px;
		margin: 0 auto;
	}
}

/* —— галерея 3 колонки —— */
.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 32px -10px 0;
}

.gallery__item {
	width: 33.333%;
	padding: 10px;
}

.gallery__item figure {
	margin: 0;
	overflow: hidden;
	background: #f5f5f5;
}

.gallery__item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

/* —— 3 шага (недвижимость) —— */
.steps3 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 36px;
	gap: 24px 0;
}

.steps3__item {
	flex: 1 1 240px;
	max-width: 360px;
	text-align: center;
	padding: 0 12px;
}

.steps3__circle {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border: 2px solid var(--bfk-text);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bfk-title);
	font-size: 22px;
}

.steps3__title {
	font-family: var(--bfk-title);
	font-size: 18px;
	line-height: 1.25;
}

/* —— форма на фоне —— */
.action {
	position: relative;
	padding: 72px 0;
}

.action__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.action__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.3;
	z-index: 1;
}

.action .container {
	position: relative;
	z-index: 2;
}

.action__card,
.action .zayavka-card {
	background: var(--bfk-white);
	max-width: 920px;
	margin: 0 auto;
	padding: 40px 32px 32px;
}

.action__card .title-block,
.action .zayavka-card__title {
	text-align: center;
	margin-bottom: 12px;
}

.action__card .lead,
.action .zayavka-card__lead {
	text-align: center;
	font-size: 16px;
	color: var(--bfk-muted);
	margin-bottom: 28px;
	line-height: 1.45;
}

.form-group {
	margin-bottom: 18px;
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.form-row .form-group {
	width: 50%;
	padding: 0 10px;
}

input[type="text"],
input[type="tel"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-family: var(--bfk-body);
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: var(--bfk-radius-sm);
	background: var(--bfk-white);
	color: var(--bfk-text);
}

input:focus {
	outline: 2px solid var(--bfk-sky);
	outline-offset: 0;
}

.form-status {
	margin-bottom: 16px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.4;
	border-radius: 4px;
}

.form-status--ok {
	background: #e8f5e9;
	color: #1b5e20;
	border: 1px solid #a5d6a7;
}

.form-status--error {
	background: #ffebee;
	color: #b71c1c;
	border: 1px solid #ef9a9a;
}

.bfk-zayavka-form--loading .form-submit .btn {
	opacity: 0.65;
	cursor: wait;
}

.form-submit {
	margin-top: 8px;
	text-align: center;
}

.form-submit .btn {
	min-width: 200px;
	text-transform: none;
}

.btn--dark {
	background: #333;
	color: var(--bfk-white);
}

.agree {
	font-size: 12px;
	line-height: 1.4;
	color: var(--bfk-muted);
	margin-top: 16px;
	text-align: center;
}

.agree--check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	margin-top: 12px;
	margin-bottom: 4px;
	cursor: pointer;
}

.bfk-zayavka-form .agree__input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex-shrink: 0;
	display: block;
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	margin: 1px 0 0;
	padding: 0;
	border: 2px solid #888;
	border-radius: 4px;
	background: var(--bfk-white);
	box-shadow: none;
	cursor: pointer;
	position: relative;
}

.bfk-zayavka-form .agree__input[type="checkbox"]:checked {
	background: var(--bfk-sky);
	border-color: var(--bfk-sky);
}

.bfk-zayavka-form .agree__input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid var(--bfk-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bfk-zayavka-form .agree__input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--bfk-sky);
	outline-offset: 2px;
}

.agree__text {
	flex: 1;
	min-width: 0;
}

.agree a {
	color: inherit;
	text-decoration: underline;
}

/* —— шаги «как на старом сайте» (блок steps-type-2 конструктора) —— */
.sb-row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

.sb-row_no-margin {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.sb-p-clear-bottom {
	padding-bottom: 0 !important;
}

.sb-p-2-bottom {
	padding-bottom: 12px;
}

.sb-m-clear-bottom {
	margin-bottom: 0 !important;
}

.sb-m-25-bottom {
	margin-bottom: 25px !important;
}

.sb-m-5-bottom {
	margin-bottom: 20px;
}

.sb-font-title {
	font-family: var(--bfk-title), sans-serif;
}

.sb-font-h4 {
	font-size: clamp(17px, 1.8vw, 22px);
	line-height: 1.25;
	font-weight: 400;
	color: inherit;
}

.sb-font-p3 {
	font-size: 15px;
	line-height: 1.45;
	font-family: var(--bfk-body), sans-serif;
}

.sb-font-p2 {
	font-size: 16px;
	line-height: 1.45;
	font-family: var(--bfk-body), sans-serif;
}

.sb-text-opacity {
	opacity: 0.72;
}

.sb-align-left {
	text-align: left;
}

.sb-color-border {
	border-color: rgba(51, 51, 51, 0.28);
}

.section--coral .sb-color-border {
	border-color: rgba(0, 0, 0, 0.32);
}

.s-steps-type-2 {
	position: relative;
}

.s-steps-type-2 .s-steps-type-2__row {
	position: relative;
	flex-grow: 1;
	min-width: 0;
	flex-direction: column;
	flex-wrap: nowrap;
}

.s-steps-type-2__stepper {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	margin-top: 8px;
}

.s-steps-type-2__stepper_no-image {
	flex-direction: column;
}

.s-steps-type-2__stepper_no-image .s-steps-type-2__row {
	width: 100%;
}

.s-steps-type-2__image-wrapper {
	flex-shrink: 0;
	width: 100%;
	max-width: min(100%, 360px);
	margin-left: auto;
	margin-right: auto;
}

.s-steps-type-2__image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	border-radius: var(--bfk-radius);
}

.s-steps-type-2__block-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	text-align: left;
}

.s-steps-type-2__block-wrapper:last-child .s-steps-type-2__line {
	display: none;
}

.s-steps-type-2__block {
	position: static;
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-height: 0;
}

.s-steps-type-2__line {
	position: absolute;
	bottom: 0;
	left: 24px;
	top: 48px;
	border-left-width: 1px;
	border-left-style: solid;
	box-sizing: border-box;
}

.s-steps-type-2__counter {
	position: relative;
	align-self: flex-start;
	flex-shrink: 0;
}

.s-steps-type-2__circle {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border-width: 1px;
	border-style: solid;
	border-radius: 100%;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	margin-right: 12px;
	font-family: var(--bfk-title), sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	color: inherit;
	background: var(--bfk-white);
}

.section--coral .s-steps-type-2__circle {
	background: var(--bfk-coral);
}

.s-steps-type-2__text {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: flex-start;
	flex-grow: 1;
	flex-basis: 0;
	min-width: 0;
}

.s-steps-type-2__text h3 {
	margin: 0;
	font-weight: 400;
}

.s-steps-type-2__text p {
	margin: 0;
}

@media screen and (min-width: 640px) {
	.s-steps-type-2__line {
		top: 64px;
		left: 32px;
	}

	.s-steps-type-2__circle {
		width: 64px;
		height: 64px;
		margin-right: 32px;
		font-size: 20px;
	}
}

@media screen and (min-width: 960px) {
	.s-steps-type-2__stepper {
		align-items: stretch;
	}

	.s-steps-type-2__stepper:not(.s-steps-type-2__stepper_no-image) .s-steps-type-2__image-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 0;
	}

	.s-steps-type-2__stepper:not(.s-steps-type-2__stepper_no-image) .s-steps-type-2__image-wrapper {
		align-self: flex-start;
	}

	.s-steps-type-2 .s-steps-type-2__row {
		flex: 1 1 0;
		align-self: stretch;
		min-height: 0;
	}

	.s-steps-type-2__block-wrapper {
		flex: 1 1 0;
		min-height: 0;
	}

	.s-steps-type-2__block {
		flex: 1;
	}

	.s-steps-type-2__stepper_no-image .s-steps-type-2__row {
		min-height: clamp(420px, 58vh, 720px);
	}

	.s-steps-type-2__image-wrapper {
		margin-bottom: 0 !important;
	}

	.s-steps-type-2__line {
		top: 80px;
		left: 40px;
	}

	.s-steps-type-2__circle {
		width: 80px;
		height: 80px;
		margin-right: 64px;
		font-size: 22px;
	}

	.s-steps-type-2__image-wrapper {
		max-width: 528px;
		width: 100%;
		margin-left: 48px;
	}
}

@media screen and (min-width: 960px) and (max-width: 1359px) {
	.s-steps-type-2__image-wrapper {
		max-width: min(100%, 392px);
		margin-left: 40px;
	}

	.s-steps-type-2__circle {
		margin-right: 32px;
	}
}

@media screen and (max-width: 959px) {
	.s-steps-type-2__stepper {
		flex-direction: column;
	}

	.s-steps-type-2__image-wrapper {
		max-width: 100%;
		margin-left: 0 !important;
		margin-bottom: 24px;
		order: -1;
	}

	.s-steps-type-2__text {
		padding-top: 10px;
	}

	.s-steps-type-2__text h3.sb-m-25-bottom {
		margin-bottom: 10px !important;
	}
}

/* —— блок история / картинка + текст —— */
.split {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
	align-items: center;
}

.split__pic {
	width: 42%;
	min-width: 280px;
	padding: 12px;
}

.split__pic img {
	width: 100%;
	max-width: 480px;
	height: auto;
	display: block;
	border-radius: var(--bfk-radius);
}

.split__text {
	flex: 1;
	min-width: 280px;
	padding: 12px;
}

.split__text p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--bfk-text);
}

/* —— секция с фоновым изображением (FAQ, шаги авто/ПТС) —— */
.section-bg {
	position: relative;
	padding: var(--bfk-section-y) 0;
	min-height: 420px;
}

.section-bg__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.section-bg__overlay {
	position: absolute;
	inset: 0;
	background: var(--bfk-white);
	opacity: 0.88;
	z-index: 1;
}

.section-bg .container {
	position: relative;
	z-index: 2;
}

.section-bg .section-head__title,
.section-bg .title-block {
	color: #000;
}

.section-bg .section-head__kicker {
	color: var(--bfk-orange-a);
}

.section-bg .section-cta__hint {
	color: var(--bfk-muted);
}

.section-bg.s-steps-type-2 .s-steps-type-2__circle {
	background: var(--bfk-white);
	border-color: var(--bfk-orange-a);
	color: var(--bfk-orange-a);
	box-shadow: 0 2px 8px rgba(242, 157, 4, 0.12);
}

.faq {
	max-width: 900px;
	margin: 0 auto;
}

.faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.faq__item summary {
	font-family: var(--bfk-title);
	font-size: 17px;
	padding: 20px 36px 20px 0;
	cursor: pointer;
	position: relative;
	list-style: none;
}

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

.faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 300;
	opacity: 0.5;
}

.faq__item[open] summary::after {
	content: "−";
}

.faq__body {
	padding: 0 0 20px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bfk-muted);
}

/* —— документы (белый фон) —— */
.docs.docs--plain {
	padding-top: var(--bfk-section-y);
	padding-bottom: var(--bfk-section-y);
}

.docs--plain .title-block,
.docs--plain .section-head__title {
	text-align: center;
	color: #000;
}

.docs--plain .section-head__kicker {
	color: var(--bfk-orange-a);
}

.docs__intro {
	text-align: center;
	max-width: 720px;
	margin: 12px auto 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--bfk-muted);
}

.doc-list {
	max-width: 880px;
	margin: 28px auto 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.doc-list__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	background: linear-gradient(135deg, var(--bfk-orange-a) 0%, var(--bfk-orange-b) 100%);
	color: var(--bfk-white);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	border-radius: var(--bfk-radius);
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.4s ease,
		box-shadow 0.4s ease;
	box-shadow: 0 2px 10px rgba(242, 157, 4, 0.25);
}

.doc-list__icon {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 16px;
	opacity: 0.95;
}

.doc-list__label {
	flex: 1;
	min-width: 0;
}

.doc-list__link:hover {
	transform: scale(1.02);
	filter: brightness(1.05);
	color: var(--bfk-white);
}

.doc-list__link:active {
	transform: scale(0.99);
}

/* —— полоска ссылок ЦБ —— */
.links-bar {
	background: var(--bfk-dark);
	color: var(--bfk-white);
	padding: 18px 0;
}

.links-bar .container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	justify-content: center;
}

.links-bar a {
	color: var(--bfk-white);
	font-size: 14px;
	text-decoration: underline;
	opacity: 0.92;
}

.links-bar a:hover {
	opacity: 1;
}

/* —— контакты —— */
.contacts {
	display: flex;
	flex-wrap: wrap;
	margin: 28px -12px 0;
	text-align: left;
	align-items: stretch;
}

.contacts__col {
	padding: 12px;
	min-width: 0;
}

.contacts__info {
	width: 40%;
	flex: 0 0 40%;
	min-width: 260px;
}

.contacts__map {
	width: 60%;
	flex: 0 0 60%;
	min-width: 280px;
}

.contacts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contacts-list__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.contacts-list__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bfk-orange-a) 0%, var(--bfk-orange-b) 100%);
	color: var(--bfk-white);
	font-size: 18px;
}

.contacts-list__body {
	flex: 1;
	min-width: 0;
}

.contacts-list__label {
	font-family: var(--bfk-title);
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 6px;
	color: var(--bfk-text);
}

.contacts-list__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bfk-muted);
}

.contacts-list__text--email {
	margin-top: 6px;
}

.contacts-list__link {
	color: var(--bfk-text);
	text-decoration: none;
	transition: color 0.2s;
}

.contacts-list__link:hover {
	color: var(--bfk-orange-a);
}

.contacts-list__link .fa-envelope {
	margin-right: 6px;
	color: var(--bfk-orange-a);
}

.contacts__map iframe {
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
	display: block;
	border-radius: var(--bfk-radius-sm);
}

.footer-legal {
	padding: 48px 0 72px;
	background: var(--bfk-white);
	font-size: 13px;
	line-height: 1.5;
	color: var(--bfk-muted);
}

.footer-legal p {
	max-width: 960px;
	margin: 0 auto;
}

.footer-legal a {
	color: inherit;
	text-decoration: underline;
}

/* —— cookie —— */
.cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	background: var(--bfk-dark);
	color: var(--bfk-white);
	padding: 16px 0;
	transform: translateY(110%);
	transition: transform 0.35s ease;
}

.cookie.is-visible {
	transform: translateY(0);
}

.cookie .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	justify-content: space-between;
}

.cookie p {
	flex: 1;
	min-width: 220px;
	font-size: 13px;
	margin: 0;
	opacity: 0.92;
	line-height: 1.4;
}

.cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cookie .btn {
	min-height: 44px;
	padding: 0 20px;
	background: var(--bfk-white);
	color: var(--bfk-dark);
	text-transform: none;
}

/* —— модальное окно —— */
dialog.modal {
	border: none;
	padding: 0;
	max-width: 480px;
	width: calc(100% - 32px);
	border-radius: var(--bfk-radius);
	overflow: hidden;
}

dialog.modal--zayavka {
	max-width: 520px;
}

.modal__inner--zayavka {
	position: relative;
	padding: 32px 28px 28px;
}

.modal__x {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(51, 51, 51, 0.08);
	color: var(--bfk-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s;
}

.modal__x:hover {
	background: rgba(51, 51, 51, 0.14);
}

.zayavka-card--modal .zayavka-card__title,
.zayavka-card--modal .zayavka-card__lead {
	text-align: left;
}

.zayavka-card--modal .form-row .form-group {
	width: 100%;
}

dialog.modal::backdrop {
	background: rgba(51, 51, 51, 0.8);
}

.modal__inner {
	padding: 28px 24px;
	background: var(--bfk-white);
}

.modal__inner h4 {
	font-family: var(--bfk-title);
	margin-bottom: 12px;
}

.modal__inner .body {
	font-size: 14px;
	line-height: 1.5;
	color: var(--bfk-muted);
}

.modal__close {
	margin-top: 20px;
	width: 100%;
}

/* —— внутренняя текстовая страница —— */
.bfk-main--inner {
	background: var(--bfk-white);
}

.bfk-page {
	padding-top: 32px;
	padding-bottom: var(--bfk-section-y);
}

.bfk-page__head {
	margin-bottom: 20px;
}

.bfk-breadcrumbs {
	font-size: 14px;
	line-height: 1.4;
	color: var(--bfk-muted);
}

.bfk-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bfk-breadcrumbs__item a {
	color: var(--bfk-green);
	text-decoration: none;
}

.bfk-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.bfk-breadcrumbs__item span[aria-current="page"] {
	color: var(--bfk-text);
}

.bfk-breadcrumbs__sep {
	color: var(--bfk-muted);
	user-select: none;
}

.bfk-paper {
	max-width: 900px;
}

.bfk-paper__title {
	font-family: var(--bfk-title);
	font-weight: 400;
	font-size: clamp(26px, 3.5vw, 36px);
	line-height: 1.2;
	color: #000;
	margin: 0 0 24px;
}

.bfk-paper__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--bfk-text);
}

.bfk-paper__text p + p,
.bfk-paper__text ul + p,
.bfk-paper__text p + ul {
	margin-top: 12px;
}

.bfk-paper__text ul,
.bfk-paper__text ol {
	padding-left: 1.25em;
	margin: 12px 0;
}

.bfk-paper__text a {
	color: var(--bfk-green);
}

.bfk-paper__text h2,
.bfk-paper__text h3 {
	font-family: var(--bfk-title);
	font-weight: 400;
	margin: 24px 0 12px;
	line-height: 1.25;
}

/* —— медиа (сетка как у BTI: скрытие .hidd1200) —— */
@media only screen and (max-width: 1200px) {
	:root {
		--bfk-header-offset: 76px;
	}

	.hidd1200 {
		display: none !important;
	}

	.header__bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.header__brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.header__nav {
		display: none !important;
	}

	.header__aside {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 12px;
		margin-left: auto;
	}

	.header__phones-mob {
		display: flex;
	}

	.header__phone--mob {
		display: block;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.2;
		white-space: nowrap;
		text-decoration: none;
		color: var(--bfk-text);
	}

	.burger {
		display: flex;
	}

	.gallery__item {
		width: 50%;
	}

	.form-row .form-group {
		width: 100%;
	}

	.contacts__col,
	.contacts__info,
	.contacts__map {
		width: 100%;
		flex: 0 0 100%;
		min-width: 0;
		max-width: 100%;
	}

}

@media only screen and (max-width: 767px) {
	.gallery__item {
		width: 100%;
	}

	.action__card {
		padding: 28px 18px;
	}

	:root {
		--bfk-section-y: 48px;
	}
}

/* —— маркетинг: шапка, intro, секции, CTA —— */
.header__logo-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.header__logo-link:hover {
	opacity: 0.92;
}

.header__trust {
	margin: 4px 0 0;
	font-size: 11px;
	line-height: 1.35;
	color: var(--bfk-muted);
	letter-spacing: 0.02em;
}

.header__nav .btn--nav-cta,
.nav-top a.btn--nav-cta,
.menu-mob .nav-top a.btn--nav-cta {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 13px;
	margin-left: 8px;
	white-space: nowrap;
	color: var(--bfk-white);
	opacity: 1;
}

.nav-top a.btn--nav-cta:hover,
.menu-mob .nav-top a.btn--nav-cta:hover {
	color: var(--bfk-white);
	opacity: 1;
	transform: scale(1.04);
}

.menu-mob .btn--nav-cta {
	display: flex;
	width: 100%;
	margin-top: 16px;
	margin-left: 0;
}

.intro__benefits {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	max-width: 520px;
}

.intro__benefits li {
	position: relative;
	padding: 6px 0 6px 28px;
	font-size: 15px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.intro__benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: var(--bfk-green);
	border-radius: 50%;
}

.btn--intro-scroll {
	min-width: 200px;
	font-size: 16px;
}

.btn--form-submit {
	width: 100%;
	min-height: 56px;
	font-size: 16px;
}

.section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 32px;
}

.section-head--left {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.section-head--left .section-head__kicker {
	display: block;
	text-align: left;
}

.section-head--kicker-center .section-head__kicker {
	text-align: center;
}

.section-head--on-dark .section-head__kicker,
.section-head--on-dark .section-head__title {
	color: var(--bfk-white);
}

.section-head__kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bfk-orange-a);
}

.section-head__title {
	margin: 0;
}

.section-head__lead {
	margin: 10px 0 0;
	text-align: inherit;
}

.section-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.section-cta--left {
	justify-content: flex-start;
}

.section-cta__hint {
	font-size: 15px;
	color: var(--bfk-muted);
}

.split__title {
	margin-bottom: 16px;
}

.split__body {
	font-size: 17px;
	line-height: 1.6;
	color: var(--bfk-text);
}

.section--cta {
	padding: 0;
	background: transparent;
}

.cta-band {
	background: linear-gradient(135deg, var(--bfk-sky) 0%, #1a6fa8 100%);
	color: var(--bfk-white);
	padding: 40px 0;
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-band__text {
	flex: 1 1 auto;
	min-width: min(100%, 280px);
}

.cta-band__title {
	margin: 0 0 8px;
	font-family: var(--bfk-title);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 400;
	line-height: 1.25;
	color: var(--bfk-white);
}

.cta-band__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	opacity: 0.92;
}

.btn--cta-band {
	flex-shrink: 0;
	min-width: 220px;
	font-size: 16px;
	text-transform: none;
}

.btn--cta-band.btn--zayav {
	background: linear-gradient(135deg, var(--bfk-orange-a) 0%, var(--bfk-orange-b) 100%);
	color: var(--bfk-white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--cta-band.btn--zayav:hover {
	transform: scale(1.04);
	filter: brightness(1.05);
	background: linear-gradient(135deg, var(--bfk-orange-a) 0%, var(--bfk-orange-b) 100%);
}

@media only screen and (max-width: 767px) {
	:root {
		--bfk-header-offset: 62px;
	}

	.header__trust {
		display: none;
	}

	.header__logo {
		font-size: 15px;
	}

	.header__phone--mob {
		font-size: 13px;
	}

	.header__nav .btn--nav-cta {
		display: none;
	}

	.cta-band {
		padding: 24px 0;
	}

	.cta-band__inner {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}

	.cta-band__text {
		flex: 0 0 auto;
		width: 100%;
	}

	.cta-band__title {
		font-size: 20px;
		line-height: 1.2;
		margin-bottom: 6px;
	}

	.cta-band__lead {
		font-size: 14px;
		line-height: 1.35;
	}

	.btn--cta-band {
		width: 100%;
		min-height: 48px;
	}
}
