.tt-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 5%, rgba(26, 48, 78, 0.32), transparent 34%),
		linear-gradient(135deg, #0b111e 0%, #0d1726 52%, #08111e 100%);
	color: rgba(255, 255, 255, 0.76);
}

.tt-footer__main {
	display: grid;
	grid-template-areas:
		"about quick services contact"
		"social quick services newsletter";
	grid-template-columns: 1.05fr 0.82fr 0.82fr 1.15fr;
	grid-template-rows: auto 1fr;
	min-height: 246px;
	padding-block: 25px 20px;
}

.tt-footer__group {
	min-width: 0;
	padding-inline: clamp(28px, 3.5vw, 58px);
}

.tt-footer__group--about {
	grid-area: about;
	padding-inline-start: 0;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.tt-footer__group--quick {
	grid-area: quick;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.tt-footer__group--services {
	grid-area: services;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.tt-footer__group--contact {
	grid-area: contact;
	padding-inline-end: 0;
}

.tt-footer__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tt-white);
	font-size: 16px;
	font-weight: 800;
	text-align: right;
	cursor: default;
}

.tt-footer__heading::before {
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--tt-red);
	box-shadow: 0 0 18px rgba(230, 57, 70, 0.22);
	content: "";
}

.tt-footer__heading i {
	display: none;
}

.tt-footer__panel {
	padding-top: 13px;
}

.tt-footer__panel p {
	max-width: 350px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
}

.tt-footer__menu,
.tt-footer__contact {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tt-footer__menu {
	display: grid;
	gap: 8px;
}

.tt-footer__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.tt-footer__menu a::before {
	width: 7px;
	height: 7px;
	border-top: 1px solid currentcolor;
	border-left: 1px solid currentcolor;
	content: "";
	transform: rotate(-45deg);
}

.tt-footer__menu a:hover,
.tt-footer__menu a:focus-visible {
	color: var(--tt-white);
	transform: translateX(-3px);
}

.tt-footer__contact {
	display: grid;
	gap: 8px;
}

.tt-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.65;
}

.tt-footer__contact-icon {
	display: grid;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	place-items: center;
	color: var(--tt-white);
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
}

.tt-footer__contact-icon img {
	width: 19px;
	height: 19px;
	object-fit: contain;
}

.tt-footer__contact a {
	direction: ltr;
	transition: color 160ms ease;
}

.tt-footer__contact a:hover,
.tt-footer__contact a:focus-visible {
	color: var(--tt-white);
}

.tt-footer__social {
	display: flex;
	grid-area: social;
	align-items: end;
	gap: 15px;
	padding: 16px 0 0 clamp(28px, 3.5vw, 58px);
	border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.tt-footer__social > a,
.tt-footer__social-placeholder {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 50%;
	color: var(--tt-white);
	font-family: Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-transform: lowercase;
	transition:
		border-color 160ms ease,
		background-color 160ms ease,
		transform 160ms ease;
}

.tt-footer__social > a:hover,
.tt-footer__social > a:focus-visible {
	border-color: var(--tt-red);
	background: var(--tt-red);
	transform: translateY(-3px);
}

.tt-footer__social-placeholder {
	opacity: 0.56;
}

.tt-footer__social img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.tt-footer__newsletter {
	grid-area: newsletter;
	align-self: end;
	padding: 14px clamp(28px, 3.5vw, 58px) 0 0;
}

.tt-footer__newsletter p {
	margin: 0 0 9px;
	font-size: 12px;
	line-height: 1.7;
}

.tt-footer__newsletter form {
	display: flex;
	height: 36px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 8px;
	direction: rtl;
}

.tt-footer__newsletter input {
	min-width: 0;
	flex: 1;
	padding: 5px 12px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--tt-white);
	font-size: 12px;
	text-align: right;
}

.tt-footer__newsletter input::placeholder {
	color: rgba(255, 255, 255, 0.44);
}

.tt-footer__newsletter input:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.tt-footer__newsletter button {
	flex: 0 0 88px;
	border: 0;
	background: linear-gradient(135deg, #ef3943, #e32431);
	color: var(--tt-white);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	transition: filter 160ms ease;
}

.tt-footer__newsletter button:hover {
	filter: brightness(1.08);
}

.tt-footer__bottom {
	position: relative;
	min-height: 82px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tt-footer__bottom .tt-container {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 82px;
}

.tt-footer__bottom p {
	grid-column: 2;
	margin: 0;
	font-size: 13px;
	text-align: center;
}

.tt-footer__badge {
	position: absolute;
	top: 50%;
	left: 0;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 7px;
	font-family: Arial, sans-serif;
	font-size: 10px;
	direction: ltr;
	transform: translateY(-50%);
}

.tt-footer__target {
	position: absolute;
	right: -18px;
	bottom: -28px;
	width: 78px;
	height: 78px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
}

.tt-footer__target::before,
.tt-footer__target::after,
.tt-footer__target i {
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: inherit;
	content: "";
}

.tt-footer__target::after {
	inset: 22px;
}

.tt-footer__target i {
	inset: 32px;
	background: rgba(230, 57, 70, 0.65);
}

@media (max-width: 1100px) {
	.tt-footer__main {
		grid-template-columns: 1.1fr 0.82fr 0.82fr 1.1fr;
	}

	.tt-footer__group {
		padding-inline: 24px;
	}

	.tt-footer__group--about {
		padding-inline-start: 0;
	}

	.tt-footer__group--contact {
		padding-inline-end: 0;
	}

	.tt-footer__social {
		padding-left: 24px;
	}

	.tt-footer__newsletter {
		padding-right: 24px;
	}
}

@media (max-width: 860px) {
	.tt-footer__main {
		display: flex;
		min-height: 0;
		padding-block: 0 30px;
		flex-direction: column;
	}

	.tt-footer__group {
		width: 100%;
		padding: 0;
		border: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	}

	.tt-footer__heading {
		min-height: 70px;
		cursor: pointer;
	}

	.tt-footer__heading i {
		display: block;
		width: 14px;
		height: 14px;
		margin-inline-start: auto;
		border-right: 3px solid var(--tt-white);
		border-bottom: 3px solid var(--tt-white);
		transform: rotate(45deg) translateY(-3px);
		transition: transform 180ms ease;
	}

	.tt-footer__heading[aria-expanded="true"] i {
		transform: rotate(225deg) translate(-3px, -3px);
	}

	.tt-footer__panel {
		padding: 0 22px 22px 0;
	}

	.tt-footer__panel p {
		max-width: none;
	}

	.tt-footer__menu {
		gap: 12px;
	}

	.tt-footer__social {
		align-items: center;
		justify-content: center;
		order: 5;
		padding: 28px 0 22px;
		border-inline-end: 0;
		gap: clamp(14px, 5vw, 28px);
	}

	.tt-footer__social > a,
	.tt-footer__social-placeholder {
		flex-basis: 54px;
		width: 54px;
		height: 54px;
		font-size: 20px;
	}

	.tt-footer__newsletter {
		order: 6;
		padding: 0 8px;
		text-align: center;
	}

	.tt-footer__newsletter p {
		margin-bottom: 10px;
		font-size: 14px;
		line-height: 1.8;
	}

	.tt-footer__newsletter form {
		display: grid;
		height: auto;
		overflow: visible;
		border: 0;
		border-radius: 0;
		gap: 8px;
	}

	.tt-footer__newsletter input,
	.tt-footer__newsletter button {
		width: 100%;
		height: 46px;
		border-radius: 7px;
		font-size: 14px;
	}

	.tt-footer__newsletter input {
		border: 1px solid rgba(255, 255, 255, 0.48);
	}

	.tt-footer__bottom {
		min-height: 76px;
		border-top: 0;
	}

	.tt-footer__bottom .tt-container {
		display: flex;
		min-height: 76px;
		justify-content: center;
	}

	.tt-footer__bottom p {
		font-size: 13px;
	}

	.tt-footer__badge {
		display: none;
	}

	.tt-footer__target {
		right: -35px;
		bottom: -31px;
	}
}

@media (max-width: 480px) {
	.tt-footer__heading {
		min-height: 64px;
		font-size: 15px;
	}

	.tt-footer__heading::before {
		flex-basis: 10px;
		width: 10px;
		height: 10px;
	}

	.tt-footer__social {
		gap: 13px;
	}

	.tt-footer__social > a,
	.tt-footer__social-placeholder {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
		font-size: 17px;
	}
}
