/* Footer V7 — Centered dark hub */

.footer-v7 {
	width: 100%;
	margin-top: clamp(48px, 6vw, 80px);
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	background: var(--sc-footer-v7-root-bg, var(--footer-background-color, #0a0a0a));
	color: var(--sc-footer-v7-root-text, var(--footer-text-color, #fff));
}

.footer-v7__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	gap: clamp(28px, 4vw, 40px);
	padding: clamp(40px, 6vw, 56px) clamp(20px, 4vw, 32px);
	background: var(--sc-footer-v7-panel-bg, var(--footer-background-color, #0a0a0a));
	color: var(--sc-footer-v7-panel-text, var(--footer-text-color, #fff));
}

.footer-v7__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.footer-v7__logo-line,
.footer-v7__name-line {
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	color: var(--sc-footer-v7-brand-link-text, inherit);
	transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-v7__logo-line:hover,
.footer-v7__name-line:hover {
	opacity: 0.92;
	color: var(--sc-footer-v7-brand-link-hover-text, inherit);
}

.footer-v7__logo {
	display: block;
	width: auto;
	height: 40px;
	max-width: 120px;
	margin-inline: auto;
	object-fit: contain;
}

.footer-v7__name-line {
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--sc-footer-v7-title-text, var(--footer-hover-text-color, #fff));
}

.footer-v7__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 3vw, 36px);
	max-width: 720px;
}

.footer-v7__nav-link,
.footer-v7__nav a {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--sc-footer-v7-nav-link-text, var(--footer-text-color, #fff));
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-v7__nav-link:hover,
.footer-v7__nav a:hover {
	color: var(--sc-footer-v7-nav-link-hover-text, var(--footer-hover-text-color, #fff));
	opacity: 1;
}

.footer-v7__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 3vw, 28px);
}

.footer-v7__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--sc-footer-v7-social-link-border, var(--footer-social-icon-background-color, transparent));
	background: var(--sc-footer-v7-social-link-bg, var(--footer-social-icon-background-color, transparent));
	color: var(--sc-footer-v7-social-link-text, var(--footer-social-icon-color, currentColor));
	font-size: 20px;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-v7__social-link:hover {
	color: var(--sc-footer-v7-social-link-hover-text, var(--footer-social-icon-hover-color, #fff));
	background: var(--sc-footer-v7-social-link-hover-bg, var(--footer-social-icon-hover-background-color, transparent));
	border-color: var(--sc-footer-v7-social-link-hover-border, var(--primary-brand-color, #fff));
	transform: translateY(-1px);
}

.footer-v7__credit {
	margin: clamp(16px, 2.5vw, 20px) auto 0;
	padding-inline: clamp(20px, 4vw, 32px);
	max-width: 520px;
	text-align: center;
	font-size: 11px;
	line-height: 1.5;
	color: var(--sc-footer-v7-credit-text, var(--footer-text-color, #666));
}

.footer-v7__credit a {
	color: var(--sc-footer-v7-credit-link-text, var(--footer-text-color, #888));
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-v7__credit a:hover {
	color: var(--sc-footer-v7-credit-link-hover-text, var(--primary-brand-color, #fff));
	text-decoration: underline;
}

@media (max-width: 576px) {
	.footer-v7__nav {
		flex-direction: column;
		gap: 14px;
	}

	.footer-v7__panel {
		padding-inline: 20px;
	}
}

[dir="rtl"] .footer-v7__social {
	flex-direction: row-reverse;
}
