/* =========================================
   FOOTER
========================================= */
.footer {
	position: relative;
	padding: 64px 24px 56px;
	overflow: hidden;
	color: var(--text-main);
	font-size: 16px;
	background:
		radial-gradient(ellipse at 8% 0%, rgba(79, 147, 224, 0.12), transparent 42%),
		linear-gradient(180deg, rgba(22, 36, 54, 0.98), rgba(12, 24, 38, 0.99));
}

.footer::before {
	position: absolute;
	top: 0;
	right: max(24px, calc((100% - 1200px) / 2));
	left: max(24px, calc((100% - 1200px) / 2));
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
	content: "";
}

.footer .container-content {
	width: 100%;
	max-width: 1200px;
}

.footer-flex-ctnr {
	display: grid;
	grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(40px, 6vw, 88px);
	max-width: 1200px;
	margin: 0 auto;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: center;
	gap: 16px;
}

.footer-logo-link {
	display: block;
	width: 100%;
	max-width: 190px;
}

.footer-image {
	display: block;
	width: 100%;
	height: auto;
}

.footer-tagline {
	margin: 0;
	color: var(--text-muted);
	font-family: 'Exo 2', sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-info-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
	gap: clamp(24px, 3vw, 48px);
}

.footer-info-group {
	min-width: 0;
}

.footer-heading {
	margin: 0 0 20px;
	color: #a9bdd2;
	font-family: 'Exo 2', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-location-list,
.footer-contact-list {
	display: grid;
	gap: 20px;
}

.footer .link-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-link {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s ease;
}

.footer-link:hover {
	color: var(--text-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-link-indent {
	display: inline-block;
	margin-bottom: 4px;
	color: var(--blue-primary);
	font-family: 'Exo 2', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer .footer-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer .footer-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--glass-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-main);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer .footer-social-links a:hover {
	transform: translateY(-2px);
	border-color: var(--blue-primary);
	background: rgba(79, 147, 224, 0.18);
}

.footer .footer-social-links a:focus-visible,
.footer .footer-link:focus-visible {
	outline: 2px solid var(--blue-primary);
	outline-offset: 4px;
}

.footer .footer-social-links svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: currentColor;
}

/* =========================================
   COPYRIGHT SECTION
========================================= */
.copyright-section {
	padding: 18px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #0c1826;
}

.copyright-text {
	margin: 0 auto;
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.5;
	text-align: center;
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media screen and (max-width: 1100px) {
	.footer-flex-ctnr {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-brand {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}

	.footer-logo-link {
		max-width: 160px;
	}
}

@media screen and (max-width: 767px) {
	.footer {
		padding: 48px 24px 40px;
	}

	.footer-info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 24px;
	}

	.footer-info-group:last-child {
		grid-column: 1 / -1;
	}

	.footer .footer-social-links {
		justify-content: center;
	}
}

@media screen and (max-width: 540px) {
	.footer {
		padding: 40px 20px 32px;
	}

	.footer-brand {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-info-grid {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 28px;
		text-align: center;
	}

	.footer-heading {
		margin-bottom: 14px;
	}

	.footer .location-link {
		padding: 0;
		border: 0;
	}

	.footer .footer-social-links {
		justify-content: center;
	}

	.copyright-section {
		padding: 16px 20px;
	}
}
