.header__menu > li > .btn--primary,
.header__right > .btn--primary {
	background-color: var(--color-white);
	color: var(--color-dark);
}

.header__catalog-link > .btn__text {
	color: var(--color-dark);
}

.header__menu > li > .btn--primary .btn__icon,
.header__right > .btn--primary .btn__icon {
	border-color: var(--color-dark);
}

.header__menu > li > .btn--primary:hover,
.header__right > .btn--primary:hover {
	background-color: #ececec;
	color: var(--color-dark);
}

.header__menu > li > a:not(.btn):hover,
.header__phone:hover {
	color: var(--color-white);
}

.about {
	padding: 40px 0;
	padding-top: 12vh;
	background-color: var(--color-primary);
	overflow: hidden;
}

.about__logo {
	max-width: 350px;
}

.about__container {
	display: flex;
	gap: 80px;
	align-items: stretch;
}

.about__left {
	flex: 0 0 35%;
	display: flex;
	flex-direction: column;
}

.about__heading {
	color: var(--color-white);
	margin-bottom: 10px;
}

.about__stats {
	border: var(--border-width-medium) solid var(--color-white);
	border-radius: var(--radius-m);
	padding: 30px 15px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 25px;
	flex: 1;
	align-content: space-around;
}

.about__stat-item {
	display: flex;
	flex-direction: column;
	color: var(--color-white);
}

.about__stat-number {
	font-size: 96px;
	font-weight: 500;
	line-height: 1;
}

.about__stat-label {
	font-size: 20px;
	margin: 5px 0 0 0;
	font-weight: 400;
}

.about__right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.about__text {
	color: var(--color-white);
	line-height: 1.6;
}

.about__text p {
	font-size: 16px;
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.8px;
	background-color: var(--color-white);
	border: var(--border-width-thin) solid var(--color-white);
	border-radius: var(--radius-m);
	overflow: hidden;
}

.about__grid-item {
	position: relative;
	height: 160px;
	background-color: var(--color-primary);
	padding: 10px;
	cursor:
		url("data:image/svg+xml,%3Csvg%20width%3D%2227%22%20height%3D%2222%22%20viewBox%3D%220%200%2027%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0.138094%202.28774L0.0840274%202.16778L0.0354871%202.01382L0.0139868%201.90259L-0.000204615%201.74473L0.0054432%201.60049L0.0269292%201.45946L0.0644302%201.32555L0.114742%201.19735L0.159882%201.11096L0.257627%200.964518L0.345571%200.861681C0.440514%200.763234%200.549037%200.681698%200.67114%200.617073L0.791549%200.564165C0.878702%200.530674%200.967099%200.507328%201.05674%200.494125L1.2146%200.479934L25.0318%200.000232537C25.3988%200.0236443%2025.7512%200.151851%2026.0475%200.369634C26.3437%200.587415%2026.5712%200.885625%2026.7029%201.22885C26.8223%201.53763%2026.8599%201.87202%2026.812%202.1996C26.7641%202.52717%2026.6324%202.83681%2026.4296%203.09847L26.3115%203.23013L20.0482%2010.0876L19.1541%2019.2872C19.1332%2019.6229%2019.0246%2019.9473%2018.8391%2020.2278C18.6535%2020.5084%2018.3976%2020.7353%2018.0968%2020.8858L17.9271%2020.959C17.2792%2021.208%2016.5531%2021.0874%2015.9682%2020.5951L15.825%2020.4643L0.288319%202.51282L0.206487%202.40353L0.138094%202.28774Z%22%20fill%3D%22%2323221E%22%2F%3E%3C%2Fsvg%3E")
			0 0,
		pointer;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.about__grid-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity var(--transition-base);
	z-index: 1;
}

.about__grid-text {
	position: relative;
	color: var(--color-white);
	font-size: 16px;
	font-weight: 500;
	max-width: 80%;
	z-index: 2;
}

.about__grid-item:hover::before {
	opacity: 1;
}

.about__descr {
	margin-top: 40px;
	color: var(--color-white);
}

.partners {
	margin-top: 40px;
}

.partners-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 20px 0;
}

.partners-track {
	display: flex;
	width: fit-content;
	gap: 44px;
	transition: none !important;
	will-change: transform;
}

.partners-track:hover {
	animation-play-state: paused;
}

.slide {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 200px;
}

.slide img {
	display: block;
	max-width: 100%;
	max-height: 120px;
	object-fit: contain;
	transition: all 0.3s ease;
	position: relative;
}

.slide img:hover {
	transform: scale(1.15);
	z-index: 5;
}

.projects {
	margin-top: 40px;
}

.projects__title {
	margin-bottom: 20px;
}

.projects-list {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px;
}

.projects__item {
	position: relative;
	border-radius: var(--radius-m);
	overflow: hidden;
}

.projects__item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.8) 0%,
		transparent 100%
	);
	z-index: 1;
	pointer-events: none;
}

.projects__item--img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 3;
}

.projects__item--title {
	position: absolute;
	bottom: 20px;
	left: 20px;
	margin: 0;
	color: var(--color-white);
	font-weight: 400;
	z-index: 2;
}

.projects__btn {
	display: flex;
	width: max-content;
	margin-left: auto;
}

.own-brand {
	margin-top: 40px;
}

.own-brand__title {
	margin-bottom: 20px;
}

.own-brand__list {
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 45px;
}

.own-brand__item {
	border: var(--border-width-thin) solid var(--color-dark);
	border-radius: var(--radius-m);
	padding: 15px;
	padding-top: 70px;
}

.own-brand__item--title {
	margin-bottom: 5px;
}

.exclusive-brands {
	margin-top: 40px;
}

.exclusive-brands__title {
	margin-bottom: 20px;
}

.exclusive-brands__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
}

.brand-card {
	background-color: transparent;
	width: 100%;
	aspect-ratio: 1 / 1;
	perspective: 1000px;
}

.brand-card__inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-style: preserve-3d;
	border-radius: 50%;
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.09);
	will-change: transform;
}

.brand-card:hover .brand-card__inner {
	transform: rotateY(180deg);
}

.brand-card__front,
.brand-card__back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.brand-card__front {
	z-index: 2;
}

.brand-card__front img {
	max-width: 65%;
	max-height: 50%;
	object-fit: contain;
}

.brand-card__back {
	background-color: var(--color-white);
	color: var(--color-dark);
	transform: rotateY(180deg);
	padding: 10% 12%;
}

.brand-card__name {
	margin-bottom: 15px;
}

.brand-card__descr {
	margin-bottom: 20px;
	text-align: justify;
	overflow: hidden;
}

@media (max-width: 1200px) {
	.exclusive-brands__grid {
		gap: 20px;
	}

	.brand-card__back {
		padding: 8%;
	}

	.brand-card__descr {
		margin-bottom: 15px;
	}

	.own-brand__list {
		gap: 30px;
	}

	.projects-list {
		gap: 30px;
	}

	.about__container {
		gap: 30px;
	}
}

@media (max-width: 992px) {
	.exclusive-brands__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.own-brand__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.own-brand__item {
		padding: 12px;
		padding-top: 70px;
	}

	.projects-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.about__container {
		flex-direction: column;
		align-items: center;
	}

	.about__left {
		width: 100%;
		align-items: center;
	}

	.about__right {
		width: 100%;
	}

	.about__stats {
		width: 100%;
		grid-template-columns: 1fr;
	}

	.about__heading {
		margin-bottom: 15px;
	}

	.about__stat-number {
		font-size: 70px;
	}
}

@media (max-width: 768px) {
	.exclusive-brands__grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.partners-track {
		gap: 20px;
	}

	.about {
		padding: 20px 0;
		padding-top: 10vh;
	}

	.about__grid {
		grid-template-columns: 1fr;
	}

	.about__grid-item {
		height: 160px;
	}
}

@media (max-width: 576px) {
	.about {
		padding-top: 15vh;
	}

	.projects-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.projects__item--title {
		bottom: 15px;
		left: 15px;
	}
}
