/* WP2XML Premium Recent Clients */

.wp2xml-clients {
	position: relative;
	width: 100%;
	padding: 100px 24px;
	background: #0b0d10;
	color: #fff;
	overflow: hidden;
	box-sizing: border-box;
}

.wp2xml-clients::before {
	content: "";
	position: absolute;
	width: 600px;
	height: 600px;
	top: -300px;
	right: -200px;
	background: radial-gradient(circle, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 70%);
	pointer-events: none;
}

.wp2xml-clients-inner {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
}

.wp2xml-clients-header {
	max-width: 760px;
	margin-bottom: 55px;
}

.wp2xml-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.5px;
	color: #a7a7a7;
}

.wp2xml-clients-header h2 {
	margin: 0;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.08;
	letter-spacing: -2px;
	font-weight: 700;
}

.wp2xml-clients-header h2 span {
	color: #888;
}

.wp2xml-clients-header p {
	max-width: 680px;
	margin: 22px 0 0;
	font-size: 17px;
	line-height: 1.7;
	color: #9b9da2;
}

.wp2xml-client-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.wp2xml-client-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 430px;
	padding: 28px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 18px;
	overflow: hidden;
	box-sizing: border-box;
	transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.wp2xml-client-card::before {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	top: -120px;
	right: -100px;
	background: rgba(255,255,255,.06);
	border-radius: 50%;
	transition: transform .5s ease;
}

.wp2xml-client-card:hover {
	transform: translateY(-8px);
	border-color: rgba(255,255,255,.25);
	background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
	box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

.wp2xml-client-card:hover::before {
	transform: scale(1.6);
}

.wp2xml-card-top {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wp2xml-project-number {
	font-size: 12px;
	font-weight: 600;
	color: #707277;
	letter-spacing: 1px;
}

.wp2xml-external {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 50%;
	font-size: 17px;
	color: #aaa;
	transition: background .3s ease, color .3s ease, transform .3s ease;
}

.wp2xml-client-card:hover .wp2xml-external {
	background: #fff;
	color: #111;
	transform: rotate(45deg);
}

.wp2xml-logo-box {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 125px;
	margin: 25px 0;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	box-sizing: border-box;
}

.wp2xml-logo-box img {
	display: block;
	max-width: 170px;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.wp2xml-card-content {
	position: relative;
	z-index: 2;
}

.wp2xml-card-content h3 {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.3;
	letter-spacing: -.3px;
}

.wp2xml-card-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #8e9095;
}

.wp2xml-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
}

.wp2xml-tags span {
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	color: #9c9ea3;
}

.wp2xml-view {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 25px;
	border-top: 1px solid rgba(255,255,255,.08);
	font-size: 13px;
	font-weight: 600;
	color: #aaa;
}

.wp2xml-view span:last-child {
	font-size: 20px;
	transition: transform .3s ease, color .3s ease;
}

.wp2xml-client-card:hover .wp2xml-view {
	color: #fff;
}

.wp2xml-client-card:hover .wp2xml-view span:last-child {
	transform: translateX(5px);
	color: #fff;
}

.wp2xml-clients-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 55px;
	padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,.1);
}

.wp2xml-clients-footer strong {
	display: block;
	margin-bottom: 5px;
	font-size: 16px;
}

.wp2xml-clients-footer > div > span {
	font-size: 14px;
	color: #777;
}

.wp2xml-client-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 20px;
	background: #fff;
	border-radius: 8px;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .25s ease, background .25s ease;
}

.wp2xml-client-cta:hover {
	transform: translateY(-2px);
	background: #e9e9e9;
	color: #111;
}

.wp2xml-client-cta span {
	color: #111;
	font-size: 18px;
}

@media (max-width: 900px) {
	.wp2xml-client-grid {
		grid-template-columns: 1fr 1fr;
	}

	.wp2xml-client-card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 650px) {
	.wp2xml-clients {
		padding: 70px 18px;
	}

	.wp2xml-clients-header h2 {
		letter-spacing: -1.2px;
	}

	.wp2xml-clients-header p {
		font-size: 15px;
	}

	.wp2xml-client-grid {
		grid-template-columns: 1fr;
	}

	.wp2xml-client-card:last-child {
		grid-column: auto;
	}

	.wp2xml-client-card {
		min-height: 400px;
	}

	.wp2xml-clients-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.wp2xml-client-cta {
		width: 100%;
		justify-content: center;
	}
}
