/* ==========================================================================
   Footer (v1 "footer style 1": navy, 4 columns, copyright bar)
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	margin-top: auto;
	background: var(--k4-navy);
	color: var(--k4-on-dark-muted);
	font-size: .925rem;
	box-shadow: inset 0 18px 30px -24px rgba(0, 0, 0, .6);
}
[data-theme="dark"] .site-footer { background: #12151a; }
.site-footer__glow {
	position: absolute;
	inset: -40% auto auto -10%;
	width: 60vw; height: 60vw;
	max-width: 900px; max-height: 900px;
	background: radial-gradient(closest-side, rgba(187, 141, 44, .16), transparent 70%);
	pointer-events: none;
}
.site-footer::after {
	content: "4K";
	position: absolute;
	right: -2vw; bottom: -6vw;
	font: 800 clamp(10rem, 24vw, 22rem)/1 var(--k4-font-heading);
	letter-spacing: -.06em;
	color: rgba(255, 255, 255, .025);
	pointer-events: none;
}
.site-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.25fr 1.2fr 1fr 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}
.footer-col__title {
	position: relative;
	margin: 0 0 1.5rem;
	padding-bottom: 1rem;
	color: #fff;
	font-size: 1.15rem;
}
.footer-col__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 35px; height: 4px; background: var(--k4-gold); }
.site-logo--footer .site-logo__img { width: 190px; max-height: none; }
.footer-col__about { margin: 1.4rem 0 1.5rem; line-height: 1.7; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 0 0 .65rem; }
.footer-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--k4-on-dark-muted);
	text-decoration: none;
	transition: color .2s ease, transform .25s var(--k4-ease);
}
.footer-menu a::before { content: ""; width: 6px; height: 6px; border: solid var(--k4-gold); border-width: 2px 2px 0 0; transform: rotate(45deg); flex: none; }
.footer-menu a:hover { color: #fff; transform: translateX(4px); }

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; margin: 0 0 1rem; }
.contact-list__icon { flex: none; width: 20px; height: 20px; margin-top: .2rem; margin-top: max(0px, calc((1lh - 20px) / 2)); color: var(--k4-gold); }
/* Several e-mail addresses in one row: one per line. */
.contact-list li > span > a + a { display: block; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: #fff; }
.contact-list--footer a { color: #fff; font-weight: 600; }
.contact-list--footer a:hover { color: var(--k4-gold-light); }

.site-footer__bottom { position: relative; z-index: 1; background: rgba(0, 3, 45, .35); border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.site-footer__copy { margin: 0; font-size: .8rem; letter-spacing: .02em; }
.social-links--footer a { width: 38px; height: 38px; background: #fff; color: var(--k4-navy); }
.social-links--footer a:hover { background: var(--k4-gold); color: var(--k4-navy); }
.social-links--footer { gap: .5rem; }

@media (max-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Fixed FAB (left) and back-to-top (right) are 24px + 48px from the edge. Where the centred container leaves less
   than that, inset the copyright strip so neither button sits on its text. Below 768px both move/hide (mobile bar). */
@media (min-width: 768px) and (max-width: 1400px) {
	.site-footer__bottom { padding-inline: 72px; }
}
@media (max-width: 600px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* Legal links row (footer bottom) */
.site-footer__legal { display: grid; gap: .35rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .15rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .8rem; }
.legal-links li { margin: 0; }
.legal-links a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--k4-gold-light); text-decoration: underline; }
@media (max-width: 600px) { .legal-links { justify-content: center; } }