/**
 * الفوتر.
 */

.mc-foot {
	margin-block-start: var(--mc-section-gap);
	margin-block-end: 0 !important;
	padding-inline: 0 !important;
	max-width: none !important;
	background: linear-gradient(180deg, var(--mc-navy) 0%, var(--mc-navy-dark) 100%);
	color: #fff;
}

.mc-foot__inner {
	display: grid;
	gap: 26px;
	max-width: var(--mc-max);
	margin-inline: auto;
	padding: 32px 16px 28px;
}

/* -- العلامة --------------------------------------------------------- */

.mc-foot__logo {
	display: inline-block;
	margin-block-end: 12px;
}

.mc-foot__logo img {
	width: auto;
	max-width: 230px;
	height: auto;
}

.mc-foot__about {
	margin: 0 0 14px;
	max-width: 42ch;
	color: rgb(255 255 255 / 78%);
	font-size: 0.87rem;
	line-height: 1.75;
}

.mc-foot__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mc-foot__social-link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: 999px;
	background: rgb(255 255 255 / 8%);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.18s var(--mc-ease), border-color 0.18s var(--mc-ease), transform 0.18s var(--mc-ease);
}

.mc-foot__social-link:hover {
	border-color: transparent;
	color: #fff;
	transform: translateY(-2px);
}

.mc-foot__social-link--facebook:hover { background: #1877f2; }
.mc-foot__social-link--instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.mc-foot__social-link--tiktok:hover { background: #000; }
.mc-foot__social-link--youtube:hover { background: #ff0000; }
.mc-foot__social-link--x:hover { background: #000; }

/* -- الأعمدة --------------------------------------------------------- */

.mc-foot__title {
	position: relative;
	margin: 0 0 14px;
	padding-block-end: 10px;
	color: #fff;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.4;
}

.mc-foot__title::after {
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	width: 38px;
	height: 3px;
	border-radius: 999px;
	background: var(--mc-accent);
	content: "";
}

.mc-foot__links {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-foot__links li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-foot__links a {
	display: inline-block;
	color: rgb(255 255 255 / 78%);
	font-size: 0.87rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.16s var(--mc-ease), transform 0.16s var(--mc-ease);
}

.mc-foot__links a:hover,
.mc-foot__links a:focus-visible {
	color: var(--mc-accent);
	transform: translateX(-4px);
}

[dir="ltr"] .mc-foot__links a:hover {
	transform: translateX(4px);
}

/* -- التواصل --------------------------------------------------------- */

.mc-foot__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.mc-foot__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	color: rgb(255 255 255 / 82%);
	font-size: 0.87rem;
	line-height: 1.6;
	list-style: none;
}

.mc-foot__contact svg {
	flex: 0 0 auto;
	margin-block-start: 2px;
	color: var(--mc-accent);
}

.mc-foot__contact a {
	color: inherit;
	text-decoration: none;
	transition: color 0.16s var(--mc-ease);
}

.mc-foot__contact a:hover {
	color: var(--mc-accent);
}

/* مكدّسة مش جنب بعض — عمود الفوتر ضيّق والنص كان بيتكسر على سطرين. */
.mc-foot__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	max-width: 280px;
}

.mc-foot__actions .mc-btn {
	min-height: 46px;
	font-size: 0.85rem;
	white-space: nowrap;
}

/* -- الشريط السفلي ---------------------------------------------------- */

.mc-foot__bar {
	border-block-start: 1px solid rgb(255 255 255 / 14%);
	background: rgb(0 0 0 / 16%);
}

.mc-foot__copy {
	max-width: var(--mc-max);
	margin: 0 auto;
	padding: 14px 16px;
	color: rgb(255 255 255 / 66%);
	font-size: 0.8rem;
	line-height: 1.6;
	text-align: center;
}

/* -- شاشات أكبر ------------------------------------------------------- */

@media (min-width: 600px) {
	.mc-foot__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px;
		padding-block: 40px 32px;
	}

	.mc-foot__col--brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 992px) {
	.mc-foot__inner {
		grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
		gap: 36px;
		padding-block: 52px 40px;
	}

	.mc-foot__col--brand {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mc-foot__social-link,
	.mc-foot__links a {
		transition: none;
	}

	.mc-foot__social-link:hover,
	.mc-foot__links a:hover {
		transform: none;
	}
}
