:root {
	--exegypt-navy: #0b1b33;
	--exegypt-navy-alt: #10233f;
	--exegypt-gold: #c9a24b;
	--exegypt-body-text: #cbd3df;
	--exegypt-body-text-muted: #8b96a8;

	/* Floating header (see header-scroll.css) */
	--exegypt-navy-glass: rgba(10, 22, 41, 0.78);
	--exegypt-gold-hairline: rgba(201, 162, 75, 0.25);
}

.exegypt-footer {
	background-color: var(--exegypt-navy);
	color: var(--exegypt-body-text);
	padding: 4rem 0 0;
}

.exegypt-footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.exegypt-footer-top {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	justify-content: space-between;
	padding-bottom: 3rem;
}

.exegypt-footer-brand {
	flex: 1 1 260px;
	max-width: 340px;
}

.exegypt-footer-logo img {
	max-width: 160px;
	height: auto;
}

.exegypt-footer-site-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.exegypt-footer-tagline {
	margin-top: 1rem;
	color: var(--exegypt-body-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.exegypt-footer-columns {
	flex: 2 1 480px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.exegypt-footer-col h3 {
	color: var(--exegypt-gold);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 1.25rem;
}

.exegypt-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.exegypt-footer-col li {
	margin-bottom: 0.85rem;
}

.exegypt-footer-col a,
.exegypt-contact-lines li {
	color: var(--exegypt-body-text);
	text-decoration: none;
	font-size: 0.95rem;
}

.exegypt-footer-col a:hover {
	color: var(--exegypt-gold);
}

.exegypt-social-icons {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

/* Link box grew from 20x20 to 32x32 — a 20px tap target fails the WCAG 2.2
   24x24px minimum. The glyph itself stays visually the same size. */
.exegypt-social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--exegypt-body-text);
}

.exegypt-social-icons svg {
	width: 20px;
	height: 20px;
}

.exegypt-social-icons a:hover {
	color: var(--exegypt-gold);
}

.exegypt-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.5rem 0;
	color: var(--exegypt-body-text-muted);
	font-size: 0.85rem;
}

.exegypt-footer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
}

.exegypt-credit {
	position: relative;
	padding-left: 1rem;
}

.exegypt-credit::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background-color: var(--exegypt-body-text-muted);
}

.exegypt-credit a {
	color: var(--exegypt-body-text);
	text-decoration: none;
	font-weight: 600;
}

.exegypt-credit a:hover {
	color: var(--exegypt-gold);
}

.exegypt-legal-links {
	display: flex;
	gap: 1.5rem;
}

.exegypt-legal-links a {
	color: var(--exegypt-body-text-muted);
	text-decoration: none;
	font-size: 0.85rem;
}

.exegypt-legal-links a:hover {
	color: var(--exegypt-gold);
}

@media (max-width: 768px) {
	.exegypt-footer-columns {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.exegypt-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
