/**
 * Gallery page — Call-to-action (CTA) section.
 * Brand colors: #3b82f6 (primary), #10b981 (accent), #f59e0b (highlight).
 * Heading font: Inter. Body font: Roboto.
 */

.gallery-cta {
	--gallery-cta-primary: #3b82f6;
	--gallery-cta-accent: #10b981;
	--gallery-cta-highlight: #f59e0b;
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.38), transparent 45%),
		radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.26), transparent 42%),
		radial-gradient(circle at 75% 90%, rgba(245, 158, 11, 0.22), transparent 42%),
		linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
	color: #ffffff;
}

.gallery-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.20) 0%, rgba(15, 23, 42, 0.55) 100%);
	z-index: 1;
}

.gallery-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.gallery-cta__eyebrow {
	margin: 0 0 0.75rem;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gallery-cta-highlight);
}

.gallery-cta__heading {
	margin: 0 0 1rem;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(1.9rem, 4.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.gallery-cta__subheading {
	margin: 0 0 2rem;
	max-width: 46ch;
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.65;
	color: rgba(241, 245, 249, 0.92);
}

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

.gallery-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.75rem;
	border-radius: 9999px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.gallery-cta__btn--primary {
	background-color: var(--gallery-cta-accent);
	color: #06281c;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.gallery-cta__btn--primary:hover,
.gallery-cta__btn--primary:focus-visible {
	background-color: #0ca678;
	color: #ffffff;
	transform: translateY(-2px);
}

.gallery-cta__btn--secondary {
	background-color: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.55);
}

.gallery-cta__btn--secondary:hover,
.gallery-cta__btn--secondary:focus-visible {
	background-color: #ffffff;
	color: #1d4ed8;
	transform: translateY(-2px);
}

.gallery-cta__btn:focus-visible {
	outline: 3px solid var(--gallery-cta-highlight);
	outline-offset: 3px;
}

.gallery-cta__points {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 1rem;
	backdrop-filter: blur(6px);
}

.gallery-cta__point {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.4;
	color: rgba(248, 250, 252, 0.95);
}

.gallery-cta__point-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 9999px;
	background-color: var(--gallery-cta-accent);
	color: #06281c;
	font-size: 0.9rem;
	font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
	.gallery-cta__inner {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.gallery-cta__subheading {
		max-width: 60ch;
	}
}

/* Mobile */
@media (max-width: 560px) {
	.gallery-cta {
		padding: 3rem 1.25rem;
	}

	.gallery-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.gallery-cta__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gallery-cta__btn {
		transition: none;
	}

	.gallery-cta__btn:hover,
	.gallery-cta__btn:focus-visible {
		transform: none;
	}
}
