/* Footer styles for 'ASPO' JOANNA POPS */

.vch-footer {
	margin-top: var(--space-10);
	border-top: 1px solid rgba(148, 163, 184, 0.35);
	background:
		radial-gradient(circle at top, rgba(40, 84, 255, 0.18), transparent 55%),
		#020617;
	color: var(--color-text);
}

.vch-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
	gap: var(--space-8);
	padding-block: var(--space-8);
}

.vch-footer__brand {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
}

.vch-footer__brand-mark {
	width: 52px;
	height: 52px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 25% 0, rgba(226, 183, 92, 0.6), transparent 60%),
		#020617;
	box-shadow: var(--shadow-glow-gold);
}

.vch-footer__brand-icon {
	font-size: 1.5rem;
	color: var(--color-accent-gold);
}

.vch-footer__brand-text {
	max-width: 28rem;
}

.vch-footer__brand-name {
	font-family: var(--font-display);
	font-size: var(--font-size-lg);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--space-1);
}

.vch-footer__brand-tagline {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
}

.vch-footer__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-6);
}

.vch-footer__heading {
	font-size: var(--font-size-xs);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom: var(--space-3);
	color: var(--color-text-muted);
}

.vch-footer__list {
	display: grid;
	gap: var(--space-2);
}

.vch-footer__link {
	font-size: var(--font-size-sm);
	color: var(--color-text);
}

.vch-footer__link::after {
	content: "";
	position: absolute;
	width: 0;
	height: 1px;
}

.vch-footer__link:hover,
.vch-footer__link:focus-visible {
	color: var(--color-accent-gold);
}

.vch-footer__column--legal .vch-footer__link {
	font-size: var(--font-size-xs);
}

.vch-footer__bottom {
	border-top: 1px solid rgba(15, 23, 42, 0.9);
	background: rgba(3, 7, 18, 0.95);
}

.vch-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	justify-content: space-between;
	padding-block: var(--space-4);
}

.vch-footer__copyright {
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
}

.vch-footer__meta {
	font-size: var(--font-size-xs);
	color: var(--color-text-muted);
}

/* Cookie banner */

.vch-cookie {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 50;
	background:
		radial-gradient(circle at top, rgba(226, 183, 92, 0.16), transparent 60%),
		rgba(15, 23, 42, 0.98);
	border-top: 1px solid rgba(226, 183, 92, 0.5);
	box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.75);
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	transition:
		transform var(--transition-slow),
		opacity var(--transition-base),
		visibility var(--transition-base);
}

.vch-cookie--visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.vch-cookie--hidden {
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
}

.vch-cookie__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-6);
	padding-block: var(--space-4);
}

.vch-cookie__content {
	max-width: 46rem;
}

.vch-cookie__title {
	font-size: var(--font-size-md);
	margin-bottom: var(--space-2);
}

.vch-cookie__desc {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
}

.vch-cookie__more {
	display: inline-block;
	margin-top: var(--space-2);
	font-size: var(--font-size-xs);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-accent-gold);
}

.vch-cookie__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
	justify-content: flex-end;
}

.vch-cookie__btn {
	min-width: 150px;
	padding-inline: var(--space-4);
	padding-block: 0.6rem;
	border-radius: var(--radius-xl);
	border: 1px solid transparent;
	font-size: var(--font-size-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
}

.vch-cookie__btn--secondary {
	background: transparent;
	border-color: rgba(148, 163, 184, 0.7);
	color: var(--color-text);
}

.vch-cookie__btn--secondary:hover,
.vch-cookie__btn--secondary:focus-visible {
	background: rgba(15, 23, 42, 0.9);
}

.vch-cookie__btn--primary {
	background: linear-gradient(
		135deg,
		var(--color-primary),
		var(--color-accent-gold)
	);
	border-color: rgba(226, 183, 92, 0.9);
	color: #05060a;
	box-shadow: var(--shadow-glow-gold);
}

.vch-cookie__btn--primary:hover,
.vch-cookie__btn--primary:focus-visible {
	filter: brightness(1.05);
}

@media (max-width: 960px) {
	.vch-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.vch-footer__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.vch-footer__links {
		grid-template-columns: minmax(0, 1fr);
	}

	.vch-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vch-cookie__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.vch-cookie__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.vch-cookie__btn {
		flex: 1 1 auto;
	}
}
