/* ==========================================================================
   Inner-page hero — matches homepage first hero (cover + cinematic wash)
   ========================================================================== */

.inner-page-banner {
	--wcz-banner-h: var(--wcz-page-banner-height, clamp(420px, 58vh, 560px));
	position: relative;
	isolation: isolate;
	height: var(--wcz-banner-h);
	min-height: var(--wcz-banner-h);
	max-height: var(--wcz-banner-h);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #0a1018;
	opacity: 0;
	animation: wczBannerFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.inner-page-banner.is-ready {
	opacity: 1;
	animation: none;
}

.inner-page-banner__stage {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	pointer-events: none;
}

.inner-page-banner__motion {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: wczBannerFloatZoom 14s ease-in-out infinite;
	will-change: transform;
	transform-origin: center center;
}

/* Full-bleed photo — must beat global img { height: auto } */
.inner-page-banner__img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
	image-rendering: -webkit-optimize-contrast;
	filter: brightness(0.92) contrast(1.05) saturate(0.9);
	backface-visibility: hidden;
	transform: translateZ(0);
	user-select: none;
	pointer-events: none;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.inner-page-banner:hover .inner-page-banner__img {
	transform: translateZ(0) scale(1.02);
}

/* Soft cyan wash — quieter than before, closer to homepage */
.inner-page-banner__glow {
	position: absolute;
	inset: -10%;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse 70% 55% at 68% 48%, rgba(0, 194, 229, 0.08) 0%, transparent 65%);
	animation: wczBannerGlow 12s ease-in-out infinite alternate;
	opacity: 0.9;
}

.inner-page-banner__rays {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.22;
	background:
		radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.07) 0 1px, transparent 2px),
		radial-gradient(circle at 68% 22%, rgba(0, 194, 229, 0.12) 0 1.5px, transparent 3px),
		radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.05) 0 1px, transparent 2px);
	background-size: 100% 100%;
	animation: wczBannerRays 18s linear infinite;
}

/* Homepage-matching cinematic overlay */
.inner-page-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(
			105deg,
			rgba(4, 6, 12, 0.72) 0%,
			rgba(6, 10, 18, 0.52) 42%,
			rgba(4, 8, 16, 0.58) 100%
		),
		radial-gradient(ellipse 70% 55% at 68% 48%, rgba(0, 194, 229, 0.05) 0%, transparent 65%);
}

.inner-page-banner__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: calc(var(--wcz-header-height, 72px) + 8px);
}

.inner-page-banner__content {
	max-width: 760px;
	width: min(100%, 760px);
	margin-top: 50px;
	margin-inline: auto;
	padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
	text-align: center;
	background: transparent;
	border: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: translateY(12px);
	opacity: 0;
	animation: wczBannerContentIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.inner-page-banner__title {
	margin: 0;
	font-family: var(--wcz-font-display, inherit);
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #ffffff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.inner-page-banner__desc {
	margin: 14px auto 0;
	max-width: 540px;
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.inner-page-banner__accent {
	display: block;
	width: 48px;
	height: 3px;
	margin: 14px auto 0;
	border-radius: 3px;
	background: #00c2e5;
	box-shadow: 0 0 12px rgba(0, 194, 229, 0.7);
}

.inner-page-banner__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 13px 26px;
	border-radius: 999px;
	border: 1.5px solid #00c2e5;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(0, 194, 229, 0.22), rgba(0, 194, 229, 0.08));
	box-shadow: 0 0 18px rgba(0, 194, 229, 0.35), 0 0 36px rgba(0, 194, 229, 0.15);
	transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.inner-page-banner__cta:hover {
	background: linear-gradient(135deg, rgba(0, 194, 229, 0.4), rgba(0, 194, 229, 0.18));
	box-shadow: 0 0 28px rgba(0, 194, 229, 0.55), 0 8px 28px rgba(0, 0, 0, 0.25);
	transform: translateY(-3px);
	color: #ffffff;
}

.inner-page-banner__cta svg {
	flex-shrink: 0;
	color: #00c2e5;
}

/* Dark mode — identical homepage hero wash */
html.wcz-dark-mode .inner-page-banner {
	background: #0a1018;
}

html.wcz-dark-mode .inner-page-banner__img {
	object-fit: cover;
	object-position: center 42%;
	filter: brightness(0.92) contrast(1.05) saturate(0.9);
}

html.wcz-dark-mode .inner-page-banner__overlay {
	background:
		linear-gradient(
			105deg,
			rgba(4, 6, 12, 0.72) 0%,
			rgba(6, 10, 18, 0.52) 42%,
			rgba(4, 8, 16, 0.58) 100%
		),
		radial-gradient(ellipse 70% 55% at 68% 48%, rgba(0, 194, 229, 0.05) 0%, transparent 65%);
}

@keyframes wczBannerFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes wczBannerContentIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wczBannerGlow {
	from {
		opacity: 0.75;
		transform: scale(1);
	}
	to {
		opacity: 1;
		transform: scale(1.03);
	}
}

@keyframes wczBannerRays {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(0, -10px, 0); }
}

@keyframes wczBannerFloatZoom {
	0%,
	100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(0, -6px, 0) scale(1.015); }
}

@media (prefers-reduced-motion: reduce) {
	.inner-page-banner,
	.inner-page-banner__content,
	.inner-page-banner__motion,
	.inner-page-banner__glow,
	.inner-page-banner__rays {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.inner-page-banner__stage {
		transition: none !important;
		transform: none !important;
	}

	.inner-page-banner:hover .inner-page-banner__img {
		transform: none !important;
	}
}

@media (max-width: 991px) {
	.inner-page-banner {
		--wcz-banner-h: var(--wcz-page-banner-height);
	}
}

@media (max-width: 767px) {
	.inner-page-banner {
		--wcz-banner-h: var(--wcz-page-banner-height);
	}

	.inner-page-banner__content {
		padding: 16px 18px;
	}

	.inner-page-banner__desc {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.inner-page-banner {
		--wcz-banner-h: var(--wcz-page-banner-height);
	}
}
