/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
	/* Slightly off-white for better logo contrast */
	background: #f8f9fb;
	color: var(--gray-800);
	padding: 2rem 0 0;
	position: relative;
	border-top: 1px solid rgba(11, 45, 91, 0.12);
}

/* Hide desktop footer on mobile */
@media (max-width: 860px) {
	.footer {
		display: none;
	}
}

.footer::before {
	content: '';
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, 
		transparent 0%,
		var(--primary) 15%, 
		var(--accent) 50%, 
		var(--primary) 85%,
		transparent 100%);
	box-shadow: 0 2px 8px rgba(11, 45, 91, 0.15);
}

/* Footer Top Section */
.footer-top {
	display: grid;
	grid-template-columns: 1fr 2.5fr;
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid rgba(11, 45, 91, 0.08);
	position: relative;
}

.footer-top::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--accent);
}

/* Footer Brand */
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-logo {
	margin-bottom: 0.25rem;
}

.footer-logo img {
	height: 80px;
	width: auto;
}

.footer-tagline {
	color: var(--gray-600);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
	font-weight: 450;
	opacity: 0.95;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Social Links */
.footer-social {
	display: flex;
	gap: 0.625rem;
	margin-top: 0.75rem;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--gray-100);
	color: var(--gray-700);
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--gray-200);
}

.social-link:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(11, 45, 91, 0.2);
}

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

/* Footer Links Grid */
.footer-links-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 1.5rem;
}

.footer-column {
	display: flex;
	flex-direction: column;
}

.footer-heading {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 0.75rem 0;
	color: var(--primary);
	position: relative;
	padding-bottom: 0.35rem;
}

.footer-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.footer-list li {
	position: relative;
}

.footer-list li a {
	color: var(--gray-600);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	white-space: nowrap;
}

.footer-list li a:hover {
	color: var(--primary);
	padding-left: 4px;
}

.footer-list li a::before {
	content: '';
	width: 0;
	height: 2px;
	background: var(--primary);
	position: absolute;
	left: 0;
	bottom: -2px;
	transition: width 0.2s ease;
}

/* Footer Contact Column */
.footer-contact .contact-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.contact-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.5rem;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.contact-item:hover {
	background: rgba(11, 45, 91, 0.02);
}

.contact-item svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--primary);
	opacity: 0.8;
	width: 18px;
	height: 18px;
}

.contact-item > div {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.contact-link {
	color: var(--gray-800);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.contact-link:hover {
	color: var(--primary);
}

.contact-value {
	color: var(--gray-800);
	font-weight: 600;
	font-size: 0.875rem;
	white-space: nowrap;
}

.contact-label {
	color: var(--gray-500);
	font-size: 0.75rem;
	white-space: nowrap;
}

/* Footer Bottom */
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 0;
	margin-top: 1.5rem;
	gap: 1rem;
	flex-wrap: wrap;
	background: var(--gray-50);
	border-top: 1px solid rgba(11, 45, 91, 0.08);
	margin-left: -100vw;
	margin-right: -100vw;
	padding-left: 100vw;
	padding-right: 100vw;
}

.footer-bottom-left {
	display: flex;
	align-items: center;
}

.copyright {
	color: var(--gray-600);
	font-size: 0.8125rem;
	margin: 0;
	font-weight: 500;
}

.footer-bottom-right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.footer-bottom-right a {
	color: var(--gray-600);
	text-decoration: none;
	font-size: 0.8125rem;
	transition: color 0.2s ease;
	font-weight: 500;
}

.footer-bottom-right a:hover {
	color: var(--primary);
}

.separator {
	color: var(--gray-400);
	font-size: 0.6875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	
	.footer-links-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.footer {
		padding: 3rem 0 0;
	}
	
	.footer-top {
		gap: 2.5rem;
		padding-bottom: 2.5rem;
	}
	
	.footer-links-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1.5rem;
	}
	
	.footer-logo img {
		height: 82px;
	}
}

@media (max-width: 560px) {
	.footer {
		padding: 2.5rem 0 0;
	}
	
	.footer-top {
		gap: 2rem;
		padding-bottom: 2rem;
	}
	
	.footer-links-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding: 1.5rem 0;
	}
	
	.footer-bottom-right {
		flex-wrap: wrap;
	}
}
