.cm-footer {
	background: #02040a;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cm-footer__inner {
	padding: 56px 0 28px;
}

.cm-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cm-footer__col .widget {
	margin: 0 0 20px;
}

.cm-footer__col .widget-title h3 {
	margin: 0 0 14px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #f7931a;
}

.cm-footer__col a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.cm-footer__col a:hover {
	color: #f7931a;
}

.cm-footer__subscribe {
	margin-top: 28px;
}

.cm-footer__menu {
	margin-top: 24px;
}

.cm-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cm-footer-menu li {
	margin: 0;
	padding: 0;
}

.cm-footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease, transform 0.2s ease;
}

.cm-footer-menu a:hover {
	color: #f7931a;
	transform: translateY(-1px);
}

.cm-footer__subscribe-card {
	padding: 28px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(7, 10, 18, 0.98), rgba(12, 18, 32, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.cm-footer__subscribe-card h3 {
	margin: 0 0 10px;
	font-size: 1.4rem;
}

.cm-footer__subscribe-card p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.75);
}

.cm-footer__subscribe-form {
	display: flex;
	gap: 10px;
	max-width: 620px;
}

.cm-footer__subscribe-form input {
	flex: 1;
	padding: 15px 18px;
	border: 0;
	border-radius: 999px;
	outline: none;
	font-size: 1rem;
	background: #0b1020;
	color: #fff;
}

.cm-footer__subscribe-form input:focus-visible {
	outline: 3px solid #f7931a;
	outline-offset: 3px;
	box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.18);
}

.cm-footer__subscribe-form button {
	padding: 15px 24px;
	border: 0;
	border-radius: 999px;
	background: #f7931a;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.cm-footer__subscribe-form button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.cm-footer__bottom {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	text-align: center;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.cm-footer__bottom p {
	margin: 0;
}

.cm-footer-social {
	display: grid;
	gap: 12px;
	padding: 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(7, 10, 18, 0.98), rgba(12, 18, 32, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.cm-footer-social__eyebrow {
	margin: 0;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f7931a;
}

.cm-footer-social__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	color: #fff;
}

.cm-footer-social__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
}

.cm-footer-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	align-items: center;
}

.cm-footer-social__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 5px 12px rgba(0, 0, 0, 0.14);
}

.cm-footer-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(247, 147, 26, 0.16);
	color: #f7931a;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.cm-footer-social__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.cm-footer-social__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cm-footer-social__item:hover {
	transform: translateY(-2px) scale(1.02);
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(247, 147, 26, 0.45);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cm-footer-social__item--facebook .cm-footer-social__icon {
	background: rgba(59, 130, 246, 0.2);
	color: #60a5fa;
	font-size: 0.92rem;
}

.cm-footer-social__item--linkedin .cm-footer-social__icon {
	background: rgba(14, 118, 168, 0.22);
	color: #38bdf8;
	font-size: 0.72rem;
}

.cm-footer-social__item--telegram .cm-footer-social__icon {
	background: rgba(56, 189, 248, 0.16);
	color: #38bdf8;
}

.cm-footer-social__item--youtube .cm-footer-social__icon {
	background: rgba(239, 68, 68, 0.18);
	color: #f87171;
}

.cm-footer-social__item--instagram .cm-footer-social__icon {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(249, 115, 22, 0.18));
	color: #f472b6;
}

.cm-footer-social__empty {
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.7);
}

html:not(.dark-mode) .cm-footer {
	background: #02040a;
	color: #fff;
}

html:not(.dark-mode) .cm-footer-social__icon {
	background: rgba(247, 147, 26, 0.14);
}

html:not(.dark-mode) .cm-footer-social__item:hover {
	border-color: rgba(247, 147, 26, 0.45);
}

@media (max-width: 992px) {
	.cm-footer__grid {
		grid-template-columns: 1fr;
	}

	.cm-footer-social__list {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.cm-footer-social__list {
		gap: 7px;
	}

	.cm-footer-social__item {
		width: 44px;
		height: 44px;
	}

	.cm-footer-social__icon {
		width: 24px;
		height: 24px;
	}

	.cm-footer-social__icon svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 768px) {
	.cm-footer__inner {
		padding: 44px 0 24px;
	}

	.cm-footer__subscribe-card {
		padding: 22px;
	}

	.cm-footer__subscribe-form {
		flex-direction: column;
	}
}
