/* КБФасад Elementor frontend — aligned to PSD geometry */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.kbf-container {
	width: min(1200px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.kbf-section-head {
	margin-bottom: 2rem;
}

.kbf-section-head h2,
.kbf-about__title,
.kbf-cta__line,
.kbf-contacts__title,
.kbf-inline-form h2 {
	font-weight: 900;
	color: #343d45;
}

.kbf-section-head h2 {
	font-size: clamp(1.85rem, 3.2vw, 2.8rem);
	margin-bottom: 0.75rem;
}

.kbf-section-lead,
.kbf-card p,
.kbf-about__text,
.kbf-carousel__caption {
	color: #b0b0b0;
	font-size: 0.98rem;
	line-height: 1.55;
}

.kbf-section-lead {
	max-width: 52rem;
	color: #343d45;
	font-size: 1.05rem;
}

.kbf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.kbf-btn--orange {
	background: #ff6a13;
	color: #fff;
}

.kbf-btn--orange:hover,
.kbf-btn--orange:focus-visible {
	background: #e55d0d;
	color: #fff;
}

.kbf-btn--dark {
	background: #343d45;
	color: #fff;
}

.kbf-btn--dark:hover,
.kbf-btn--dark:focus-visible {
	background: #22282e;
	color: #fff;
}

.kbf-slider__btn {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #343d45;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	font-weight: 300;
}

.kbf-slider__btn:hover,
.kbf-slider__btn:focus-visible {
	color: #ff6a13;
}

.kbf-card {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 1.25rem 1.15rem;
	background: #fff;
	min-height: 100%;
}

.kbf-card h3 {
	font-size: 1.1rem;
	font-weight: 900;
	margin: 0 0 0.65rem;
	color: #343d45;
}

.kbf-card p {
	margin: 0;
}

.kbf-more {
	margin-top: 1.75rem;
	border: 0;
	background: transparent;
	color: #ff6a13;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

/* Header */
.kbf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
}

.kbf-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem 2.5rem;
	padding: 1.1rem 0 1rem;
	border-bottom: 1px solid #343d45;
}

.kbf-header__logo {
	align-self: center;
}

.kbf-header__logo img {
	display: block;
	width: min(300px, 42vw);
	height: auto;
}

.kbf-header__aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.85rem;
	min-width: 0;
}

.kbf-header__nav {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2.25rem);
}

.kbf-header__nav a {
	color: #e0e0e0;
	font-weight: 500;
	font-size: 0.98rem;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s ease;
}

.kbf-header__nav a.is-active,
.kbf-header__nav a:first-child {
	color: #343d45;
}

.kbf-header__nav a:hover,
.kbf-header__nav a:focus-visible {
	color: #343d45;
}

.kbf-header__contacts {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: clamp(0.75rem, 1.6vw, 1.35rem);
}

.kbf-header__phones {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(0.75rem, 1.5vw, 1.35rem);
}

.kbf-header__phone,
.kbf-header__email {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #343d45;
	font-weight: 500;
	font-size: 0.9rem;
	white-space: nowrap;
	text-decoration: none;
}

.kbf-header__contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #b0b0b0;
}

.kbf-header__contact-icon svg {
	display: block;
}

.kbf-header__cta {
	min-height: 36px;
	padding: 0.4rem 1rem;
	font-size: 0.86rem;
	white-space: nowrap;
}

.kbf-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.kbf-header__burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #343d45;
}

.kbf-header__mobile {
	border-top: 1px solid #e0e0e0;
	padding: 1rem 1.25rem 1.5rem;
	background: #fff;
}

.kbf-header__mobile-nav,
.kbf-header__mobile-contacts {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.kbf-header__mobile-contacts {
	margin-top: 1.25rem;
}

/* Modal */
.kbf-modal[hidden] {
	display: none !important;
}

.kbf-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.kbf-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(52, 61, 69, 0.65);
}

.kbf-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(480px, 100%);
	max-height: min(90vh, 720px);
	overflow: auto;
	padding: 2rem;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.kbf-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #343d45;
}

/* Forms */
.kbf-form {
	display: grid;
	gap: 0.9rem;
}

.kbf-form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
}

.kbf-form__label-strong {
	font-weight: 700;
}

.kbf-form input[type="text"],
.kbf-form input[type="tel"],
.kbf-form input[type="email"] {
	width: 100%;
	min-height: 48px;
	padding: 0.65rem 0.85rem;
	border: 1px solid #b0b0b0;
	border-radius: 4px;
	font: inherit;
}

.kbf-form--underline input[type="text"],
.kbf-form--underline input[type="tel"],
.kbf-form--underline input[type="email"] {
	border: 0;
	border-bottom: 1px solid #b0b0b0;
	border-radius: 0;
	padding-left: 0;
	padding-right: 0;
	background: transparent;
}

.kbf-form--underline input:focus {
	outline: none;
	border-bottom-color: #ff6a13;
}

.kbf-form__consent {
	grid-template-columns: auto 1fr;
	align-items: start;
}

.kbf-form__hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
}

.kbf-form__message {
	min-height: 1.25rem;
	margin: 0;
	color: #003b5c;
	font-weight: 600;
}

.kbf-form__message.is-error {
	color: #b42318;
}

.kbf-form__hint {
	display: block;
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.35;
	color: rgba(52, 61, 69, 0.5);
}

/* Hero */
.kbf-hero {
	position: relative;
	padding: 2.25rem 0 3rem;
}

.kbf-hero__top {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	grid-template-rows: auto auto;
	gap: 2rem 2.5rem;
	align-items: center;
	margin-bottom: 1.5rem;
}

.kbf-hero__title {
	grid-column: 1;
	grid-row: 1;
	display: grid;
	gap: 0;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	line-height: 0.95;
	max-width: 11ch;
	margin: 0;
	font-weight: 900;
	color: #343d45;
}

.kbf-hero__title-line {
	display: block;
	color: #343d45;
	font-weight: 900;
}

.kbf-hero__title .kbf-hero__title-line:first-child {
	font-size: 1.32em;
}

.kbf-hero__title-line--muted {
	color: #e0e0e0;
	font-size: 1.45em;
	line-height: 0.88;
}

.kbf-hero__title-row {
	grid-column: 1 / -1;
	grid-row: 2;
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 2rem 2.5rem;
	align-items: center;
}

.kbf-hero__title-row .kbf-hero__title-line--sub {
	color: #343d45;
	font-size: clamp(1.35rem, 3vw, 2.15rem);
	font-weight: 500;
	line-height: 1.15;
}

.kbf-hero__title-line-rule {
	grid-column: 2;
	height: 1px;
	background: #343d45;
	align-self: center;
}

.kbf-hero__facts {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	gap: 1.35rem;
	justify-self: end;
	align-self: center;
	max-width: 13rem;
}

.kbf-hero__fact {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 0.75rem;
	align-items: flex-start;
}

.kbf-hero__fact-text {
	display: grid;
	gap: 0.1rem;
}

.kbf-hero__fact-value {
	color: #343d45;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
}

.kbf-hero__fact-label {
	color: #b0b0b0;
	font-weight: 400;
	font-size: 0.82rem;
	line-height: 1.25;
}

.kbf-hero__fact-icon {
	width: 58px;
	height: 58px;
	object-fit: contain;
	flex-shrink: 0;
}

.kbf-hero__media {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	min-height: clamp(240px, 42vw, 460px);
	background: #e0e0e0;
}

.kbf-hero__banner {
	margin: 0;
	width: 100%;
	min-height: clamp(240px, 42vw, 460px);
	overflow: hidden;
}

.kbf-hero__banner img,
.kbf-hero__banner picture,
.kbf-hero__banner video {
	width: 100%;
	height: 100%;
	min-height: clamp(240px, 42vw, 460px);
	object-fit: cover;
	display: block;
}

.kbf-hero__carousel {
	position: relative;
	width: 100%;
	min-height: clamp(240px, 42vw, 460px);
}

.kbf-hero__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	min-height: clamp(240px, 42vw, 460px);
}

.kbf-hero__media--slider .kbf-hero__track {
	grid-auto-columns: 100%;
	gap: 0;
	padding-bottom: 0;
}

.kbf-hero__track::-webkit-scrollbar {
	display: none;
}

.kbf-hero__track .kbf-hero__banner {
	scroll-snap-align: start;
	min-height: clamp(240px, 42vw, 460px);
}

.kbf-hero__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.82);
	color: #343d45;
	font-size: 2.25rem;
}

.kbf-hero__nav--prev {
	left: 0.75rem;
}

.kbf-hero__nav--next {
	right: 0.75rem;
}

.kbf-hero__nav[hidden] {
	display: none;
}

/* About */
.kbf-about {
	padding: 4.5rem 0;
	border-top: 1px solid #343d45;
}

.kbf-about__grid {
	display: grid;
	grid-template-columns: 1.45fr 0.75fr;
	grid-template-rows: auto auto;
	column-gap: 2.5rem;
	row-gap: 1.5rem;
}

.kbf-about__title {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	font-weight: 900;
	color: #343d45;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	line-height: 1.02;
}

.kbf-about__logo {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
}

.kbf-about__text {
	grid-column: 1;
	grid-row: 2;
}

.kbf-about__logo img {
	margin-inline: auto;
	width: min(300px, 72%);
}

/* Catalog / benefits / services / promo */
.kbf-catalog,
.kbf-benefits,
.kbf-services,
.kbf-promo {
	padding: 3.25rem 0 4rem;
}

.kbf-catalog {
	padding-top: 0;
}

.kbf-catalog > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-promo {
	padding-top: 0;
}

.kbf-promo > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-promo .kbf-section-head {
	margin-bottom: 1.5rem;
}

.kbf-benefits {
	padding-top: 0;
}

.kbf-benefits > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-services {
	padding-top: 0;
}

.kbf-services > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-catalog__grid,
.kbf-benefits__grid,
.kbf-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

/* Gallery landscape 1:1:2 */
.kbf-gallery {
	padding: 0 0 4rem;
}

.kbf-gallery > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 2rem;
}

.kbf-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.kbf-gallery__item {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	border-radius: 2px;
	height: clamp(200px, 26vw, 340px);
}

.kbf-gallery__item picture {
	display: block;
	width: 100%;
	height: 100%;
}

.kbf-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.kbf-gallery__item:hover img,
.kbf-gallery__item:focus-visible img {
	transform: scale(1.03);
}

.kbf-gallery__item--sm,
.kbf-gallery__item--md {
	grid-column: span 1;
}

.kbf-gallery__item--lg {
	grid-column: span 2;
}

.kbf-lightbox[hidden] {
	display: none !important;
}

.kbf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: grid;
	place-items: center;
	padding: 1.5rem;
	background: rgba(52, 61, 69, 0.85);
}

.kbf-lightbox img {
	max-width: min(960px, 100%);
	max-height: 85vh;
	object-fit: contain;
}

.kbf-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
}

/* Carousel */
.kbf-slider-section {
	padding: 3rem 0 4rem;
}

.kbf-slider-section--fastenings,
.kbf-slider-section--objects {
	padding-top: 0;
}

.kbf-slider-section--fastenings > .kbf-container,
.kbf-slider-section--objects > .kbf-container {
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-carousel {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
}

.kbf-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 30%);
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 0.5rem;
}

.kbf-slider-section--fastenings .kbf-carousel__track,
.kbf-slider-section--objects .kbf-carousel__track {
	grid-auto-columns: calc((100% - 3rem) / 4);
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 0;
}

.kbf-slider-section--fastenings .kbf-carousel__track::-webkit-scrollbar,
.kbf-slider-section--objects .kbf-carousel__track::-webkit-scrollbar {
	display: none;
}

.kbf-slider-section--fastenings .kbf-carousel__media {
	border: 0;
	background: transparent;
	aspect-ratio: 1 / 1;
}

.kbf-slider-section--fastenings .kbf-carousel__media img {
	object-fit: contain;
}

.kbf-slider-section--fastenings .kbf-carousel__item:hover .kbf-carousel__media,
.kbf-slider-section--fastenings .kbf-carousel__item:focus-within .kbf-carousel__media {
	border-color: transparent;
	box-shadow: none;
}

.kbf-slider-section--fastenings .kbf-carousel__caption {
	color: #b0b0b0;
}

.kbf-slider-section--fastenings .kbf-slider__btn,
.kbf-slider-section--objects .kbf-slider__btn {
	width: 64px;
	height: 64px;
	font-size: 3.25rem;
	font-weight: 400;
}

.kbf-carousel .kbf-slider__btn[hidden] {
	display: block;
	visibility: hidden;
	pointer-events: none;
}

.kbf-carousel__item {
	scroll-snap-align: start;
}

.kbf-carousel__media {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: 2px;
	aspect-ratio: 5 / 3.5;
	background: #e0e0e0;
}

.kbf-carousel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kbf-carousel__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: center;
	gap: 0.35rem;
	padding: 1rem;
	background: rgba(52, 61, 69, 0.55);
	color: #fff;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.kbf-carousel__item:hover .kbf-carousel__media,
.kbf-carousel__item:focus-within .kbf-carousel__media {
	box-shadow: inset 0 0 0 1px #ff6a13;
}

.kbf-carousel__item:hover .kbf-carousel__overlay,
.kbf-carousel__item:focus-within .kbf-carousel__overlay {
	opacity: 1;
}

.kbf-carousel__caption {
	margin-top: 0.65rem;
	font-size: 0.95rem;
	color: #343d45;
}

/* CTA */
.kbf-cta {
	background: #343d45;
	color: #fff;
	padding: 2.75rem 0 0;
	overflow: hidden;
}

.kbf-cta__inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.5rem;
	align-items: end;
}

.kbf-cta__copy {
	padding-left: clamp(1.5rem, 6vw, 5.5rem);
	padding-bottom: 2.75rem;
}

.kbf-cta__line {
	margin: 0 0 0.2rem;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.05;
	color: #fff;
}

.kbf-cta__line--accent {
	color: #ff6a13;
}

.kbf-cta__line:not(.kbf-cta__line--accent) {
	font-weight: 500;
}

.kbf-cta__copy .kbf-btn {
	margin-top: 1.35rem;
	border-radius: 0;
	min-height: 52px;
	padding: 0.85rem 2.25rem;
	font-weight: 800;
}

.kbf-cta__media {
	align-self: end;
	justify-self: end;
}

.kbf-cta__media img,
.kbf-cta__media picture {
	display: block;
	max-height: min(420px, 55vw);
	width: auto;
	object-fit: cover;
	object-position: center top;
}

/* Inline form */
.kbf-inline-form {
	padding: 4.25rem 0;
}

.kbf-inline-form__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 2.25rem;
	align-items: center;
}

.kbf-inline-form__media img {
	width: 100%;
	border-radius: 2px;
	object-fit: cover;
	min-height: 360px;
}

.kbf-inline-form__media,
.kbf-inline-form__content {
	border: 0;
	box-shadow: none;
}

.elementor-widget-kbf-form > .elementor-widget-container {
	border: 0;
	box-shadow: none;
}

/* Contacts horizontal */
.kbf-contacts {
	padding: 0 0 4rem;
}

.kbf-contacts__row {
	display: grid;
	grid-template-columns: minmax(0, max-content) minmax(0, 28rem);
	gap: 2rem 4rem;
	align-items: start;
	justify-content: center;
	border-top: 1px solid #343d45;
	padding-top: 3.25rem;
}

.kbf-contacts__title {
	font-size: clamp(1.85rem, 3vw, 2.6rem);
	margin: 0;
}

.kbf-contacts__details {
	display: grid;
	gap: 0.65rem;
}

.kbf-contacts__phones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.kbf-contacts__address,
.kbf-contacts__email,
.kbf-contacts__phones a,
.kbf-contacts__social a {
	color: #343d45;
}

.kbf-contacts__map {
	margin-top: 1.75rem;
}

.kbf-contacts__map iframe {
	width: 100%;
	min-height: 280px;
	border: 0;
	border-radius: 4px;
}

.kbf-contacts__social,
.kbf-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

/* Footer */
.kbf-footer {
	background: #343d45;
	color: #fff;
	overflow: hidden;
}

.kbf-footer__bar {
	background: #ff6a13;
	text-align: center;
	padding: 0.75rem 1rem;
	font-weight: 700;
}

.kbf-footer__inner {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr 0.9fr;
	gap: 1.5rem;
	align-items: end;
	padding: 0;
}

.kbf-footer a {
	color: #fff;
}

.kbf-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem 1.25rem;
	margin-top: 1rem;
}

.kbf-footer__logo {
	width: min(220px, 72%);
	margin-inline: auto;
}

.kbf-footer__contacts {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
	padding: 2rem 0;
}

.kbf-footer__center {
	padding: 2rem 0;
}

.kbf-footer__media {
	position: relative;
	z-index: 2;
	align-self: end;
	margin-top: -1rem;
}

.kbf-footer__media img,
.kbf-footer__media picture {
	display: block;
	max-height: min(360px, 48vw);
	width: auto;
	margin-inline: auto;
	object-fit: cover;
	object-position: center top;
}

/* Responsive */
@media (max-width: 1100px) {
	.kbf-header__email {
		display: none;
	}

	.kbf-header__nav {
		gap: 1rem;
	}

	.kbf-header__logo img {
		width: min(240px, 38vw);
	}
}

@media (max-width: 1024px) {
	.kbf-catalog__grid,
	.kbf-benefits__grid,
	.kbf-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.kbf-hero__top,
	.kbf-about__grid,
	.kbf-cta__inner,
	.kbf-inline-form__grid,
	.kbf-contacts__row,
	.kbf-footer__inner {
		grid-template-columns: 1fr;
	}

	.kbf-cta__copy {
		padding-left: clamp(0.75rem, 4vw, 1.5rem);
		padding-bottom: 0;
	}

	.kbf-cta__media {
		justify-self: center;
	}

	.kbf-about__title {
		grid-column: 1;
		grid-row: 1;
	}

	.kbf-about__logo {
		grid-column: 1;
		grid-row: 2;
	}

	.kbf-about__text {
		grid-column: 1;
		grid-row: 3;
	}

	.kbf-hero__facts {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		max-width: none;
	}

	.kbf-hero__title-row {
		grid-row: 3;
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.kbf-hero__title-line--muted {
		font-size: 1.35em;
	}

	.kbf-hero__title-line-rule {
		grid-column: 1;
		width: 100%;
	}

	.kbf-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.kbf-gallery__item--sm,
	.kbf-gallery__item--md,
	.kbf-gallery__item--lg {
		grid-column: span 1;
	}

	.kbf-carousel__track {
		grid-auto-columns: minmax(220px, 45%);
	}

	.kbf-slider-section--fastenings .kbf-carousel__track,
	.kbf-slider-section--objects .kbf-carousel__track {
		grid-auto-columns: calc((100% - 1rem) / 2);
	}
}

@media (max-width: 767px) {
	.kbf-header__inner {
		grid-template-columns: 1fr auto;
		gap: 0.75rem 1rem;
		padding: 0;
	}

	.kbf-header__logo img {
		width: min(200px, 58vw);
	}

	.kbf-header__aside {
		display: contents;
	}

	.kbf-header__nav,
	.kbf-header__cta,
	.kbf-header__email,
	.kbf-header__contacts {
		display: none;
	}

	.kbf-header__burger {
		display: inline-flex;
		justify-self: end;
		align-self: center;
	}

	.kbf-catalog__grid,
	.kbf-benefits__grid,
	.kbf-services__grid,
	.kbf-gallery__grid {
		grid-template-columns: 1fr;
	}

	.kbf-carousel {
		grid-template-columns: 1fr;
	}

	.kbf-carousel__prev,
	.kbf-carousel__next {
		justify-self: center;
	}

	.kbf-carousel__track {
		grid-auto-columns: 85%;
	}

	.kbf-slider-section--fastenings .kbf-carousel,
	.kbf-slider-section--objects .kbf-carousel {
		grid-template-columns: auto 1fr auto;
		gap: 0.35rem;
	}

	.kbf-slider-section--fastenings .kbf-carousel__track,
	.kbf-slider-section--objects .kbf-carousel__track {
		grid-auto-columns: 100%;
		gap: 0;
	}

	.kbf-slider-section--fastenings .kbf-slider__btn,
	.kbf-slider-section--objects .kbf-slider__btn {
		width: 40px;
		height: 40px;
		font-size: 2rem;
	}

	.kbf-hero__nav {
		width: 40px;
		height: 40px;
		font-size: 2rem;
	}

	.kbf-hero__nav--prev {
		left: 0.35rem;
	}

	.kbf-hero__nav--next {
		right: 0.35rem;
	}

	.kbf-footer__media,
	.kbf-footer__contacts {
		display: none;
	}

	.kbf-footer__inner {
		grid-template-columns: 1fr;
		padding: 1.5rem 0;
	}

	.kbf-footer__center {
		padding: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kbf-hero__banner,
	.kbf-carousel__overlay,
	.kbf-gallery__item img {
		transition: none;
	}
}
