.tabs {
	padding: 147px 0 122px;
	color: #1c1b17;
}
.tabs .subtitle {
	font-size: 26px;
	line-height: 130%;
	letter-spacing: -2%;
	margin-bottom: 0.5rem;
}
.tabs h2 {
	font-size: 70px;
	line-height: 110%;
	letter-spacing: -2%;
	font-weight: 500;
}
.tab-button img {
	height: 24px;
	width: 24px;
}
.tab-text h2 {
	font-weight: 500;
	font-size: 46px;
	line-height: 110%;
	letter-spacing: -2%;
}
.tab-text p {
	font-size: 26px;
	line-height: 130%;
	letter-spacing: -2%;
	margin: 0;
	max-width: 620px;
}
.tab-text img {
	display: block;
	margin-bottom: 60px;
}
.tab-text {
	padding-top: 2rem;
	flex: 0 0 auto;
	max-width: 50%;
}
.tab-buttons {
	display: inline-flex;
	gap: 3.4rem;
	list-style: none;
	padding: 0;
	margin: 2rem 0 5rem 0;
	justify-content: center;
	border-bottom: 1px solid #666d7966;
}
.tab-button {
	cursor: pointer;
	border-bottom: 4px solid #fff;
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	font-size: 18px;
	line-height: 100%;
	opacity: 0.6;
	padding: 19px 0;
}
.tab-button.active {
	border-color: #1c1b17;
	opacity: 1;
}
.tab-content {
	display: none;
	text-align: left;
	align-items: flex-start;
	justify-content: space-between;
}
.tab-content.active {
	display: flex;
}
.tab-icon {
	width: 20px;
	height: 20px;
	margin-right: 5px;
	vertical-align: middle;
}
.tab-image {
	max-width: 50%;
	margin-bottom: 1em;
}
.tab-image img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 1440px) {
	.tab-content {
		align-items: center;
	}
}

@media (max-width: 991px) {
	.tabs {
		padding: 60px 0;
        overflow: hidden;
	}
	.tabs .subtitle {
		font-size: 16px;
	}
	.tabs h2 {
		font-size: 40px;
	}
	.tab-buttons {
		margin: 0.5rem -1rem 1rem 0;
		overflow-x: auto;
        display: block;
        white-space: nowrap;
        overflow-x: scroll;
	}
    .tab-button {
        display: inline-flex;
        margin-right: 3.4rem;
    }
	.tab-text img {
		display: none;
	}
	.tab-content.active {
		display: block;
	}
	.tab-text {
		max-width: 100%;
	}
	.tab-text h2 {
		font-size: 26px;
	}
	.tab-text p {
		font-size: 16px;
	}
	.tab-image {
		max-width: 100%;
		margin-top: 2em;
		margin-bottom: 0;
	}
}
