/* Новый подвал spk-stanok.by */

html.spk-new-footer-on #footer,
html.spk-new-footer-on #karusel {
	display: none !important;
}

.spk-footer,
.spk-footer * {
	box-sizing: border-box;
}

.spk-footer {
	--spk-blue: #225b90;
	--spk-card: #f6f6f7;
	--spk-text: #383838;
	--spk-black: #1d2029;
	--spk-muted: #aaaaaa;
	--spk-width: 1208px;
	--spk-pad: 24px;
	width: 100%;
	margin-top: 3rem;
	background: var(--spk-blue);
	font-family: Ubuntu, Arial, sans-serif;
	color: var(--spk-text);
}

.spk-footer a {
	color: inherit;
	text-decoration: none;
}

.spk-footer__inner {
	max-width: var(--spk-width);
	margin: 0 auto;
	padding: 24px var(--spk-pad);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.spk-footer__card {
	background: var(--spk-card);
	border-radius: 10px;
	padding: 12px 24px;
}

.spk-footer__icon {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	object-fit: contain;
	margin-top: 2px;
}

.spk-footer-phone .spk-footer__icon {
	width: 16px;
	height: 18px;
	transform: scaleY(-1);
}

/* ---------- nav ---------- */

.spk-footer-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: nowrap;
}

.spk-footer-nav__link {
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--spk-black);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
}

.spk-footer-nav__link:hover,
.spk-footer-nav__link.is-active {
	border-bottom-color: var(--spk-blue);
	color: var(--spk-blue);
}

/* ---------- contacts row ---------- */

.spk-footer-contacts {
	display: flex;
	align-items: stretch;
	gap: 12px;
}

.spk-footer-phone,
.spk-footer-info {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
}

.spk-footer-phone__body,
.spk-footer-info__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.spk-footer-phone__num {
	font-size: 18px;
	line-height: 20px;
	font-weight: 500;
	color: var(--spk-black);
	white-space: nowrap;
}

.spk-footer-phone__num:hover {
	color: var(--spk-blue);
}

.spk-footer-phone__callback,
.spk-footer-phone__callback.faq1 {
	margin-top: 4px;
	font-size: 10px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: 0.1px;
	text-transform: uppercase;
	color: var(--spk-blue);
	background: none !important;
	background-image: none !important;
	text-indent: 0 !important;
}

.spk-footer-phone__callback:hover {
	text-decoration: underline;
}

.spk-footer-info__title {
	font-size: 18px;
	line-height: 20px;
	font-weight: 700;
	color: var(--spk-text);
}

.spk-footer-info__text {
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	color: var(--spk-blue);
}

.spk-footer-info__text:hover {
	text-decoration: underline;
}

.spk-footer-cta,
a.spk-footer-cta,
a.spk-footer-cta.call_form_fancy {
	position: relative;
	display: block;
	flex: 0 0 262px;
	width: 262px;
	height: 84px;
	min-height: 84px;
	padding: 0 24px;
	border: 1px solid #fff !important;
	border-radius: 10px;
	overflow: hidden;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	color: #fff !important;
}

.spk-footer-cta__text {
	position: absolute;
	left: 24px;
	top: 50%;
	z-index: 2;
	width: 173px;
	margin: 0;
	transform: translateY(-50%);
	font-family: Ubuntu, Arial, sans-serif;
	font-size: 18px;
	line-height: normal;
	font-weight: 500;
	text-align: left;
	color: #fff !important;
	text-indent: 0 !important;
	background: none !important;
	background-image: none !important;
}

.spk-footer-cta__img {
	position: absolute;
	left: 168px;
	top: 18px;
	z-index: 1;
	width: 160px;
	height: 107px;
	object-fit: cover;
	pointer-events: none;
}

.spk-footer-cta:hover,
a.spk-footer-cta:hover,
a.spk-footer-cta.call_form_fancy:hover {
	background: rgba(255, 255, 255, .08) !important;
	color: #fff !important;
}

.spk-footer-cta:hover .spk-footer-cta__text {
	color: #fff !important;
}

/* ---------- brands ---------- */

.spk-footer-brands {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.spk-footer-brands__title {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	color: var(--spk-text);
}

.spk-footer-brands__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.spk-footer-brands__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.spk-footer-brands__btn img {
	display: block;
	width: 36px;
	height: 36px;
}

.spk-footer-brands__btn--prev img {
	transform: scaleY(-1) rotate(-90deg);
}

.spk-footer-brands__btn--next img {
	transform: rotate(90deg);
}

.spk-footer-brands__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.spk-footer-brands__list {
	display: flex;
	align-items: center;
	gap: 10px;
	transition: transform .35s ease;
	will-change: transform;
}

.spk-footer-brands__logo {
	display: block;
	width: 49px;
	height: 49px;
	object-fit: contain;
	flex-shrink: 0;
}

/* ---------- copyright ---------- */

.spk-footer-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.spk-footer-copy__text,
.spk-footer-copy__made {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--spk-muted);
}

.spk-footer-copy__made {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.spk-footer-heart {
	display: block;
	width: 20px;
	height: 18px;
	object-fit: contain;
	animation: heartbeat 1.6s ease-in-out infinite;
	transform-origin: center;
}

.spk-footer-copy__brand {
	font-weight: 700;
	color: var(--spk-blue);
}

.spk-footer-copy__brand:hover {
	text-decoration: underline;
}

@keyframes heartbeat {
	0% {
		transform: scale(1);
	}
	10% {
		transform: scale(1.2);
	}
	20% {
		transform: scale(1);
	}
	30% {
		transform: scale(1.2);
	}
	40% {
		transform: scale(1);
	}
	100% {
		transform: scale(1);
	}
}

/* ---------- tablet ---------- */

@media (max-width: 1200px) {
	.spk-footer {
		--spk-pad: 16px;
		--spk-width: 100%;
	}

	.spk-footer-nav {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px 18px;
	}

	.spk-footer-contacts {
		flex-wrap: wrap;
	}

	.spk-footer-phone,
	.spk-footer-info {
		flex: 1 1 calc(50% - 12px);
	}

	.spk-footer-cta,
	a.spk-footer-cta,
	a.spk-footer-cta.call_form_fancy {
		flex: 1 1 100%;
		width: 100%;
		height: 84px;
		min-height: 84px;
	}

	.spk-footer-cta__img {
		left: auto;
		right: -20px;
	}

	.spk-footer-copy {
		flex-wrap: wrap;
	}

	.spk-footer-copy__text,
	.spk-footer-copy__made {
		font-size: 16px;
	}
}

/* ---------- mobile (Figma 27:156) ---------- */

@media (max-width: 760px) {
	.spk-footer {
		--spk-pad: 12px;
	}

	.spk-footer__inner {
		padding: 24px 12px 24px 15px;
	}

	.spk-footer__card {
		padding: 12px 24px;
		width: 100%;
	}

	.spk-footer-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		justify-content: space-between;
	}

	.spk-footer-nav__link {
		white-space: normal;
	}

	.spk-footer-contacts {
		flex-direction: column;
		gap: 12px;
	}

	.spk-footer-phone,
	.spk-footer-info {
		flex: 1 1 auto;
		width: 100%;
	}

	.spk-footer-cta,
	a.spk-footer-cta,
	a.spk-footer-cta.call_form_fancy {
		flex: 1 1 auto;
		width: 100%;
		height: 84px;
	}

	.spk-footer-cta__img {
		left: auto;
		right: -20px;
	}

	.spk-footer-brands__btn {
		display: none;
	}

	.spk-footer-brands__viewport {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.spk-footer-copy {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.spk-footer-copy__text {
		font-size: 18px;
		line-height: 1.15;
	}
}
