﻿/**
 * Portfolio Garden v3 鈥?visual-first list + single case layout.
 * Filters: editorial text. Cards: image/BA/abstract. No modal.
 */

.page-id-2788,
.single-sv_case,
.sv-pf,
.sv-pf-page,
.sv-case {
	--sv-pf-bg: #f7f7f5;
	--sv-pf-surface: #ffffff;
	--sv-pf-surface-2: #ecece8;
	--sv-pf-text: #1a1a1a;
	--sv-pf-soft: #6a6a6a;
	--sv-pf-line: rgba(26, 26, 26, 0.14);
	--sv-pf-accent: #2575fc;
}

body.active-dark-mode.page-id-2788,
body.active-dark-mode.single-sv_case,
body.active-dark-mode .sv-pf,
body.active-dark-mode .sv-pf-page,
body.active-dark-mode .sv-case {
	--sv-pf-bg: #121212;
	--sv-pf-surface: #1a1a1a;
	--sv-pf-surface-2: #242424;
	--sv-pf-text: #f2f2f2;
	--sv-pf-soft: #a8a8a8;
	--sv-pf-line: rgba(255, 255, 255, 0.14);
}

.page-id-2788 .axil-breadcrumb-area,
.page-id-2788 .page-title-area,
.single-sv_case .axil-breadcrumb-area,
.single-sv_case .page-title-area {
	display: none !important;
}

.page-id-2788 .axil-section-gap.bg-color-white {
	padding: 0 !important;
	background: transparent !important;
}

.page-id-2788 .axil-section-gap.bg-color-white > .container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.page-id-2788 .axil-footer-area .container,
.page-id-2788 .footer-top .container,
.page-id-2788 .copyright-area .container,
.single-sv_case .axil-footer-area .container,
.single-sv_case .footer-top .container,
.single-sv_case .copyright-area .container {
	max-width: 1260px !important;
	width: 100% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.page-id-2788 .elementor-2788,
.sv-pf-page,
.sv-case {
	background: var(--sv-pf-bg);
	color: var(--sv-pf-text);
}

/* Banner 8384 — portfolio page + case pages (same template as homepage) */
.page-id-2788 .sv-pf-banner-wrap,
.page-id-2788 .sv-pf-banner-wrap > .elementor-container,
.page-id-2788 .sv-pf-banner-wrap > .elementor-container > .elementor-column,
.page-id-2788 .sv-pf-banner-wrap .elementor-widget-wrap,
.page-id-2788 .sv-pf-banner-wrap .elementor-template,
.page-id-2788 .sv-pf-banner-wrap .elementor-8384,
.single-sv_case .sv-case__banner-wrap,
.single-sv_case .sv-case__banner-wrap > .elementor,
.single-sv_case .sv-case__banner-wrap .elementor-8384 {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.page-id-2788 .sv_service_banner.sv_global_banner,
.page-id-2788 .elementor-8384 .sv_service_banner,
.page-id-2788 .elementor-element-e4bb46c,
.single-sv_case .sv_service_banner.sv_global_banner,
.single-sv_case .elementor-8384 .sv_service_banner,
.single-sv_case .elementor-element-e4bb46c {
	width: 100% !important;
	max-width: 100% !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
	background: linear-gradient(140deg, #f0f2f5 0%, #a5a5a5 100%) !important;
	padding: 100px 24px 0 !important;
	margin-bottom: 2rem !important;
	overflow: visible !important;
}

/* Keep banner edge-to-edge without 100vw left/right tricks (mobile scroll jank). */
.page-id-2788 .sv-pf-banner-wrap,
.single-sv_case .sv-case__banner-wrap {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	overflow-x: clip;
}

body.active-dark-mode.page-id-2788 .sv_service_banner.sv_global_banner,
body.active-dark-mode.page-id-2788 .elementor-8384 .sv_service_banner,
body.active-dark-mode.single-sv_case .sv_service_banner.sv_global_banner,
body.active-dark-mode.single-sv_case .elementor-8384 .sv_service_banner,
body.active-dark-mode.single-sv_case .elementor-element-e4bb46c {
	background: linear-gradient(140deg, #313233 0%, #1a1a1a 100%) !important;
}

.single-sv_case .sv_service_banner .sv_footer_col,
.single-sv_case .elementor-element-e22fd47 > .elementor-element-populated {
	background: #fff !important;
}

body.active-dark-mode.single-sv_case .sv_service_banner .sv_footer_col,
body.active-dark-mode.single-sv_case .elementor-element-e22fd47 > .elementor-element-populated {
	background: linear-gradient(140deg, #313233 0%, #1a1a1a 100%) !important;
	box-shadow: 30px 42px 54px 0 rgba(0, 0, 0, 0.45) !important;
}

.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor,
.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor p {
	color: #3d3d3d !important;
}

body.active-dark-mode.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor,
body.active-dark-mode.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor p {
	color: #f0f2f5 !important;
}

.page-id-2788 .sv_service_banner .elementor-heading-title,
.page-id-2788 .elementor-8384 .elementor-heading-title,
.single-sv_case .sv_service_banner .elementor-heading-title,
.single-sv_case .elementor-8384 .elementor-heading-title {
	color: #000 !important;
	text-align: center !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.active-dark-mode.page-id-2788 .sv_service_banner .elementor-heading-title,
body.active-dark-mode.single-sv_case .sv_service_banner .elementor-heading-title {
	color: #fff !important;
}

.page-id-2788 .sv_service_banner .elementor-button,
.page-id-2788 .elementor-8384 .elementor-button,
.single-sv_case .sv_service_banner .elementor-button,
.single-sv_case .elementor-8384 .elementor-button {
	font-family: 'Poppins', sans-serif !important;
	background-color: #3d3d3d !important;
	border: 2px solid #3d3d3d !important;
	border-radius: 999px !important;
	color: #fff !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/*
 * Case banner CTAs — homepage-scale pills (px, not rem: theme root ~10px).
 */
.single-sv_case .sv-case-banner-ctas-wrap {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.single-sv_case .sv-case-banner-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 680px;
	margin: 8px auto 0;
	padding: 0 16px;
	box-sizing: border-box;
}

.single-sv_case .sv-case-banner-ctas__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-height: 44px;
	padding: 11px 26px;
	border-radius: 999px;
	border: 2px solid #3d3d3d;
	background: #3d3d3d;
	color: #fff !important;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.single-sv_case .sv-case-banner-ctas__btn:hover,
.single-sv_case .sv-case-banner-ctas__btn:focus-visible {
	background: #2575fc;
	border-color: #2575fc;
	color: #fff !important;
}

body.active-dark-mode.single-sv_case .sv-case-banner-ctas__btn {
	background: #f0f2f5;
	border-color: #f0f2f5;
	color: #1f1f1f !important;
}

body.active-dark-mode.single-sv_case .sv-case-banner-ctas__btn:hover,
body.active-dark-mode.single-sv_case .sv-case-banner-ctas__btn:focus-visible {
	background: #2575fc;
	border-color: #2575fc;
	color: #fff !important;
}

/* iPad / tablet */
@media (max-width: 1024px) {
	.single-sv_case .sv-case-banner-ctas {
		gap: 12px;
		max-width: 560px;
		padding: 0 20px;
	}

	.single-sv_case .sv-case-banner-ctas__btn {
		min-height: 42px;
		padding: 10px 22px;
		font-size: 14px;
	}
}

/* Phone: stack full-width equal buttons */
@media (max-width: 767px) {
	.single-sv_case .sv-case-banner-ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		max-width: 280px;
		padding: 0 16px;
	}

	.single-sv_case .sv-case-banner-ctas__btn {
		width: 100%;
		min-height: 44px;
		white-space: normal;
		padding: 12px 18px;
		font-size: 15px;
	}
}

.page-id-2788 .sv_service_banner .elementor-button:hover,
.single-sv_case .sv_service_banner .elementor-button:hover {
	background-color: #2575fc !important;
	border-color: #2575fc !important;
}

body.active-dark-mode.page-id-2788 .sv_service_banner .elementor-button,
body.active-dark-mode.single-sv_case .sv_service_banner .elementor-button {
	background-color: #f0f2f5 !important;
	border-color: #f0f2f5 !important;
	color: #1f1f1f !important;
}

.page-id-2788 .elementor-invisible,
.page-id-2788 .animated,
.single-sv_case .sv-case__banner-wrap .elementor-invisible,
.single-sv_case .sv-case__banner-wrap .animated {
	animation: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

.single-sv_case .sv_service_banner .sv_light_img { display: block !important; }
.single-sv_case .sv_service_banner .sv_dark_img { display: none !important; }
body.active-dark-mode.single-sv_case .sv_service_banner .sv_light_img { display: none !important; }
body.active-dark-mode.single-sv_case .sv_service_banner .sv_dark_img { display: block !important; }

/* Hero 鈥?centered, clear copy */
.sv-pf-hero-block {
	max-width: 920px;
	margin: 0 auto;
	padding: 3.25rem 1.25rem 0.5rem;
	text-align: center;
}

.sv-pf-hero-block__eyebrow {
	margin: 0 0 0.55rem;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sv-pf-soft);
}

.sv-pf-hero-block h1 {
	margin: 0 auto 0.55rem;
	max-width: 100%;
	font-size: clamp(24px, 3.4vw, 40px);
	line-height: 1.15;
	font-weight: 700;
	color: var(--sv-pf-text);
	white-space: nowrap;
}

@media (max-width: 520px) {
	.sv-pf-hero-block h1 {
		white-space: normal;
		font-size: clamp(22px, 6.2vw, 28px);
	}
}

.sv-pf-hero-block__lead {
	margin: 0 auto 1.35rem;
	max-width: none;
	font-size: 16px;
	line-height: 1.45;
	white-space: nowrap;
	color: var(--sv-pf-soft);
}

@media (max-width: 520px) {
	.sv-pf-hero-block__lead {
		white-space: normal;
	}
}

.sv-pf-hero-block__actions {
	margin: 0 0 0.5rem;
}

/* Service filters 鈥?square toggles, clear active, responsive */
.sv-pf__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0.75rem;
	max-width: 960px;
	margin: 2.75rem auto 2.5rem;
	padding: 0 1.25rem;
	text-align: center;
}

.page-id-2788 .sv-pf__chip,
.sv-pf__chip,
.page-id-2788 button.sv-pf__chip,
.page-id-2788 a.sv-pf__chip {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 7.5rem;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0.65rem 1.1rem !important;
	border: 1.5px solid var(--sv-pf-line) !important;
	border-radius: 4px !important;
	background: var(--sv-pf-surface) !important;
	box-shadow: none !important;
	color: var(--sv-pf-soft) !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	letter-spacing: 0.01em !important;
	cursor: pointer !important;
	position: relative;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease !important;
}

.page-id-2788 .sv-pf__chip::before,
.sv-pf__chip::before,
.page-id-2788 .sv-pf__chip::after,
.sv-pf__chip::after {
	content: none !important;
	display: none !important;
}

.page-id-2788 .sv-pf__chip:hover,
.sv-pf__chip:hover {
	border-color: var(--sv-pf-text) !important;
	color: var(--sv-pf-text) !important;
	background: var(--sv-pf-surface) !important;
}

.page-id-2788 .sv-pf__chip.is-active,
.sv-pf__chip.is-active {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.page-id-2788 .sv-pf__chip.is-active:hover,
.sv-pf__chip.is-active:hover {
	background: #1f66e0 !important;
	border-color: #1f66e0 !important;
	color: #fff !important;
}

body.active-dark-mode .sv-pf__chip {
	background: var(--sv-pf-surface-2) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: var(--sv-pf-soft) !important;
}

body.active-dark-mode .sv-pf__chip:hover {
	border-color: rgba(255, 255, 255, 0.55) !important;
	color: #fff !important;
}

body.active-dark-mode .sv-pf__chip.is-active,
body.active-dark-mode .sv-pf__chip.is-active:hover {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
}

@media (max-width: 991px) {
	.sv-pf__filters {
		gap: 0.6rem;
		margin-top: 2rem;
	}
	.page-id-2788 .sv-pf__chip,
	.sv-pf__chip {
		min-width: calc(33.333% - 0.45rem);
		flex: 1 1 calc(33.333% - 0.45rem);
	}
}

@media (max-width: 640px) {
	.sv-pf__filters {
		gap: 0.5rem;
		margin: 1.75rem auto 2rem;
		padding: 0 1rem;
	}
	.page-id-2788 .sv-pf__chip,
	.sv-pf__chip {
		min-width: calc(50% - 0.3rem);
		flex: 1 1 calc(50% - 0.3rem);
		min-height: 42px !important;
		padding: 0.55rem 0.75rem !important;
		font-size: 12.5px !important;
	}
}

.sv-pf {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 1.25rem 3rem;
}

.sv-pf__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 2rem;
}

@media (max-width: 720px) {
	.sv-pf__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.sv-pf-card.is-hidden,
.sv-pf__pager.is-hidden,
.sv-pf__empty.is-hidden { display: none !important; }

.sv-pf-card {
	isolation: isolate;
}

.sv-pf-card__link {
	display: block;
	color: inherit;
	text-decoration: none !important;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-pf-card__media {
	position: relative;
	/* Default for abstract / BA cards */
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--sv-pf-surface-2);
	border-radius: 4px;
	transform: translateZ(0);
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Website screenshots: let the media hug the image so the full shot shows */
.sv-pf-card__media.has-thumb {
	aspect-ratio: auto;
	height: auto;
	background: #0b0d12;
}

/* Portfolio cards: keep consistent visual height without cropping */
.page-id-2788 .sv-pf-card__media.has-thumb {
	aspect-ratio: 2 / 1;
	height: auto;
	background: #0b0d12;
}

.sv-pf-card__img,
.sv-pf-card__ba {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-pf-card__media.has-thumb .sv-pf-card__img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: unset;
	object-position: center center;
	display: block;
	vertical-align: top;
}

.page-id-2788 .sv-pf-card__media.has-thumb .sv-pf-card__img {
	height: 100%;
	object-fit: contain;
}

.sv-pf-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.sv-pf-card__link:hover {
	transform: translateY(-6px);
}

.sv-pf-card__link:hover .sv-pf-card__media {
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.18),
		0 4px 12px rgba(0, 0, 0, 0.08);
}

.sv-pf-card__link:hover .sv-pf-card__img {
	transform: scale(1.045);
}

/* BA cards: no scale — keeps Before/After labels inside the frame on hover */
.sv-pf-card__link:hover .sv-pf-card__ba {
	transform: none;
}

.sv-pf-card__link:hover .sv-pf-card__title {
	color: var(--sv-pf-accent);
}

.sv-pf-card__link:hover .sv-pf-card__tag {
	background: rgba(37, 117, 252, 0.92);
	border-color: transparent;
}

body.active-dark-mode .sv-pf-card__link:hover .sv-pf-card__media {
	box-shadow:
		0 22px 48px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
	.sv-pf-card__link,
	.sv-pf-card__media,
	.sv-pf-card__img,
	.sv-pf-card__ba {
		transition: none;
	}
	.sv-pf-card__link:hover {
		transform: none;
	}
	.sv-pf-card__link:hover .sv-pf-card__img {
		transform: none;
	}
}

/* Soft overlay so labels / numbers stay readable on any cover */
.sv-pf-card__media.has-thumb::after,
.sv-pf-card__media.has-ba::after,
.sv-pf-card__media.is-abstract::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(10, 10, 12, 0.08) 0%,
		rgba(10, 10, 12, 0.12) 45%,
		rgba(10, 10, 12, 0.42) 100%
	);
	z-index: 1;
	transition: opacity 0.35s ease;
}

.sv-pf-card__media.is-abstract::after {
	background: linear-gradient(
		160deg,
		rgba(10, 10, 12, 0.15) 0%,
		rgba(10, 10, 12, 0.28) 50%,
		rgba(10, 10, 12, 0.55) 100%
	);
}

.sv-pf-card__link:hover .sv-pf-card__media::after {
	opacity: 0.85;
}

/* Before/After = two IMAGES, micro labels only */
.sv-pf-card__ba {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 100%;
	position: relative;
	z-index: 2;
}

.sv-pf-card__ba-pane {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center top;
}

.sv-pf-card__ba-pane i {
	position: absolute;
	left: 0.55rem;
	bottom: 0.55rem;
	z-index: 4;
	padding: 0.22rem 0.42rem;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.5);
	font-style: normal;
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1;
	pointer-events: none;
}

.sv-pf-card__ba-pane + .sv-pf-card__ba-pane i {
	left: 0.55rem;
}

/* Abstract placeholder when no media yet */
.sv-pf-card__media.is-abstract {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 1rem 1.05rem;
}

.sv-pf-card--website .sv-pf-card__media.is-abstract { background: linear-gradient(145deg, #d7e3f7, #f3f3f1); }
.sv-pf-card--revamp .sv-pf-card__media.is-abstract { background: linear-gradient(160deg, #ebe4da, #f7f6f3); }
.sv-pf-card--seo-geo .sv-pf-card__media.is-abstract { background: linear-gradient(135deg, #e4eefc, #f5f7fa); }
.sv-pf-card--maintenance .sv-pf-card__media.is-abstract { background: linear-gradient(120deg, #e8ebef, #f7f7f7); }
.sv-pf-card--automation .sv-pf-card__media.is-abstract { background: linear-gradient(150deg, #161b24, #2b3342); }
.sv-pf-card--custom-systems .sv-pf-card__media.is-abstract { background: linear-gradient(145deg, #1c1c1c, #333); }

.sv-pf-card__tag {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	z-index: 3;
	padding: 0.28rem 0.55rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.sv-pf-card__index {
	position: relative;
	z-index: 2;
	font-size: clamp(42px, 6vw, 68px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-pf-card__link:hover .sv-pf-card__index {
	transform: translateY(-4px);
}

.sv-pf-card__media-hint {
	display: none !important;
}

.sv-pf-card__body {
	padding: 0.95rem 0.1rem 0;
}

.sv-pf-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 650;
	transition: color 0.25s ease;
}

.sv-pf__empty {
	text-align: center;
	color: var(--sv-pf-soft);
	padding: 2rem 1rem;
}

.sv-pf__empty a {
	color: var(--sv-pf-accent);
}

/* Pagination 鈥?single horizontal row */
.sv-pf__pager {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.55rem;
	margin: 2.75rem 0 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--sv-pf-line);
}

.sv-pf__pager-pages {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.sv-pf__pager-pages li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.page-id-2788 .sv-pf__pager-btn,
.page-id-2788 .sv-pf__pager-num,
.sv-pf__pager-btn,
.sv-pf__pager-num {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 40px !important;
	max-width: none !important;
	min-height: 40px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0.45rem 0.95rem !important;
	border: 1.5px solid var(--sv-pf-line) !important;
	border-radius: 4px !important;
	background: var(--sv-pf-surface) !important;
	box-shadow: none !important;
	color: var(--sv-pf-text) !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	letter-spacing: 0 !important;
	cursor: pointer !important;
	appearance: none !important;
	flex: 0 0 auto !important;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease !important;
}

.page-id-2788 .sv-pf__pager-num,
.sv-pf__pager-num {
	min-width: 40px !important;
	padding-left: 0.55rem !important;
	padding-right: 0.55rem !important;
}

.page-id-2788 .sv-pf__pager-btn:hover,
.page-id-2788 .sv-pf__pager-num:hover,
.sv-pf__pager-btn:hover,
.sv-pf__pager-num:hover {
	border-color: #2575fc !important;
	color: #2575fc !important;
	background: var(--sv-pf-surface) !important;
}

.page-id-2788 .sv-pf__pager-num.is-active,
.sv-pf__pager-num.is-active {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
	font-weight: 600 !important;
}

.page-id-2788 .sv-pf__pager-btn.is-disabled,
.sv-pf__pager-btn.is-disabled,
.page-id-2788 .sv-pf__pager-btn:disabled,
.sv-pf__pager-btn:disabled {
	opacity: 0.35 !important;
	cursor: default !important;
	pointer-events: none !important;
}

body.active-dark-mode .sv-pf__pager-btn,
body.active-dark-mode .sv-pf__pager-num {
	background: var(--sv-pf-surface-2) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: var(--sv-pf-text) !important;
}

body.active-dark-mode .sv-pf__pager-num.is-active {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
}

#sv-pf-work {
	scroll-margin-top: 110px;
}

@media (max-width: 520px) {
	.sv-pf__pager {
		flex-wrap: wrap;
		gap: 0.45rem;
	}
	.page-id-2788 .sv-pf__pager-btn,
	.sv-pf__pager-btn {
		padding: 0.45rem 0.7rem !important;
		font-size: 12px !important;
	}
}

/* ── Carousel (few cases). Garden grid stays in WP Admin → Display. ── */
.elementor-section.sv-pf-garden-wrap:has(.sv-pf--carousel),
.elementor-section.sv-pf-garden-wrap:has(.sv-pf--carousel) > .elementor-container,
.elementor-section.sv-pf-garden-wrap:has(.sv-pf--carousel) > .elementor-container > .elementor-column,
.elementor-section.sv-pf-garden-wrap:has(.sv-pf--carousel) .elementor-widget-wrap,
.elementor-section.sv-pf-garden-wrap:has(.sv-pf--carousel) .elementor-widget-shortcode {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: visible !important;
}

.page-id-2788.sv-pf-page--carousel,
.sv-pf-page--carousel {
	overflow-x: clip;
}

.sv-pf-page--carousel .sv-pf--carousel {
	--sv-pf-slide: min(760px, 64vw);
	--sv-pf-gap: 1.75rem;
	max-width: none;
	width: 100%;
	margin: 1.25rem 0 0;
	padding: 0 0 2.5rem;
}

@media (max-width: 1199px) {
	.sv-pf-page--carousel .sv-pf--carousel {
		--sv-pf-slide: min(720px, calc(100vw - 6.5rem));
		--sv-pf-gap: 1.25rem;
	}
}

@media (max-width: 991px) {
	.sv-pf-page--carousel .sv-pf--carousel {
		--sv-pf-slide: min(640px, calc(100vw - 5.5rem));
		--sv-pf-gap: 1rem;
		padding: 0 0 2rem;
	}
}

@media (max-width: 767px) {
	.sv-pf-page--carousel .sv-pf--carousel {
		--sv-pf-slide: calc(100vw - 88px);
		--sv-pf-gap: 10px;
	}
}

@media (max-width: 479px) {
	.sv-pf-page--carousel .sv-pf--carousel {
		--sv-pf-slide: calc(100vw - 80px);
	}
}

.sv-pf__carousel {
	position: relative;
	width: 100%;
}

.sv-pf__carousel.is-single .sv-pf__carousel-nav,
.sv-pf__carousel.is-single .sv-pf__carousel-dots {
	display: none;
}

.sv-pf__carousel.is-single .sv-pf__carousel-track {
	justify-content: center;
}

.sv-pf__carousel-viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 3px 0;
	touch-action: pan-y;
	cursor: grab;
}

/* Edge fade on peeks only — keep z-index below the active card so the blue ring stays visible. */
.sv-pf__carousel-viewport::before,
.sv-pf__carousel-viewport::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(4rem, calc((100% - var(--sv-pf-slide)) / 2 * 0.5));
	z-index: 1;
	pointer-events: none;
}

.sv-pf__carousel-viewport::before {
	left: 0;
	background: linear-gradient(90deg, var(--sv-pf-bg) 0%, rgba(247, 247, 245, 0) 100%);
}

.sv-pf__carousel-viewport::after {
	right: 0;
	background: linear-gradient(270deg, var(--sv-pf-bg) 0%, rgba(247, 247, 245, 0) 100%);
}

body.active-dark-mode .sv-pf__carousel-viewport::before {
	background: linear-gradient(90deg, var(--sv-pf-bg) 0%, rgba(18, 18, 18, 0) 100%);
}

body.active-dark-mode .sv-pf__carousel-viewport::after {
	background: linear-gradient(270deg, var(--sv-pf-bg) 0%, rgba(18, 18, 18, 0) 100%);
}

.sv-pf__carousel.is-dragging .sv-pf__carousel-viewport {
	cursor: grabbing;
}

.sv-pf__carousel.is-dragging {
	user-select: none;
}

.sv-pf__carousel-track {
	display: flex;
	align-items: flex-start;
	gap: var(--sv-pf-gap);
	position: relative;
	z-index: 2;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-pf__carousel-track img {
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

.sv-pf--carousel .sv-pf-card__link,
.sv-pf--carousel .sv-pf-card__media,
.sv-pf--carousel .sv-pf-card__img,
.sv-pf--carousel .sv-pf-card__ba,
.sv-pf--carousel .sv-pf-card__index,
.sv-pf--carousel .sv-pf-card__tag,
.sv-pf--carousel .sv-pf-card__media::after {
	transition: none;
}

.sv-pf--carousel .sv-pf-card__link:hover {
	transform: none;
}

.sv-pf--carousel .sv-pf-card__link:hover .sv-pf-card__media {
	box-shadow: none;
}

.sv-pf--carousel .sv-pf-card__link:hover .sv-pf-card__img,
.sv-pf--carousel .sv-pf-card__link:hover .sv-pf-card__index {
	transform: none;
}

.sv-pf--carousel .sv-pf-card__link:hover .sv-pf-card__media::after {
	opacity: 1;
}

.sv-pf--carousel .sv-pf-card {
	flex: 0 0 var(--sv-pf-slide);
	width: var(--sv-pf-slide);
	max-width: var(--sv-pf-slide);
	position: relative;
	z-index: 1;
}

.sv-pf--carousel .sv-pf-card__media {
	transform: none;
	isolation: isolate;
}

.sv-pf--carousel .sv-pf-card__tag {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.sv-pf--carousel .sv-pf-card__img {
	transform: none;
	position: relative;
	z-index: 0;
}

/* Neighbors recede with opacity only — blur/filter on large shots stutters the slide. */
.sv-pf__carousel.is-ready .sv-pf-card:not(.is-spot) {
	z-index: 0;
	opacity: 0.38;
	filter: none;
	pointer-events: none;
}

.sv-pf__carousel.is-ready .sv-pf-card.is-near {
	opacity: 0.58;
}

.sv-pf--carousel .sv-pf-card.is-spot {
	z-index: 2;
	opacity: 1;
	filter: none;
	pointer-events: auto;
}

.sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__link {
	cursor: pointer;
}

/* Inset ring: overflow:hidden clips outer shadows; paint inside the media, above the overlay. */
.sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 6;
	border: 3px solid #2575fc;
	border-radius: inherit;
	pointer-events: none;
	box-sizing: border-box;
}

.sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__media {
	box-shadow: inset 0 0 0 3px #2575fc;
	outline: 3px solid #2575fc;
	outline-offset: -3px;
}

body.active-dark-mode .sv-pf__carousel.is-ready .sv-pf-card:not(.is-spot) {
	opacity: 0.42;
}

body.active-dark-mode .sv-pf__carousel.is-ready .sv-pf-card.is-near {
	opacity: 0.62;
}

body.active-dark-mode .sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__media::before {
	border-color: #9ecbff;
	border-width: 3px;
}

body.active-dark-mode .sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__media {
	box-shadow: inset 0 0 0 3px #9ecbff;
	outline-color: #9ecbff;
}

body.active-dark-mode .sv-pf--carousel .sv-pf-card.is-spot .sv-pf-card__title {
	color: #f2f2f2;
}

.sv-pf--carousel .sv-pf-card__media.has-thumb {
	aspect-ratio: 2 / 1;
	height: auto;
	background: #0b0d12;
	border-radius: 6px;
}

.sv-pf--carousel .sv-pf-card__media.has-thumb .sv-pf-card__img {
	height: 100%;
	object-fit: contain;
}

.sv-pf__carousel-nav {
	appearance: none;
	position: absolute;
	top: calc(3px + var(--sv-pf-slide) / 4);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--sv-pf-line);
	border-radius: 50%;
	background: var(--sv-pf-surface);
	color: var(--sv-pf-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-50%);
}

.sv-pf__carousel-nav--prev { left: max(4px, calc((100% - var(--sv-pf-slide)) / 2 - 56px)); }
.sv-pf__carousel-nav--next { right: max(4px, calc((100% - var(--sv-pf-slide)) / 2 - 56px)); }

.sv-pf__carousel-nav:hover {
	border-color: #2575fc;
	color: #2575fc;
	background: var(--sv-pf-surface);
}

.sv-pf__carousel-nav:focus-visible {
	outline: 2px solid #2575fc;
	outline-offset: 2px;
}

.sv-pf__carousel-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.45rem;
	margin: 1.35rem 0 0;
}

.sv-pf__carousel-dot {
	appearance: none;
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: var(--sv-pf-line);
	cursor: pointer;
}

.sv-pf__carousel-dot.is-active {
	width: 22px;
	background: #2575fc;
}

body.active-dark-mode .sv-pf__carousel-nav {
	background: var(--sv-pf-surface-2);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body.active-dark-mode .sv-pf__carousel-nav:hover {
	border-color: #2575fc;
	color: #fff;
	background: #2575fc;
}

@media (max-width: 991px) {
	.sv-pf__carousel-viewport::before,
	.sv-pf__carousel-viewport::after {
		width: min(1.1rem, calc((100% - var(--sv-pf-slide)) / 2 * 0.7));
	}
	.sv-pf__carousel-nav {
		width: 40px;
		height: 40px;
		font-size: 22px;
	}
	.sv-pf__carousel-nav--prev { left: max(4px, calc((100% - var(--sv-pf-slide)) / 2 - 48px)); }
	.sv-pf__carousel-nav--next { right: max(4px, calc((100% - var(--sv-pf-slide)) / 2 - 48px)); }
	.sv-pf--carousel .sv-pf-card__title {
		font-size: 15px;
		line-height: 1.35;
		padding: 0 0.25rem;
	}
	.sv-pf-hero-block {
		padding: 2.25rem 1rem 0.25rem;
	}
	.sv-pf-hero-block h1,
	.sv-pf-hero-block__lead {
		white-space: normal;
	}
}

@media (max-width: 767px) {
	.sv-pf__carousel-viewport::before,
	.sv-pf__carousel-viewport::after {
		width: 0.7rem;
	}
	.sv-pf__carousel-nav {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}
	.sv-pf__carousel-nav--prev { left: 4px; }
	.sv-pf__carousel-nav--next { right: 4px; }
	.sv-pf__carousel-dots {
		margin-top: 1rem;
	}
	.sv-pf--carousel .sv-pf-card__title {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-pf__carousel-track {
		transition: none;
	}
}

/* Buttons (shared) */
.sv-pf__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 46px;
	padding: 11px 24px !important;
	border-radius: 999px !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.sv-pf__btn--primary {
	background: #3d3d3d !important;
	border: 2px solid #3d3d3d !important;
	color: #fff !important;
}

.sv-pf__btn--primary:hover {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
}

.sv-pf__btn--ghost {
	background: transparent !important;
	border: 2px solid var(--sv-pf-line) !important;
	color: var(--sv-pf-text) !important;
}

.sv-pf__btn--ghost:hover {
	border-color: #2575fc !important;
	color: #2575fc !important;
}

body.active-dark-mode .sv-pf__btn--primary {
	background: #f0f2f5 !important;
	border-color: #f0f2f5 !important;
	color: #1f1f1f !important;
}

body.active-dark-mode .sv-pf__btn--primary:hover {
	background: #2575fc !important;
	border-color: #2575fc !important;
	color: #fff !important;
}


/* ── Single case: branded editorial ── */
html.single-sv_case {
	overflow-x: clip;
}

body.single-sv_case {
	overflow-x: clip;
	/* Do not create a nested scroll root — that feels laggy on mobile. */
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
}

body.single-sv_case .main-wrapper,
body.single-sv_case #page,
body.single-sv_case .site-main,
body.single-sv_case .content-area,
body.single-sv_case .axil-section-gap,
body.single-sv_case .axil-section-gap.bg-color-white > .container {
	overflow-x: clip;
	overflow-y: visible !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
}

.single-sv_case .site-main,
.single-sv_case .content-area,
.single-sv_case .axil-section-gap.bg-color-white > .container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.sv-case {
	--sv-case-ink: #1a1a1a;
	--sv-case-mute: #5c5c5c;
	--sv-case-line: rgba(26, 26, 26, 0.12);
	--sv-case-wash: #eef2f8;
	--sv-case-spot: #2575fc;
	--sv-case-space: clamp(1.25rem, 3vw, 2rem);
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	color: var(--sv-case-ink);
	background:
		radial-gradient(900px 360px at 12% -10%, rgba(37, 117, 252, 0.1), transparent 62%),
		var(--sv-pf-bg);
	overflow: visible;
	min-height: 0;
	font-family: 'Poppins', sans-serif;
}

body.active-dark-mode .sv-case {
	--sv-case-ink: #f2f2f2;
	--sv-case-mute: #a8a8a8;
	--sv-case-line: rgba(255, 255, 255, 0.14);
	--sv-case-wash: #1c1c1e;
	--sv-case-spot: #c5c5c5;
	background:
		radial-gradient(800px 320px at 10% -8%, rgba(255, 255, 255, 0.04), transparent 60%),
		var(--sv-pf-bg);
}

.sv-case__rail {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-width: 820px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 2.25rem) 1.5rem 0.75rem;
}

.sv-case__back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem 0.45rem 0.7rem;
	border: 1.5px solid var(--sv-case-line);
	border-radius: 999px;
	background: var(--sv-pf-surface);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none !important;
	color: var(--sv-case-ink);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sv-case__back-arrow {
	display: inline-flex;
	width: 1.1em;
	justify-content: center;
	font-size: 14px;
	opacity: 0.75;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.sv-case__back:hover,
.sv-case__back:focus-visible {
	border-color: var(--sv-case-ink);
	color: var(--sv-case-ink);
	background: #fff;
	transform: translateY(-1px);
}

.sv-case__back:hover .sv-case__back-arrow,
.sv-case__back:focus-visible .sv-case__back-arrow {
	opacity: 1;
	transform: translateX(-2px);
}

body.active-dark-mode .sv-case__back {
	background: #1a1a1a;
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: none;
}

body.active-dark-mode .sv-case__back:hover,
body.active-dark-mode .sv-case__back:focus-visible {
	background: #242424;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.sv-case__hero {
	max-width: 820px;
	margin: 0 auto;
	padding: clamp(12px, 2.5vw, 20px) 24px clamp(1.5rem, 3.5vw, 2.4rem);
	text-align: center;
}

.sv-case__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 0 1.35rem;
}

.sv-case__tag {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.7rem;
	border-radius: 4px;
	background: rgba(37, 117, 252, 0.1);
	color: #1f4fbf;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3;
}

body.active-dark-mode .sv-case__tag {
	background: rgba(255, 255, 255, 0.08);
	color: #d4d4d4;
}

.sv-case__title {
	margin: 0 auto 1.25rem;
	font-size: clamp(28px, 5vw, 56px);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--sv-case-ink);
	max-width: 18ch;
	text-wrap: balance;
}

.sv-case__punch {
	margin: 0 auto;
	max-width: 34rem;
	font-size: clamp(16px, 2vw, 22px);
	line-height: 1.5;
	font-weight: 500;
	color: var(--sv-case-mute);
	text-wrap: balance;
}

.sv-case__theater {
	position: relative;
	width: 100%;
	margin: 0 0 0.5rem;
	padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.25rem, 3vw, 2rem);
	background: linear-gradient(
		180deg,
		var(--sv-case-wash) 0%,
		rgba(238, 242, 248, 0.55) 55%,
		transparent 100%
	);
	overflow: hidden;
	contain: layout paint;
}

/* Soft frame for single screenshots — no hard white→black cut */
.sv-case__theater--solo {
	background: linear-gradient(
		180deg,
		#ffffff 0%,
		var(--sv-case-wash, #eef2f8) 30%,
		#e8edf4 100%
	);
	padding: clamp(0.75rem, 2.5vw, 1.75rem) clamp(0.85rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem);
	contain: none;
	margin: 0 0 1.25rem;
	overflow: visible;
}

.sv-case__theater--solo .sv-case__theater-glow {
	display: none;
}

body.active-dark-mode .sv-case__theater {
	background: linear-gradient(
		180deg,
		#151a24 0%,
		rgba(21, 26, 36, 0.7) 55%,
		transparent 100%
	);
}

body.active-dark-mode .sv-case__theater--solo {
	background: linear-gradient(
		180deg,
		#121212 0%,
		#171a20 40%,
		#1a1f28 100%
	);
}

.sv-case__theater-glow {
	position: absolute;
	inset: auto 0 -20% 0;
	height: 55%;
	pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(37, 117, 252, 0.16), transparent 68%);
}

.sv-case__flip {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
}

.sv-case__flip-stage {
	position: relative;
	width: min(1200px, calc(100% - 2rem));
	margin: 0 auto;
	background: transparent;
}

.sv-case__theater--solo .sv-case__flip-stage {
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow:
		0 18px 48px rgba(20, 30, 60, 0.12),
		0 0 0 1px rgba(20, 30, 60, 0.06);
	min-height: 0;
	height: auto;
}

body.active-dark-mode .sv-case__theater--solo .sv-case__flip-stage {
	background: #0f1115;
	box-shadow:
		0 18px 48px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Before / After compare */
.sv-case__theater--ba {
	background: linear-gradient(
		180deg,
		#ffffff 0%,
		var(--sv-case-wash, #eef2f8) 32%,
		#e8edf4 100%
	);
	padding: clamp(0.85rem, 2.5vw, 1.75rem) clamp(0.85rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
	margin: 0 0 1.25rem;
	overflow: visible;
	contain: none;
}

body.active-dark-mode .sv-case__theater--ba {
	background: linear-gradient(180deg, #121212 0%, #171a20 45%, #1a1f28 100%);
}

.sv-case__ba {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.65rem, 1.5vw, 1rem);
	width: min(1200px, 100%);
	margin: 0 auto;
}

.sv-case__ba-pane {
	position: relative;
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow:
		0 14px 36px rgba(20, 30, 60, 0.1),
		0 0 0 1px rgba(20, 30, 60, 0.06);
}

body.active-dark-mode .sv-case__ba-pane {
	background: #0f1115;
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sv-case__ba-label {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	z-index: 2;
	padding: 0.28rem 0.55rem;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	pointer-events: none;
}

.sv-case__ba-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.sv-case__ba-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.65rem, 1.5vw, 1rem);
	width: min(1200px, 100%);
	margin: 0.9rem auto 0;
	padding: 0 0.15rem;
}

.sv-case__ba-notes p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--sv-case-mute);
}

.sv-case__ba-notes strong {
	color: var(--sv-case-ink);
	font-weight: 650;
}

@media (max-width: 760px) {
	.sv-case__ba,
	.sv-case__ba-notes {
		grid-template-columns: 1fr;
	}
}

.sv-case__theater--solo .sv-case__flip-slide,
.sv-case__theater--solo .sv-case__flip-slide.is-active {
	position: relative;
	display: block;
	left: auto;
	right: auto;
	top: auto;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	animation: none;
}

.sv-case__flip-slide {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.sv-case__flip-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	animation: sv-case-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sv-case-reveal {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sv-case__flip-slide.is-active { animation: none; }
}

.sv-case__flip-slide img,
.sv-case__flip-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(82vh, 880px);
	object-fit: contain;
	object-position: center center;
	margin: 0 auto;
	background: transparent;
	/* Soft shadow via box — drop-shadow filters are costly while scrolling */
	box-shadow: 0 18px 40px rgba(20, 30, 60, 0.1);
}

.sv-case__theater--solo .sv-case__flip-slide img,
.sv-case__theater--solo .sv-case__flip-img {
	/* Avoid max-height + intrinsic ratio letterboxing (empty gray under the shot) */
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: unset;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	vertical-align: top;
}

.sv-case__flip-ui {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	padding: 1.15rem 1rem 0.35rem;
	color: var(--sv-case-ink);
	background: transparent;
}

.sv-case__flip-nav {
	appearance: none;
	width: 46px;
	height: 46px;
	border: 1.5px solid var(--sv-case-line);
	border-radius: 4px;
	background: var(--sv-pf-surface);
	color: var(--sv-case-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sv-case__flip-nav:hover {
	background: var(--sv-case-spot);
	border-color: var(--sv-case-spot);
	color: #fff;
}

body.active-dark-mode .sv-case__flip-nav {
	background: #1a1a1a;
	border-color: rgba(255, 255, 255, 0.22);
	color: #f2f2f2;
}

body.active-dark-mode .sv-case__flip-nav:hover,
body.active-dark-mode .sv-case__flip-nav:focus-visible {
	background: #2a2a2a;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.sv-case__flip-count {
	margin: 0;
	min-width: 3.5rem;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	color: var(--sv-case-ink);
}

.sv-case__flip-dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.4rem 1rem 0.25rem;
	background: transparent;
}

.sv-case__flip-dot {
	appearance: none;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(26, 26, 26, 0.2);
	cursor: pointer;
}

.sv-case__flip-dot.is-active {
	background: var(--sv-case-spot);
	width: 22px;
}

body.active-dark-mode .sv-case__flip-dot {
	background: rgba(255, 255, 255, 0.22);
}

body.active-dark-mode .sv-case__flip-dot.is-active {
	background: #d0d0d0;
}

@media (max-width: 900px) {
	.sv-case__hero {
		padding: 12px 18px 10px;
	}
	.sv-case__title {
		max-width: none;
		font-size: clamp(26px, 7.2vw, 40px);
	}
	.sv-case__tags {
		margin-bottom: 12px;
	}
	.sv-case__flip-stage { width: calc(100% - 1.5rem); }
	.sv-case__theater--solo .sv-case__flip-stage { width: 100%; }
	.sv-case__flip-slide img,
	.sv-case__flip-img {
		max-height: min(62vh, 560px);
		box-shadow: 0 10px 24px rgba(20, 30, 60, 0.08);
	}
	.sv-case__theater--solo .sv-case__flip-slide img,
	.sv-case__theater--solo .sv-case__flip-img {
		max-height: none;
		width: 100%;
		height: auto;
		box-shadow: none;
	}
	.sv-case__theater--solo {
		padding: 0.75rem 0.75rem 1.25rem;
		margin-bottom: 1rem;
	}
	.sv-case__theater-glow { display: none; }
	.sv-case__flip-slide.is-active { animation: none; }
}

.sv-case__video-wrap {
	max-width: 1100px;
	margin: 0.5rem auto 2rem;
	padding: 0 1.25rem;
}

.sv-case__video {
	border-radius: 4px;
	overflow: hidden;
	background: var(--sv-case-wash);
	aspect-ratio: 16 / 9;
}

.sv-case__video iframe,
.sv-case__video video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.sv-case__story {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	align-items: start;
	max-width: 1180px;
	margin: 0.5rem auto 0;
	padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 1024px) {
	.sv-case__story {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding: 2.75rem 1.35rem 3.5rem;
	}

	.sv-case__block {
		padding-top: 0.5rem;
		padding-bottom: 0.35rem;
	}

	.sv-case__num {
		margin-bottom: 1rem;
	}

	.sv-case__block h2 {
		margin-bottom: 0.85rem;
	}
}

.sv-case__block {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 0.35rem;
	min-height: 0;
}

.sv-case__num {
	display: block;
	margin: 0 0 0.85rem;
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: rgba(37, 117, 252, 0.42);
}

body.active-dark-mode .sv-case__num {
	color: rgba(255, 255, 255, 0.18);
}

.sv-case__block h2 {
	margin: 0 0 0.65rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sv-case-ink);
}

/* Keep title row visually locked; body length may differ per column. */
.sv-case__block > .sv-case__num,
.sv-case__block > h2 {
	flex: 0 0 auto;
}

.sv-case__block > p,
.sv-case__block > ul {
	flex: 0 0 auto;
	width: 100%;
}

.sv-case__block p,
.sv-case__block li {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--sv-case-mute);
}

.sv-case__block ul {
	margin: 0;
	padding-left: 1.1rem;
}

.sv-case__block li + li { margin-top: 0.4rem; }

/* Lightweight section reveals — GPU-friendly, one-shot via IntersectionObserver */
.sv-case [data-sv-reveal],
.sv-case__banner-wrap[data-sv-reveal] {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	transition-delay: var(--sv-reveal-delay, 0ms);
}

.sv-case [data-sv-reveal].is-in,
.sv-case__banner-wrap[data-sv-reveal].is-in {
	opacity: 1;
	transform: none;
}

.sv-case__story .sv-case__block[data-sv-reveal]:nth-child(1) { --sv-reveal-delay: 0ms; }
.sv-case__story .sv-case__block[data-sv-reveal]:nth-child(2) { --sv-reveal-delay: 60ms; }
.sv-case__story .sv-case__block[data-sv-reveal]:nth-child(3) { --sv-reveal-delay: 120ms; }

@media (prefers-reduced-motion: reduce), (max-width: 900px) {
	.sv-case [data-sv-reveal],
	.sv-case__banner-wrap[data-sv-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Case + portfolio banner: kill Elementor 8384 negative pull into footer
   Root cause: .elementor-element-ad701b8 { margin-bottom: -130px / -230px } */
.single-sv_case .elementor-8384 .elementor-element.elementor-element-ad701b8,
.single-sv_case .elementor-element.elementor-element-ad701b8,
.page-id-2788 .elementor-8384 .elementor-element.elementor-element-ad701b8,
.page-id-2788 .elementor-element.elementor-element-ad701b8,
.page-id-12985 .elementor-8384 .elementor-element.elementor-element-ad701b8,
.page-id-12985 .elementor-element.elementor-element-ad701b8 {
	margin-top: 1.25rem !important;
	margin-bottom: 1.5rem !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: visible !important;
	position: relative !important;
	top: auto !important;
	transform: none !important;
}

@media (max-width: 1024px) {
	.single-sv_case .elementor-8384 .elementor-element-ad701b8,
	.single-sv_case .elementor-element-ad701b8,
	.page-id-2788 .elementor-8384 .elementor-element-ad701b8,
	.page-id-2788 .elementor-element-ad701b8,
	.page-id-12985 .elementor-8384 .elementor-element-ad701b8,
	.page-id-12985 .elementor-element-ad701b8 {
		margin-top: 1.15rem !important;
		margin-bottom: 1.75rem !important;
		padding: 0 12px !important;
	}
}

/* Case banner: tablet + phone — no overlapping card into footer */
@media (max-width: 1024px) {
	.single-sv_case .sv_service_banner.sv_global_banner,
	.single-sv_case .elementor-8384 .sv_service_banner,
	.single-sv_case .elementor-element-e4bb46c,
	.page-id-2788 .sv_service_banner.sv_global_banner,
	.page-id-2788 .elementor-8384 .sv_service_banner,
	.page-id-2788 .elementor-element-e4bb46c {
		padding: 64px 20px 28px !important;
		margin-bottom: 0 !important;
	}

	.single-sv_case .sv_service_banner .elementor-heading-title,
	.page-id-2788 .sv_service_banner .elementor-heading-title {
		font-size: clamp(1.35rem, 4.5vw, 1.85rem) !important;
		line-height: 1.35 !important;
		padding: 0 4px !important;
		margin-bottom: 0.75rem !important;
	}

	.single-sv_case .sv_service_banner .sv_footer_col,
	.single-sv_case .elementor-element-e22fd47,
	.single-sv_case .elementor-element-e22fd47 > .elementor-element-populated,
	.page-id-2788 .sv_service_banner .sv_footer_col,
	.page-id-2788 .elementor-element-e22fd47 {
		position: relative !important;
		inset: auto !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		margin: 0 auto !important;
		transform: none !important;
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		z-index: 1 !important;
	}

	.single-sv_case .sv_service_banner .elementor-button,
	.page-id-2788 .sv_service_banner .elementor-button {
		width: 100% !important;
		max-width: 22rem !important;
		justify-content: center !important;
		text-align: center !important;
		margin: 0 auto !important;
		white-space: normal !important;
	}

	.single-sv_case .sv_service_banner .elementor-widget-button,
	.single-sv_case .sv_service_banner .elementor-button-wrapper,
	.page-id-2788 .sv_service_banner .elementor-widget-button,
	.page-id-2788 .sv_service_banner .elementor-button-wrapper {
		width: 100% !important;
		display: flex !important;
		justify-content: center !important;
		margin-bottom: 0.55rem !important;
	}

	/* Our rebuilt CTA row already stacks on phones — don't fight it */
	.single-sv_case .sv-case-banner-ctas .sv-case-banner-ctas__btn {
		width: 100%;
		max-width: none;
	}

	.single-sv_case .axil-footer-area,
	.single-sv_case .footer-top,
	.page-id-2788 .axil-footer-area,
	.page-id-2788 .footer-top,
	.page-id-12985 .axil-footer-area,
	.page-id-12985 .footer-top {
		position: relative !important;
		z-index: 3 !important;
		clear: both !important;
		margin-top: 0.5rem !important;
	}
}

@media (max-width: 767px) {
	.sv-case__rail {
		padding: 1.35rem 1.15rem 0.85rem;
	}

	.sv-case__hero {
		padding: 1.35rem 1.15rem 2.1rem;
	}

	.sv-case__punch {
		font-size: 16px;
		line-height: 1.55;
	}

	.sv-case__story {
		padding: 2.75rem 1.25rem 3.5rem;
		gap: 3.25rem;
	}

	.sv-case__block + .sv-case__block {
		border-top: 1px solid var(--sv-case-line);
		margin-top: 0.15rem;
		padding-top: 2rem;
	}

	.single-sv_case .sv_service_banner.sv_global_banner,
	.single-sv_case .elementor-8384 .sv_service_banner,
	.single-sv_case .elementor-element-e4bb46c {
		padding: 52px 16px 20px !important;
		margin-bottom: 0 !important;
	}

	.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor p,
	.single-sv_case .sv_service_banner .sv_footer_col .elementor-widget-text-editor {
		font-size: 15px !important;
		line-height: 1.55 !important;
	}
}
