/**
 * SE Service Sticky — Figma Services 1 (sticky left visual + scrolling content).
 */

.se-service-sticky {
	--se-service-sticky-top: 100px;
	--se-service-sticky-visual-ratio: 50%;
	--se-service-sticky-content-ratio: 50%;
	position: relative;
	z-index: 0;
	isolation: isolate;
	box-sizing: border-box;
}

.se-service-sticky__layout {
	display: grid;
	grid-template-columns: minmax(0, var(--se-service-sticky-visual-ratio)) minmax(0, var(--se-service-sticky-content-ratio));
	align-items: start;
	gap: clamp(24px, 4vw, 54px);
	margin: 0 auto;
	box-sizing: border-box;
}

.se-service-sticky__aside {
	position: sticky;
	top: var(--se-service-sticky-top);
	align-self: start;
	z-index: 1;
	max-height: calc(100vh - var(--se-service-sticky-top) - 24px);
}

.se-service-sticky[data-se-sticky-visual="no"] .se-service-sticky__aside,
.se-service-sticky.se-service-sticky--past-end .se-service-sticky__aside {
	position: relative;
	top: auto;
	max-height: none;
}

.se-service-sticky.se-service-sticky--past-end .se-service-sticky__aside {
	opacity: 1;
}

.se-service-sticky__visual-stack {
	position: relative;
	min-height: 360px;
	height: 360px;
	transition: height 0.35s ease;
}

.se-service-sticky__visual {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.se-service-sticky__visual.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible; 
	pointer-events: auto;
}

.se-service-sticky__visual-card {
	border-radius: 26px;
	padding: 1px;
	background: linear-gradient(
		135deg,
		rgba(204, 255, 49, 0.35) 0%,
		rgba(204, 255, 49, 0.22) 45%,
		rgba(230, 255, 150, 0.95) 74%,
		rgba(204, 255, 49, 0.9) 100%
	);
	box-shadow:
		0 0 0 1px rgba(204, 255, 49, 0.22),
		0 20px 56px rgba(0, 0, 0, 0.45),
		0 0 40px rgba(20, 68, 3, 0.35);
	box-sizing: border-box;
}

.se-service-sticky__visual-inner {
	position: relative;
	border-radius: 25px;
	overflow: hidden;
	min-height: 360px;
	background: radial-gradient(120% 85% at 28% 0%, rgb(20, 68, 3) 0%, #000000 72%);
}

.se-service-sticky__tags {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.se-service-sticky__tag {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: #ccff31;
	background: rgba(8, 32, 27, 0.72);
	border: 1px solid rgba(204, 255, 49, 0.28);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.se-service-sticky__visual-media {
	position: relative;
	min-height: 360px;
	overflow: hidden;
}

.se-service-sticky__visual-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(118deg, rgba(204, 255, 49, 0.14) 0%, transparent 50%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 100% 100%, 22px 22px, 22px 22px;
	pointer-events: none;
}

.se-service-sticky__visual-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
	pointer-events: none;
}

.se-service-sticky__visual-media img {
	width: 100%;
	height: 416px;
	min-height: 360px;
	object-fit: cover;
	object-position: center center;
	display: block;
	position: relative;
	z-index: 0;
}

.se-service-sticky__visual-placeholder {
	min-height: 360px;
	background-color: #041510;
}

.se-service-sticky__sections {
	display: flex;
	flex-direction: column;
	gap: 54px;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.se-service-sticky__section {
	min-height: min(360px, 80vh);
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	scroll-margin-top: calc(var(--se-service-sticky-top) + 24px);
}

.se-service-sticky__section-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.se-service-sticky__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.se-service-sticky__service-list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.se-service-sticky__service-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.se-service-sticky__service-list-text {
	flex: 1;
	min-width: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #ffffff;
}

.se-service-sticky__service-list-arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	color: #ffffff;
	transition: color 0.25s ease, transform 0.25s ease;
}

.se-service-sticky__service-list-item:first-child .se-service-sticky__service-list-arrow {
	color: #ccff31;
}

.se-service-sticky__service-list-item:hover .se-service-sticky__service-list-arrow {
	color: #ccff31;
}

.se-service-sticky__service-list-arrow svg {
	width: 1em;
	height: 1em;
}

.se-service-sticky__tech-icons.se-icon-row--compact {
	--se-icon-row-gap: 19px;
	--se-icon-row-cell: 77px;
	--se-icon-row-shell-pad: 1.13px;
	--se-icon-row-media: 58%;
	margin-top: 28px;
}

.se-service-sticky__tech-shell {
	border-radius: 0;
}

.se-service-sticky__title {
	margin: 0;
	padding: 0;
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: normal;
	text-transform: none;
}

.se-service-sticky__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

.se-service-sticky__title a:hover {
	color: #ccff31;
}

.se-service-sticky__excerpt,
.se-service-sticky__excerpt p {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.77);
}

/* Tablet and mobile: single column, no featured images (desktop sticky visual only). */
@media (max-width: 1024px) {
	.se-service-sticky__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.se-service-sticky__aside {
		display: none;
	}

	.se-service-sticky__sections {
		gap: 40px;
	}

	.se-service-sticky__section {
		min-height: 0;
		padding: 0 0 40px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.se-service-sticky__section:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
}

@media (max-width: 767px) {
	.se-service-sticky__sections {
		gap: 32px;
	}

	.se-service-sticky__section {
		padding-bottom: 32px;
	}
}
