/* =========================
   HERO SECTION
========================= */
.hero-section{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.hero-container{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.hero-block{
	padding-top: 90px;
	padding-bottom: 180px;
	max-width: 700px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.hero-h{
	font-size: clamp(24px, 3.2vw, 40px);
	line-height: 1.4;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	font-family: var(--exo-font);
}

.hero-h span{
	color: var(--orange-color);
}

.subheader-hero{
	font-size: var(--fs-20);
	color: #fff;
	font-weight: 500;
}

/* =========================
   FILTER
========================= */
.parts-selector{
	position: relative;
	z-index: 2;
	margin: 0;
	margin-top: -90px;
}

.parts-selector__box{
	padding: 42px 42px 46px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 18px 40px rgb(38 38 38 / 20%);
}

.parts-selector__head{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	margin-bottom: 34px;
}

.parts-selector__title{
	margin: 0;
	font-family: var(--exo-font);
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: var(--black-color);
	text-transform: uppercase;
}

.parts-selector__title span{
	color: var(--orange-color);
}

.parts-selector__tabs{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px 34px;
	width: 100%;
}

.parts-selector__tab{
	position: relative;
	padding: 0 0 10px;
	font-family: var(--exo-font);
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: 400;
	line-height: 1.2;
	color: #656565;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.parts-selector__tab::after{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--orange-color);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.parts-selector__tab:hover{
	color: var(--orange-color);
}

.parts-selector__tab.is-active{
	color: var(--orange-color);
}

.parts-selector__tab.is-active::after{
	transform: scaleX(1);
}

.parts-selector__panels{
	width: 100%;
}

.parts-selector__panel{
	width: 100%;
}

.parts-selector__form{
	width: 100%;
}

.parts-selector__grid{
	display: grid;
	gap: 20px;
	align-items: end;
}

.parts-selector__grid--brand {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 180px;
}

.parts-selector__grid--code{
	grid-template-columns: minmax(0, 1fr) 220px;
	margin: 0 auto;
}

.filter-select{
	position: relative;
	min-width: 0;
}

.filter-select__trigger{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 55px;
	padding: 16px 20px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #ffffff;
	text-align: left;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.filter-select.is-open .filter-select__trigger,
.filter-select__trigger:hover{
	border-color: rgba(238, 98, 10, 0.45);
	box-shadow: 0 0 0 4px rgba(238, 98, 10, 0.08);
}

.filter-select__value{
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 16px;
	line-height: 1.35;
	color: #666666;
}

.filter-select.has-value .filter-select__value{
	color: var(--black-color);
}

.filter-select__arrow{
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.filter-select__arrow::before,
.filter-select__arrow::after{
	content: "";
	position: absolute;
	top: 50%;
	width: 9px;
	height: 1.8px;
	background: var(--black-color);
	border-radius: 20px;
	transition: transform 0.25s ease;
}

.filter-select__arrow::before{
	left: 1px;
	transform: translateY(-50%) rotate(45deg);
}

.filter-select__arrow::after{
	right: 1px;
	transform: translateY(-50%) rotate(-45deg);
}

.filter-select.is-open .filter-select__arrow::before{
	transform: translateY(-50%) rotate(-45deg);
}

.filter-select.is-open .filter-select__arrow::after{
	transform: translateY(-50%) rotate(45deg);
}

.filter-select__dropdown{
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	z-index: 30;
	padding: 8px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(38, 38, 38, 0.08);
	box-shadow: 0 16px 32px rgba(38, 38, 38, 0.1);
}

.filter-select__search-wrap{
	padding-bottom: 8px;
}

.filter-select__search{
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #d5d5d5;
	border-radius: 10px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1.35;
	color: var(--black-color);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-select__search::placeholder{
	color: #9b9b9b;
}

.filter-select__search:focus{
	border-color: rgba(238, 98, 10, 0.45);
	box-shadow: 0 0 0 4px rgba(238, 98, 10, 0.08);
}

.filter-select__options{
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 240px;
	overflow-y: auto;
}

.filter-select__option{
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.35;
	color: var(--black-color);
	text-align: left;
	transition: background 0.25s ease, color 0.25s ease;
}

.filter-select__option:hover{
	background: rgba(238, 98, 10, 0.08);
	color: var(--orange-color);
}

.filter-select__empty{
	padding: 12px 14px 8px;
	font-size: 14px;
	line-height: 1.35;
	color: #8a8a8a;
	text-align: center;
}

.parts-selector__input-wrap{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.parts-selector__input-icon-label{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--exo-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--black-color);
}

.parts-selector__help{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #d2d2d2;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #7a7a7a;
	transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.parts-selector__help:hover{
	border-color: var(--orange-color);
	color: var(--orange-color);
	background: rgba(238, 98, 10, 0.05);
}

.parts-selector__input{
	width: 100%;
	min-height: 55px;
	padding: 0 20px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #ffffff;
	font-size: 16px;
	line-height: 1.35;
	color: var(--black-color);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.parts-selector__input::placeholder{
	color: #8a8a8a;
}

.parts-selector__input:focus{
	border-color: rgba(238, 98, 10, 0.45);
	box-shadow: 0 0 0 4px rgba(238, 98, 10, 0.08);
}

/* HELP POPUP */
.parts-help-popup{
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.parts-help-popup__overlay{
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.45);
	backdrop-filter: blur(6px);
}

.parts-help-popup__dialog{
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	padding: 28px 24px 24px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.parts-help-popup__close{
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--black-color);
	background: #f5f5f5;
	transition: background 0.25s ease, color 0.25s ease;
}

.parts-help-popup__close:hover{
	background: rgba(238, 98, 10, 0.1);
	color: var(--orange-color);
}

.parts-help-popup__close svg{
	width: 20px;
	height: 20px;
}

.parts-help-popup__content{
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.parts-help-popup__title{
	margin: 0;
	padding-right: 40px;
	font-family: var(--exo-font);
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--black-color);
}

.parts-help-popup__text{
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #5f5f5f;
}

/* =========================
   ADVANTAGES ITEMS
========================= */
.advsntages-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.advsntages-grid__item{
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 15px;
	background-color: var(--white-color);
	border: 1px solid #DFDFDF;
	border-radius: var(--border-min);
	justify-content: space-between;
}

.advsntages-grid__item_header{
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	align-items: flex-start;
}

.advsntages-grid__item_header p{
	font-size: var(--fs-20);
	color: var(--black-color);
	font-weight: 600;
	font-family: var(--exo-font);
}

.advsntages-grid__item_text{
	font-size: var(--fs-16);
	line-height: 1.5;
	color: var(--black-color);
	font-weight: 300;
}

/* =========================
   ABOUT COMPANY
========================= */
.about-grid{
	display: grid;
	grid-template-columns: 9fr 3fr;
	gap: 60px;
}

.about-grid__left{
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: space-between;
}

.about-grid__right{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
}

.about-grid__right_item{
	background: linear-gradient(90deg, #2C2C2C 0%, #676767 100%);
	color: var(--white-color);
	padding: 12px;
	border-radius: var(--border-min);
}

.about-grid__right_item h3{
	font-size: var(--fs-24);
	font-family: var(--exo-font);
	margin-bottom: 10px;
}

.about-grid__right_item p{
	color: #fff;
	font-weight: 300;
}

.video-block{
	margin-top: 50px;
}

.video-block video{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
	max-height: 520px;
}

/* =========================
   BENEFITS
========================= */
.production-benefits{
	padding: 90px 0;
}

.production-benefits__head{
	max-width: 860px;
	margin: 0 auto 34px;
	text-align: center;
}

.production-benefits__subheader{
	margin: 18px 0 0;
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.55;
	color: #6b6b6b;
}

.production-benefits__grid{
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.production-benefits__right{
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	height: 100%;
}

.production-card{
	min-width: 0;
	opacity: 0;
	transform: translateY(28px);
	animation: productionCardReveal 0.9s ease forwards;
}

.production-card:nth-child(1){
	animation-delay: 0.08s;
}

.production-card:nth-child(2){
	animation-delay: 0.16s;
}

.production-benefits__right .production-card:nth-child(1){
	animation-delay: 0.24s;
}

.production-benefits__right .production-card:nth-child(2){
	animation-delay: 0.32s;
}

.production-card__inner{
	display: flex;
	flex-direction: column;
	height: 100%;
	background: transparent;
}

.production-card__media{
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #111111;
}

.production-card__media img:not(.production-card__logo){
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.production-card__media::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.16) 100%);
	pointer-events: none;
}

.production-card:hover .production-card__media img:not(.production-card__logo){
	transform: scale(1.035);
}

.production-card__logo{
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	width: 86px;
	height: auto;
	object-fit: contain;
}

.production-card__content{
	padding: 14px 0 0;
}

.production-card__title {
    margin: 0;
    font-family: var(--exo-font);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--black-color);
}

.production-card__text{
	display: none;
}

.production-card--large .production-card__media{
	height: 560px;
}

.production-card--medium .production-card__media{
	height: 560px;
}

.production-card--small {
    display: flex;
    flex-direction: column;
}

.production-card--small .production-card__inner{
	display: flex;
	flex-direction: column;
	height: 100%;
}

.production-card--small .production-card__media {
    height: 246px;
}

@keyframes productionCardReveal{
	from{
		opacity: 0;
		transform: translateY(28px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}

/* =========================
   ADAPTIVE
========================= */
@media (max-width: 1200px){
	.parts-selector__grid--brand{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.production-benefits__grid{
		grid-template-columns: 1.05fr 0.95fr;
	}

	.production-benefits__right{
		grid-column: 1 / -1;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.production-card--large .production-card__media,
	.production-card--medium .production-card__media{
		height: 360px;
	}

	.production-card--small .production-card__media{
		height: 240px;
	}
}

@media (max-width: 991px){
	.hero-section{
		position: relative;
		background-repeat: no-repeat;
		background-size: cover;
		overflow: hidden;
	}

	.hero-section::before{
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 0;
		pointer-events: none;
	}

	.hero-section > *{
		position: relative;
		z-index: 1;
	}

	.advsntages-grid{
		grid-template-columns: repeat(2, 1fr);
	}

	.advsntages-grid__item{
		gap: 15px;
	}

	.about-grid{
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.about-grid__right{
		display: grid;
		gap: 10px;
		grid-template-columns: repeat(3, 1fr);
	}

	.production-card__logo{
		width: 78px;
	}
}

@media (max-width: 767px){
	.hero-block{
		padding-top: 60px;
		padding-bottom: 120px;
		flex-direction: column;
		gap: 20px;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.subheader-hero{
		font-size: 16px;
	}

	.parts-selector__box{
		padding: 28px 18px 24px;
		border-radius: 18px;
	}

	.parts-selector__head{
		gap: 18px;
		margin-bottom: 24px;
	}

	.parts-selector__tabs{
		gap: 14px 18px;
	}

	.parts-selector__grid--brand,
	.parts-selector__grid--code{
		grid-template-columns: 1fr;
	}

	.filter-select__trigger,
	.parts-selector__input{
		min-height: 55px;
		width: 100%;
		max-width: 100%;
	}

	.parts-help-popup{
		padding: 14px;
	}

	.parts-help-popup__dialog{
		padding: 24px 18px 20px;
		border-radius: 18px;
	}

	.production-benefits__head{
		margin-bottom: 24px;
	}

	.production-benefits__subheader{
		margin-top: 14px;
		font-size: 15px;
	}

	.production-benefits__grid{
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.production-benefits__right{
		grid-column: auto;
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.production-card__logo{
		top: 10px;
		left: 10px;
		width: 72px;
	}

	.production-card--large .production-card__media,
	.production-card--medium .production-card__media,
	.production-card--small .production-card__media{
		height: 260px;
	}

	.production-card__content{
		padding-top: 12px;
	}
}

@media (max-width: 680px){
	.about-grid__right{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px){
	.advsntages-grid{
		grid-template-columns: 1fr;
	}

}

@media (max-width: 380px){
	.container{
		padding-left: 10px;
		padding-right: 10px;
	}

	.hero-h{
		font-size: 23px;
	}

	.subheader-hero{
		font-size: 15px;
	}

}