/**
 * Footer zone — Dark Quantum minimal v6.10.0
 */

/* ── Footer shell ── */
.site-footer--v691 {
	--ft-cyan: #00e5ff;
	--ft-bg: #060b18;
	--ft-line: rgba(255, 255, 255, 0.04);
	--ft-text: #f1f5f9;
	--ft-muted: #94a3b8;
	position: relative;
	background: var(--ft-bg);
	color: var(--ft-muted);
	border-top: 1px solid var(--ft-line);
}

.site-footer--v691::before {
	content: '';
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
}

.footer-top {
	position: relative;
	padding: 40px 0 32px;
	overflow: hidden;
}

.footer-top__scanline {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.02) 50%, transparent 100%);
	background-size: 100% 4px;
	animation: ft-scan 12s linear infinite;
	pointer-events: none;
	opacity: 0.5;
}

@keyframes ft-scan {
	0% { background-position: 0 -100%; }
	100% { background-position: 0 200%; }
}

.footer-top__mesh {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
	pointer-events: none;
}

.footer-top__glow--cyan {
	position: absolute;
	width: 320px;
	height: 200px;
	top: -60px;
	inset-inline-end: 10%;
	background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
	filter: blur(40px);
	pointer-events: none;
}

.footer-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
	gap: 28px 32px;
	align-items: start;
}

/* Brand */
.footer-brand .footer-logo-link,
.footer-brand .site-logo--footer {
	display: inline-block;
	margin-bottom: 12px;
}

.footer-brand .site-logo--footer img {
	max-height: 60px;
	width: auto;
	opacity: 0.95;
}

.footer-tagline {
	margin: 0 0 10px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--ft-cyan);
}

.footer-desc {
	margin: 0 0 14px;
	font-size: 0.8125rem;
	line-height: 1.8;
	color: var(--ft-muted);
	max-width: 38em;
}

.footer-zones {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-zones li {
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 0.625rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ft-line);
}

/* Columns */
.footer-links h4,
.footer-services h4,
.footer-contact h4 {
	margin: 0 0 14px;
	padding-bottom: 8px;
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--ft-text);
	border-bottom: 1px solid var(--ft-line);
}

.footer-menu,
.footer-services ul,
.footer-phones-compact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li,
.footer-services li {
	padding: 4px 0;
	line-height: 1.55;
}

.footer-menu a,
.footer-services a {
	font-size: 0.8125rem;
	color: var(--ft-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-services a:hover {
	color: var(--ft-cyan);
}

/* Contact CTAs */
.footer-contact__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.footer-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 11px 14px;
	border-radius: 10px;
	font-family: inherit;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-cta--primary {
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	background: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.25);
	color: var(--ft-text);
	will-change: transform, box-shadow;
}

.footer-cta--primary:hover {
	background: rgba(0, 229, 255, 0.12);
	border-color: rgba(0, 229, 255, 0.45);
	transform: translateY(-1px);
	box-shadow: 0 0 24px rgba(0, 229, 255, 0.15);
}

.footer-cta--primary .footer-cta__icon {
	display: inline-flex;
	color: var(--ft-cyan);
	margin-bottom: 2px;
}

.footer-cta--primary .footer-cta__icon svg {
	width: 18px;
	height: 18px;
}

.footer-cta__label {
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--ft-muted);
}

.footer-cta__value {
	font-size: 1.0625rem;
	font-weight: 800;
	color: var(--ft-cyan);
	letter-spacing: 0.02em;
	text-align: start;
}

.footer-cta--ghost {
	justify-content: space-between;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ft-text);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ft-line);
}

.footer-cta--ghost:hover {
	color: var(--ft-cyan);
	border-color: rgba(0, 229, 255, 0.2);
	background: rgba(0, 229, 255, 0.05);
}

.footer-cta--ghost svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.footer-phones-compact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-bottom: 12px;
}

.footer-phone-compact {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ft-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-phone-compact:hover {
	color: var(--ft-cyan);
}

/* Email — RTL-aligned, LTR address */
.footer-email {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
	width: 100%;
}

.footer-email__link {
	justify-self: end;
	width: 100%;
	text-align: end;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ft-text);
	text-decoration: none;
	direction: ltr;
	unicode-bidi: embed;
	word-break: break-all;
	transition: color 0.2s ease;
}

.footer-email__link:hover {
	color: var(--ft-cyan);
}

.footer-address {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 8px;
	align-items: start;
	margin-bottom: 10px;
	font-size: 0.75rem;
	line-height: 1.7;
}

.footer-address address {
	margin: 0;
	font-style: normal;
	color: var(--ft-muted);
	text-align: start;
}

.contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var(--ft-cyan);
	opacity: 0.85;
}

.contact-icon svg {
	width: 16px;
	height: 16px;
}

.footer-map-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--ft-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-map-link:hover {
	color: var(--ft-cyan);
}

.footer-map-link svg {
	width: 14px;
	height: 14px;
}

/* Bottom bar */
.footer-bottom {
	border-top: 1px solid var(--ft-line);
	padding: 14px 0;
	background: rgba(4, 8, 18, 0.8);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
}

.footer-copyright {
	margin: 0;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: rgba(148, 163, 184, 0.75);
}

.footer-bottom-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

.footer-bottom-nav a {
	font-size: 0.6875rem;
	font-weight: 600;
	color: rgba(148, 163, 184, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-bottom-nav a:hover {
	color: var(--ft-cyan);
}

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.footer-top {
		padding: 28px 0 22px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.footer-top__scanline {
		animation: none;
	}

	.footer-cta {
		transition: none;
	}
}
