.services {
	padding-right: 4rem;
	position: relative;
	display: grid;
	width: 100%;
	min-height: 67vh;
	grid-template-columns: 0.75fr 0.2fr 1fr;
	align-items: start;

	& .col2 {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	& .col3 {
		height: 100%;
		grid-column: 2 / 4;
		grid-row: 1;
		background-size: contain;
		background-position: 0 left;
		background-repeat: no-repeat;
	}

	& .col1 {
		width: 100%;
		grid-column: 1 / 3;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 100%;
		z-index: 1;
	}

	& .sign {
		width: clamp(300px, 57%, 360px);
		position: relative;
		margin-bottom: 2rem;

		& img {
			width: 100%;
		}

		&::after {
			content: '';
			position: absolute;
			height: 5px;
			width: 90px;
			left: 50%;
			transform: translateX(-50%);
			bottom: -2rem;
			background-color: var(--prime4);
		}
	}

	& ul {
		padding: 2rem 0;
		margin: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 3rem 0.1rem;

		/* display: grid;
		grid-template-columns: repeat(12, 1fr); */
	}

	/* & ul li:nth-child(-n+3) {
		grid-column: span 4;
		display: flex;
		justify-content: center;
	}

	& ul li:nth-child(n+4) {
		grid-column: span 3;
		display: flex;
		justify-content: center;
	} */

	& ul li:nth-child(-n+3) {
		flex: 0 0 27%;
	}

	& ul li:nth-child(n+4) {
		flex: 1 0 20%;
	}

	& li {
		display: flex;
		justify-content: center;
		height: fit-content;
	}

	& a {
		width: min(100%, 160px);
		min-height: 125px;
		display: flex;
		flex-direction: column;
		align-items: center;

		& span {
			color: var(--prime3);
			font-size: 1.2rem;
			font-weight: 600;
			text-align: center;
			line-height: 1.14;
		}

		& .pic {
			width: 90px;
			height: 90px;
			margin-bottom: 0.25rem;
		}

		& img {
			object-fit: contain;
			height: 100%;
			width: 100%;
			transition: all 0.2s ease;
		}

		&:hover {
			text-decoration: none;

			& img {
				filter: hue-rotate(265deg);
				transform: scale(1.1);
			}
		}
	}
}


.project {
	position: relative;
	z-index: 2;
	border-radius: 4vw;
	padding-block: 9rem;
	background-color: var(--prime3);

	& h2 {
		font-size: calc(2vw + 16px);
		font-weight: 700;
		color: #fff;
		display: flex;
		flex-direction: column;
		line-height: 1.2;

		& span {
			color: oklch(from var(--prime1) calc(l + 0.02) c h);
		}

		& i {
			font-style: normal;
		}

		& b {
			color: var(--prime4);
		}
	}

	& .pic {
		margin-right: auto;
		width: 54vw;
		aspect-ratio: 3 /2.2;
		background-size: cover;
		background-position: center;
	}

	& .title {
		position: absolute;
		bottom: 10rem;
		right: -42%;
		display: block;
		padding: 1.5rem 5rem 1.4rem 4rem;
		background-color: var(--prime5);
		width: clamp(82%, 47vw, 830px);
		-webkit-box-decoration-break: clone;
		box-decoration-break: clone;
		filter: drop-shadow(1rem 1rem 0px var(--prime3));
	}

	& .wrap {
		display: flex;
		flex-direction: column;
		position: relative;


		& a {
			display: flex;
			flex-direction: column;
			line-height: 1.2;

			&:hover {
				text-decoration: none;

				& strong {
					color: oklch(from var(--prime1) calc(l + 0.3) c h);
				}
			}
		}

		& strong {
			font-weight: 900;
			color: #fff;
			font-size: calc(2vw + 16px);
		}

		& em {
			padding-top: 1rem;
			font-style: normal;
			color: oklch(from var(--prime1) calc(l + 0.15) c h);
			font-size: calc(0.75vw + 16px);
		}

		& i {
			display: inline-block;
			margin-right: 1rem;
			font-size: 1rem;
		}
	}

	& .all {
		padding: 0;
		justify-content: flex-start
	}
}



/* Articles */

.articles {
	margin-top: 5rem;
	position: relative;
	margin-bottom: 3rem;

	& h2 {
		font-size: calc(2.5vw + 16px);
		margin-block: 2.5rem;
		font-weight: 400;
	}

	& h2 span {
		color: var(--headerBlue);
	}
}

.articles a {
	display: flex;
	padding-top: 2rem;

	& .cat-title {
		& span {
			color: var(--prime1);
			font-size: calc(0.65vw + 16px);
		}
	}

	& h3 {
		padding-block: 0.25rem;
		font-weight: 900;
		line-height: 1.1;
		position: relative;
		width: 98%;
		color: var(--prime3);
		font-size: calc(2vw + 16px);
	}

	& h3::after {
		content: "";
		position: absolute;
		right: 0;
		width: 82px;
		bottom: -1.5rem;
		height: 5px;
		background-color: var(--prime4);
	}

	& p {
		color: var(--text);
		font-size: calc(0.25vw + 16px);
		margin-block: 3rem;
	}

	& p + span {
		transition: all 0.2s ease;
		font-size: calc(0.8vw + 16px);
		color: var(--prime1);
		display: inline-block;

		& i {
			font-size: 0.9rem;
			margin-right: 0.075rem;
			transition: all 0.2s ease;
		}
	}

	&:hover {
		text-decoration: none;
	}

	&:hover p + span {
		transform: scale(1.1);
	}

	&:hover p + span i {
		margin-right: 0;
	}

	& .info {
		padding-right: 6.5%;
	}
}

.articles .pic {
	border: 2px solid #e0e0e0;
	overflow: hidden;
	padding: 8px;
	margin-right: 20px;
	border-radius: 40px;

	@media (min-width:992px) {
		& + div.col-lg-6 {
			flex: 0 0 45%;
			max-width: 45%;
		}
	}


}

.articles .pic > div {
	border-radius: 1.82rem;
	width: 100%;
	height: 100%;
	aspect-ratio: 1.5;
	background-size: cover;
	background-position: center;

	& + span {
		position: relative;
		width: 100%;
		display: flex;
		justify-content: space-between;
		z-index: 9;
	}
}

.articles .go {
	position: absolute;
	width: 235px;
	height: 235px;
	display: inline-block;
	background-image: url(./images/edge.png);
	background-size: contain;
	background-position: left bottom;
	background-repeat: no-repeat;
	bottom: -53px;

	&:hover {
		&::before {
			color: var(--prime1);
		}
	}

	&::before {
		position: absolute;
		inset: 0;
		margin: auto;
		color: #9b9b9b;
		width: 50px;
		height: 50px;
		font-size: 1.82rem;
		font-family: "FONT AWESOME 7 FREE";
		font-weight: 900;
		margin-bottom: 3.5rem;
	}

	&.go-next {
		left: -53px;

		&::before {
			content: '\f053';
			margin-left: 3rem;
		}
	}

	&.go-prev {
		right: -53px;
		transform: scaleX(-1);

		&::before {
			transform: scaleX(-1);
			content: '\f054';
			margin-right: 6.5rem;
		}
	}
}

.read-more {
	background: #fff;
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-weight: bold;
	color: inherit;
	border: 1px solid #ddd;
}

.all {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-inline: 2rem;
	position: relative;
	z-index: 10;

	& a {
		padding: 10px 1.5rem;
		border: 1px solid var(--prime1);
		border-radius: 50vw;
		color: var(--prime2);
		font-size: calc(0.25vw + 16px);
		display: block;
		background-color: #fff;
	}

	& span {
		display: inline-block;
		margin-left: 0.5rem;
	}

	& i {
		font-size: 0.9rem;
		transition: all 0.2s ease;
	}

	& a:hover {
		transform: scale(1.1);
		color: var(--prime2);
	}
}

.slick-articles {
	padding-inline: 4rem;
}

.values {
	color: #fff;
	position: relative;
	margin-top: -5rem;
	width: 100%;
	padding-block: 8rem;
	background-color: var(--prime5);

	& .row {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		grid-template-rows: auto 1fr;
		gap: 30px;
	}

	& .box {
		position: relative;
		display: grid;
		grid-row: span 2;
		grid-template-rows: subgrid;
		gap: 15px;
		width: clamp(100%, 25%, 300px);
		padding-inline: clamp(1rem, 3vw, 95px);

		&::after {
			content: '';
			position: absolute;
			left: -0.05rem;
			height: 125px;
			width: 1px;
			background-color: rgb(from #fff r g b / 0.75);
			top: 20%;
		}

		&:last-child::after {
			content: none;
		}
	}

	& img {
		margin: 0 auto;
		align-self: end;
		width: min(100%, 90px);
	}

	& span {
		font-size: calc(0.55vw + 16px);
		text-align: center;
		font-weight: 300;
		align-self: start;
	}
}

.footer {
	margin-top: 0;
}

@media (max-width:1800px) {
	.services {
		margin-bottom: 0;
		padding-right: 0;

		& .sign {
			width: clamp(300px, 50%, 270px);
		}
	}
}


@media (max-width:1599px) {
	.services {
		& ul {
			gap: 1rem;
		}

		& .sign {
			width: clamp(175px, 42%, 220px);
		}

		& a {
			& .pic {
				height: 70px;
			}
		}
	}
}


@media (max-width:1599px) {
	.project {
		& .title {
			bottom: 4rem;
			padding: 1.4rem 2.2rem;
		}
	}
}


@media (max-width:1199px) {
	.services {
		display: flex;
		height: 60vh;
		min-height: unset;

		& .col1 {
			padding: 1rem;
			flex-direction: row;

			& ul {
				width: 100%;
				height: 100%;
				display: grid;
				grid-template-columns: repeat(3, 1fr);
				align-items: center;
			}
		}

		& .col3 {
			width: 100%;
			z-index: -1;
			position: absolute;
			opacity: 0.4;
			height: 104%;
		}

		& .sign {
			width: 40%;
			margin-block: auto;
		}
	}
}


@media (max-width:991px) {

	.services {
		height: 100%;

		& ul {
			padding: 0;
		}

		& .col3 {
			background-position: center;
			background-size: cover;
			height: inherit;
		}

		& a {
			min-height: 90px;
		}

		& .sign {
			margin-top: 0;
		}
	}

	.articles {
		margin-block: 2.5rem;

		& .pic {
			border-radius: 30px;
			margin-right: 0;

			& > div {
				border-radius: 20px;
			}
		}

		& a {
			& p + span {
				font-size: calc(1vw + 16px);
			}
		}

		& .go {
			width: 195px;
			height: 195px;
			bottom: -45px;

			&::before {
				font-size: 1.6rem;
				margin-bottom: 2.7rem;
			}

			&.go-next {
				left: -44px;

				&::before {
					margin-left: 2rem;
				}
			}

			&.go-prev {
				right: -44px;

				&::before {
					margin-right: 5rem;
				}
			}
		}
	}

	.slick-articles {
		padding-inline: 0.5rem;
		margin-bottom: 2rem;
	}

	.project {
		border-radius: 0;
		padding-block: 2rem;

		& h2 {
			margin-bottom: 1rem;
		}

		& .row {
			gap: 1rem;
			flex-direction: column;
		}

		& .pic {
			width: 100%;
		}

		& .title {
			position: relative;
			right: unset;
			bottom: -1rem;
			padding: 1.2rem 1.8rem;
		}

	}

	.values {
		margin-top: 1rem;
		padding-top: 6rem;
		padding-bottom: 8rem;

		& .row {
			grid-template-columns: repeat(2, 1fr);
		}

		& .box:nth-child(even)::after {
			content: none;
		}


	}
}

@media (max-width:600px) {
	.services {

		& a .pic {
			width: 55px;
			height: 55px;
		}

		& .sign {
			display: none;
		}

		& .col1 {
			& ul {
				grid-template-columns: repeat(2, 1fr);
			}
		}
	}
}