@charset "UTF-8";

/* Services index — dark editorial language (aligned with works / home) */
.services-index {
	--si-brand: #3e0093;
	--si-muted: rgba(255, 255, 255, 0.55);
	--si-line: rgba(255, 255, 255, 0.14);
	/* Clear fixed top-bar (32px) + header logo row */
	--si-header-offset: calc(32px + 88px);
	background: #000;
	color: #fff;
	padding: calc(var(--si-header-offset) + clamp(36px, 5vw, 64px)) 0 clamp(80px, 7rem, 120px);
	overflow-x: clip;
}

.services-index__inner {
	width: 100%;
}

.services-index__hero {
	padding: 0 var(--side-padding, 60px);
	margin-bottom: clamp(40px, 4rem, 64px);
	padding-bottom: clamp(28px, 2.5rem, 40px);
	border-bottom: 1px solid var(--si-line);
}

.services-index__copy {
	max-width: 40em;
}

.services-index__eyebrow {
	margin: 0 0 clamp(12px, 1rem, 16px);
	font-size: clamp(14px, 1.125rem, 18px);
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--si-muted);
}

.services-index__eyebrow::before {
	content: "/ ";
}

.services-index__title {
	margin: 0 0 clamp(16px, 1.25rem, 22px);
	font-size: clamp(44px, 6.25rem, 100px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
}

.services-index__title span {
	font-weight: 700;
	color: var(--si-brand);
}

.services-index__lead {
	margin: 0;
	max-width: 34em;
	font-size: clamp(15px, 1.25rem, 20px);
	line-height: 1.5;
	color: var(--si-muted);
}

/* Arabic: right-align copy without flipping the page chrome */
.services-index.is-rtl,
.services-index.is-rtl .services-index__hero,
.services-index.is-rtl .services-index__copy,
.services-index.is-rtl .services-index__title,
.services-index.is-rtl .services-index__lead,
.services-index.is-rtl .services-index__body,
.services-index.is-rtl .services-index__name,
.services-index.is-rtl .services-index__desc,
.services-index.is-rtl .services-index__index,
.services-index.is-rtl .services-index__tags,
.services-index.is-rtl .services-index__cta {
	text-align: right;
}

.services-index.is-rtl .services-index__copy,
.services-index.is-rtl .services-index__lead {
	margin-left: auto;
	margin-right: 0;
}

.services-index.is-rtl .services-index__body {
	align-items: flex-end;
}

.services-index.is-rtl .services-index__tags {
	justify-content: flex-end;
}

.services-index.is-rtl .services-index__cta {
	flex-direction: row-reverse;
}

.services-index.is-rtl .services-index__footer {
	justify-content: flex-end;
}

.services-index.is-rtl .services-index__contact .cta-arrow {
	display: inline-block;
	transform: scaleX(-1);
}

.services-index__list {
	display: flex;
	flex-direction: column;
	width: 100%;
	border-top: 1px solid var(--si-line);
}

.services-index__row {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	align-items: stretch;
	border-bottom: 1px solid var(--si-line);
	text-decoration: none;
	color: inherit;
	background: #000;
	transition: background-color 0.35s ease;
}

.services-index__row:nth-child(even) {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.services-index__row:nth-child(even) .services-index__visual {
	order: 2;
}

.services-index__row:nth-child(even) .services-index__body {
	order: 1;
}

.services-index__row:hover,
.services-index__row:focus-visible {
	background: #070707;
	outline: none;
}

.services-index__visual {
	position: relative;
	overflow: hidden;
	min-height: clamp(240px, 36vw, 460px);
	background: #111;
}

.services-index__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.04);
	transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.services-index__row:hover .services-index__visual img,
.services-index__row:focus-visible .services-index__visual img {
	transform: scale(1);
}

.services-index__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.35) 0%,
		transparent 55%
	);
	pointer-events: none;
	opacity: 0.7;
}

.services-index__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(14px, 1.25rem, 20px);
	padding: clamp(28px, 3.5rem, 56px) var(--side-padding, 60px);
}

.services-index__index {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--si-muted);
}

.services-index__name {
	margin: 0;
	font-size: clamp(32px, 4.5vw, 64px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	transition: color 0.25s ease;
}

.services-index__row:hover .services-index__name,
.services-index__row:focus-visible .services-index__name {
	color: #fff;
}

.services-index__desc {
	margin: 0;
	max-width: 34em;
	font-size: clamp(15px, 1.125rem, 18px);
	line-height: 1.55;
	color: var(--si-muted);
}

.services-index__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.services-index__tags li {
	position: relative;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.services-index__tags li:not(:last-child)::after {
	content: "";
	display: none;
}

.services-index__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	font-size: clamp(14px, 1rem, 16px);
	font-weight: 600;
	color: #fff;
}

.services-index__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.services-index__cta-icon svg {
	width: 16px;
	height: 16px;
}

.services-index__row:hover .services-index__cta-icon,
.services-index__row:focus-visible .services-index__cta-icon {
	background: var(--si-brand);
	border-color: var(--si-brand);
	transform: translateX(3px);
}

.services-index__footer {
	display: flex;
	justify-content: flex-start;
	margin: clamp(36px, 3rem, 48px) var(--side-padding, 60px) 0;
}

.services-index__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 52px;
	padding: 0 clamp(24px, 2rem, 32px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: transparent;
	color: #fff !important;
	font-size: clamp(14px, 1rem, 16px);
	font-weight: 600;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.services-index__contact:hover {
	background: var(--si-brand);
	border-color: var(--si-brand);
	transform: translateY(-2px);
}

@media (max-width: 900px) {
	.services-index__hero {
		padding: 0 var(--side-padding, 24px);
		margin-bottom: clamp(32px, 3.5rem, 48px);
	}

	.services-index__row,
	.services-index__row:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.services-index__row:nth-child(even) .services-index__visual,
	.services-index__row:nth-child(even) .services-index__body {
		order: initial;
	}

	.services-index__visual {
		order: -1;
		min-height: 220px;
	}

	.services-index__body {
		padding: clamp(24px, 2rem, 32px) var(--side-padding, 24px) clamp(32px, 3rem, 48px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.services-index__visual img,
	.services-index__cta-icon,
	.services-index__contact {
		transition: none !important;
	}
}
