/* Site footer. Sizes follow the 1440px Figma frame. */

.site-footer {
	background: var(--color-dark);
	color: #fff;
}

.site-footer a,
.site-footer a:visited {
	color: #fff;
	text-decoration: none;
	transition: color var(--transition);
}

.site-footer a:hover {
	color: var(--color-primary);
}

/* Main row: brand + 4 menu columns */

.footer-main {
	padding: 70px 0 56px;
}

.footer-main__inner {
	display: grid;
	grid-template-columns: 434px minmax(0, 1fr);
}

.footer-brand__logo {
	display: inline-block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.footer-brand__logo span {
	color: var(--color-primary);
}

.footer-brand__logo img {
	display: block;
	width: 133px;
	height: auto;
}

.footer-brand__details {
	max-width: 290px;
	margin: 16px 0 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	color: #e6e6e6;
}

.footer-contacts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.footer-contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 300;
}

.footer-contact__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #242424;
}

.footer-contact__icon img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.footer-menus {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.footer-menu__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-primary);
}

.footer-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu__list a {
	display: inline-block;
	padding: 4px 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	color: #e6e6e6;
}

/* Payment methods */

.footer-payments {
	background: #1e1e1e;
}

.footer-payments__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.footer-payments__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
}

.footer-payment {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 300;
	color: #e6e6e6;
}

.footer-payment__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 26px;
	padding: 3px 6px;
	border-radius: 3px;
	background: #fff;
	box-sizing: border-box;
}

.footer-payment__badge img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.footer-payments__note {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	color: #e6e6e6;
	white-space: nowrap;
}

/* Copyright */

.footer-copyright {
	padding: 12px 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	color: #9a9a9a;
}

@media (max-width: 1024px) {
	.footer-main__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.footer-main {
		padding: 48px 0 40px;
	}

	.footer-menus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
	}

	.footer-menu__list a,
	.footer-contact {
		font-size: 15px;
	}

	.footer-payments__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-bottom: 12px;
	}

	.footer-payments__list {
		gap: 10px 16px;
	}
}
