.gallery-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-offset) + 2.5rem) 0 4.5rem;
	background:
		linear-gradient(135deg, rgba(0, 35, 71, 0.96) 0%, rgba(0, 47, 92, 0.9) 55%, rgba(255, 102, 0, 0.16) 100%),
		var(--primary-navy);
	color: var(--clean-white);
}

.gallery-hero__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
}

.gallery-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 38rem;
}

.gallery-hero__layout {
	position: relative;
	z-index: 1;
}

.gallery-hero__eyebrow {
	margin-bottom: 1rem;
	color: #8ec6ff;
	font-family: var(--font-main);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gallery-hero__copy h1 {
	margin-bottom: 1rem;
	font-family: var(--font-main);
	font-size: clamp(2.3rem, 5vw, 4.1rem);
	font-weight: 800;
	line-height: 0.98;
}

.gallery-hero__copy p {
	margin-bottom: 1.7rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.84);
}

.gallery-hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.gallery-hero__feature-card {
	position: relative;
	z-index: 1;
	overflow: hidden;
	max-width: 34rem;
	margin-left: auto;
	border-radius: 1.8rem;
	padding: 1rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: var(--shadow-deep);
}

.gallery-hero__feature-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	border-radius: 1.2rem;
	aspect-ratio: 16 / 9;
	background: rgba(4, 19, 36, 0.92);
}

.gallery-hero__feature-media video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center center;
	background: rgba(4, 19, 36, 0.92);
}

.gallery-image-card__content h3 {
	margin-bottom: 0.65rem;
	font-family: var(--font-main);
	font-size: 1.08rem;
	color: var(--primary-navy);
}

.gallery-image-card__content p {
	margin: 0;
	line-height: 1.7;
	color: #4d6074;
}

.gallery-image-section {
	padding: 2.5rem 0 5rem;
	background: linear-gradient(180deg, #edf4fb 0%, #f6faff 100%);
}

.gallery-image-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
}

.gallery-image-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 1.2rem;
	background: var(--clean-white);
	border: 1px solid #d8e3f0;
	box-shadow: 0 14px 30px rgba(12, 43, 76, 0.08);
}

.gallery-image-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background: linear-gradient(180deg, #eff5fb 0%, #dde8f3 100%);
	overflow: hidden;
}

.gallery-image-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.gallery-image-card__media--contain {
	background: #dce8f5;
	padding: 0;
}

.gallery-image-card__media--contain img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: none;
}

.gallery-image-card__media--logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dce8f5;
	padding: 0;
}

.gallery-image-card__media--logo img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

.gallery-image-card__content {
	padding: 1.2rem 1.2rem 1.35rem;
}

.gallery-image-card__img--phone {
	transform: scale(1.12);
	transform-origin: center center;
}

@media (max-width: 991.98px) {
	.gallery-image-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.gallery-hero {
		padding-top: calc(var(--header-offset) + 2rem);
	}

	.gallery-hero__actions {
		flex-direction: column;
	}

	.gallery-hero__actions .btn {
		width: 100%;
	}

	.gallery-image-section {
		padding: 4rem 0;
	}

	.gallery-image-grid {
		grid-template-columns: 1fr;
	}
}