.td-footer-inner--no-contact {
	grid-template-columns: 1.4fr 1fr;
	grid-template-areas: "brand nav";
}

.td-footer-legal {
	width: min(1180px, calc(100% - 44px));
	margin: 0 auto;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.td-footer-legal ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	gap: 8px 20px;
	list-style: none;
}

.td-footer-legal a {
	color: #9db2ad;
	font-size: 12px;
}

.td-footer-legal a:hover {
	color: #fff;
}

.td-footer-trust {
	display: grid;
	grid-template-columns: minmax(190px, .7fr) minmax(0, 2.3fr);
	align-items: center;
	width: min(1180px, calc(100% - 44px));
	margin: 0 auto 24px;
	padding: 20px;
	gap: 22px;
	border: 1px solid rgba(184, 227, 74, .18);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(184, 227, 74, .035));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.td-trust-heading span,
.td-trust-heading strong {
	display: block;
}

.td-trust-heading span {
	margin-bottom: 5px;
	color: var(--td-lime);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .15em;
}

.td-trust-heading strong {
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
}

.td-trust-badges {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.td-trust-badge {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 11px;
	gap: 10px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 13px;
	background: rgba(2, 20, 17, .34);
}

.td-trust-badge > span {
	display: grid;
	flex: 0 0 38px;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: rgba(184, 227, 74, .1);
	color: var(--td-lime);
}

.td-trust-badge svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.td-trust-badge strong,
.td-trust-badge small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.td-trust-badge strong {
	color: #f4faf8;
	font-size: 12px;
}

.td-trust-badge small {
	margin-top: 2px;
	color: #78928c;
	font-size: 10px;
}

.td-footer-bottom > :last-child {
	margin-left: auto;
	text-align: right;
}

.td-footer-contact {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 8px;
}

.td-footer-contact h2 {
	margin-bottom: 7px;
}

.td-footer-contact > .td-contact-item {
	display: flex;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 9px 10px;
	gap: 9px;
	border: 1px solid rgba(255, 255, 255, .075);
	border-radius: 11px;
	background: rgba(255, 255, 255, .025);
	color: #b7cbc6;
	font-size: 13px;
	line-height: 1.45;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.td-footer-contact > a.td-contact-item:hover {
	border-color: rgba(184, 227, 74, .23);
	background: rgba(184, 227, 74, .055);
	color: #fff;
}

.td-contact-item > span:first-child {
	display: grid;
	flex: 0 0 28px;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(184, 227, 74, .09);
	color: var(--td-lime);
}

.td-contact-item > span:last-child {
	min-width: 0;
	padding-top: 4px;
	overflow-wrap: anywhere;
}

.td-contact-item svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 980px) {
	.td-footer-trust {
		grid-template-columns: 1fr;
	}

	.td-trust-badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.td-footer-inner,
	.td-footer-inner--no-contact {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "brand brand" "nav contact";
		column-gap: 22px;
		row-gap: 30px;
	}

	.td-footer-inner--no-contact {
		grid-template-areas: "brand brand" "nav nav";
	}

	.td-footer-nav,
	.td-footer-contact {
		min-width: 0;
	}

	.td-footer-contact p,
	.td-footer-contact a {
		overflow-wrap: anywhere;
	}

	.td-footer-contact > .td-contact-item {
		padding: 8px;
		font-size: 12px;
	}

	.td-footer-trust {
		width: calc(100% - 32px);
		padding: 15px;
	}

	.td-trust-badges {
		grid-template-columns: 1fr 1fr;
	}

	.td-trust-badge {
		align-items: flex-start;
		flex-direction: column;
	}

	.td-footer-legal {
		width: calc(100% - 32px);
	}

	.td-footer-bottom {
		align-items: center;
		flex-direction: row;
	}
}
