/* Footer — Figma 937:5530 */

.bz-footer {
	background: var(--bz-black);
	color: var(--bz-white);
}

.bz-footer__top {
	border-bottom: 1px solid var(--bz-white-50);
}

.bz-footer__top-inner,
.bz-footer__mid-inner {
	display: flex;
	align-items: stretch;
	gap: 56px;
}

.bz-footer__top-inner {
	padding-top: 56px;
	padding-bottom: 56px;
}

.bz-footer__brand {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 0 0 416px;
	width: 416px;
	gap: 24px;
}

.bz-footer__brand-head {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.bz-footer__logo,
.bz-footer__logo a,
.bz-footer__logo img,
.bz-footer__logo .custom-logo-link,
.bz-footer__logo .custom-logo {
	display: block;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	margin: 0;
}

.bz-footer__logo img,
.bz-footer__logo .custom-logo {
	object-fit: contain;
}

.bz-footer__company {
	margin: 0;
	font-family: var(--bz-font-manrope);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--bz-white);
}

.bz-footer__about {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bz-white);
}

.bz-footer__messengers {
	display: flex;
	gap: 10px;
	width: 100%;
}

.bz-footer__messenger {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 44px;
	padding: 10px;
	border: none;
	border-radius: var(--bz-radius);
	background: rgba(6, 119, 86, 0.10);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.bz-footer__messenger svg {
	display: block;
	flex-shrink: 0;
}

.bz-footer__messenger:hover,
.bz-footer__messenger:focus-visible {
	transform: translateY(-3px);
	background: rgba(6, 119, 86, 0.18);
}

.bz-footer__nav {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.bz-footer__nav-row {
	display: flex;
	gap: 10px;
	width: 100%;
}

.bz-footer__group {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.bz-footer__heading {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bz-white-50);
}

.bz-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bz-footer__menu a {
	color: var(--bz-white);
	font-size: 16px;
	line-height: 1.2;
	transition: color 0.2s ease;
}

.bz-footer__menu a:hover,
.bz-footer__menu a:focus-visible {
	color: var(--bz-accent);
}

.bz-footer__menu--catalog,
.bz-footer__menu--services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 10px;
}

.bz-footer__menu--customers {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.bz-footer__menu--customers li {
	flex: 1 1 0;
	min-width: 0;
}

.bz-footer__mid-inner {
	padding-top: 24px;
	padding-bottom: 24px;
}

.bz-footer__form {
	display: flex;
	flex: 0 0 416px;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	width: 416px;
}

.bz-footer__phone {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 4px;
	padding: 12px;
	background: var(--bz-white);
	border-radius: var(--bz-radius);
}

.bz-footer .bz-consult__prefix {
	flex-shrink: 0;
	color: var(--bz-black);
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
}

.bz-footer .bz-consult__field input {
	flex: 1 1 0;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--bz-black);
	font-family: var(--bz-font-inter);
	font-size: 16px;
	line-height: 1.2;
	outline: none;
}

.bz-footer .bz-consult__field input::placeholder {
	color: var(--bz-black-50);
}

.bz-footer__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 36px;
	border: none;
	border-radius: var(--bz-radius);
	background: var(--bz-accent);
	color: var(--bz-white);
	font-family: var(--bz-font-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.bz-footer__submit:hover,
.bz-footer__submit:focus-visible {
	background: #055941;
	transform: translateY(-2px);
}

.bz-footer__submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.bz-footer__legal {
	margin: 0;
	font-size: 14px;
	line-height: 1.2;
	color: var(--bz-white);
}

.bz-footer__legal a {
	text-decoration: underline;
}

.bz-footer__status {
	margin: 0;
	font-size: 14px;
	line-height: 1.2;
}

.bz-footer__status.is-ok {
	color: var(--bz-accent);
}

.bz-footer__status.is-error {
	color: #ffb4b4;
}

.bz-footer__cities {
	display: flex;
	flex: 1 1 0;
	align-items: stretch;
	gap: 10px;
	min-width: 0;
}

.bz-footer__city {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.bz-footer__city-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bz-footer__city-row {
	display: flex;
	align-items: flex-start;
	gap: 4px;
	margin: 0;
	font-size: 16px;
	line-height: 1.2;
}

.bz-footer__city-row span {
	flex-shrink: 0;
	color: var(--bz-white-50);
}

.bz-footer__city-row a,
.bz-footer__city-row {
	color: var(--bz-white);
}

.bz-footer__city-row a:hover,
.bz-footer__city-row a:focus-visible {
	color: var(--bz-accent);
}

.bz-footer__bottom-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	padding-top: 24px;
	padding-bottom: 24px;
}

.bz-footer__legal-link {
	display: block;
	color: var(--bz-white);
	font-size: 16px;
	line-height: 1.2;
	text-align: right;
}

.bz-footer__legal-link--left {
	justify-self: start;
	text-align: left;
}

.bz-footer__legal-link--right {
	justify-self: end;
	text-align: right;
}

.bz-footer__legal-link:hover,
.bz-footer__legal-link:focus-visible {
	color: var(--bz-accent);
}

.bz-footer__credit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	color: var(--bz-white);
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
}

.bz-footer__credit img,
.bz-footer__heart {
	display: block;
	width: 20px;
	height: 18px;
	transform-origin: center;
	animation: heartbeat 2s infinite;
}

@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);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bz-footer__heart {
		animation: none;
	}
}

.bz-footer__credit em {
	font-style: normal;
	color: var(--bz-accent);
}

.bz-footer__credit:hover em,
.bz-footer__credit:focus-visible em {
	text-decoration: underline;
}

@media (max-width: 1400px) {
	.bz-footer__brand,
	.bz-footer__form {
		flex-basis: 320px;
		width: 320px;
	}

	.bz-footer__company {
		font-size: 22px;
	}
}

@media (max-width: 1200px) {
	.bz-footer__top-inner,
	.bz-footer__mid-inner {
		flex-direction: column;
		gap: 40px;
	}

	.bz-footer__brand,
	.bz-footer__form {
		flex-basis: auto;
		width: 100%;
	}

	.bz-footer__nav-row {
		flex-direction: column;
		gap: 32px;
	}

	.bz-footer__cities {
		flex-wrap: wrap;
	}

	.bz-footer__city {
		flex: 1 1 240px;
	}
}

@media (max-width: 768px) {
	.bz-footer .bz-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.bz-footer__top-inner {
		padding-top: 32px;
		padding-bottom: 32px;
		gap: 32px;
	}

	.bz-footer__brand {
		flex-basis: auto;
		width: 100%;
		min-height: 235px;
	}

	.bz-footer__brand-head {
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.bz-footer__company {
		font-size: 24px;
	}

	.bz-footer__nav {
		gap: 24px;
		width: 100%;
		align-items: stretch;
	}

	.bz-footer__nav-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		width: 100%;
		align-items: start;
	}

	.bz-footer__nav-row .bz-footer__group {
		min-width: 0;
	}

	.bz-footer__nav > .bz-footer__group {
		align-items: flex-start;
		width: 100%;
		text-align: left;
	}

	.bz-footer__nav > .bz-footer__group .bz-footer__heading {
		width: 100%;
		text-align: left;
	}

	.bz-footer__group {
		gap: 24px;
	}

	.bz-footer__mid-inner {
		padding-top: 24px;
		padding-bottom: 24px;
		gap: 56px;
	}

	.bz-footer__form {
		display: none;
	}

	.bz-footer__cities {
		flex-direction: column;
		gap: 24px;
		width: 100%;
	}

	.bz-footer__city {
		flex: none;
		width: 100%;
		min-height: 158px;
	}

	.bz-footer__menu--catalog,
	.bz-footer__menu--services {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.bz-footer__menu--customers {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		width: 100%;
	}

	.bz-footer__menu--customers li {
		flex: none;
	}

	.bz-footer__bottom-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 12px;
		padding-top: 18px;
		padding-bottom: 24px;
		text-align: center;
	}

	.bz-footer__legal-link,
	.bz-footer__legal-link--left,
	.bz-footer__legal-link--right {
		text-align: center;
		justify-self: center;
	}

	.bz-footer__credit {
		justify-content: center;
	}
}
