.newsletter {
	color: #ffffff;
	background: var(--tilenjoy-blue-strong);
}

.newsletter__inner {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	align-items: center;
	gap: 70px;
	min-height: 140px;
}

.newsletter h2 {
	max-width: 390px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.5rem, 2vw, 2rem);
}

.newsletter__form {
	position: relative;
	display: flex;
	align-items: center;
	height: 58px;
	padding: 5px;
	border: 1px solid rgb(255 255 255 / 0.32);
	border-radius: 999px;
}

.newsletter__form input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 22px;
	border: 0;
	outline: none;
	color: #ffffff;
	background: transparent;
}

.newsletter__form input::placeholder {
	color: rgb(255 255 255 / 0.72);
}

.newsletter__form button {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	color: var(--tilenjoy-black);
	background: var(--toy-orange);
	font-weight: 700;
}

.newsletter__message {
	position: absolute;
	top: calc(100% + 6px);
	left: 22px;
	margin: 0;
	color: var(--tilenjoy-gray-light);
	font-size: 13px;
}

.site-footer {
	position: relative;
	color: var(--tilenjoy-gray-light);
	background: var(--toy-navy);
	overflow: hidden;
}

.site-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 48px;
	padding-block: 96px 65px;
}

.footer-brand__logo {
	display: inline-block;
	margin-bottom: 24px;
}

.footer-brand__logo img {
	width: auto;
	max-width: 156px;
	max-height: 86px;
	height: auto;
	object-fit: contain;
}

.footer-brand > p,
.footer-contact > p {
	max-width: 245px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.7;
}

.footer-column h2 {
	position: relative;
	padding-bottom: 13px;
	margin-bottom: 22px;
	color: #ffffff;
	font-size: 20px;
	font-weight: 600;
}

.footer-column h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 4px;
	border-radius: 10px;
	background: var(--toy-orange);
	content: "";
}

.footer-menu,
.footer-contact ul {
	display: grid;
	gap: 11px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu a,
.footer-contact a {
	color: var(--tilenjoy-gray-light);
	font-size: 15px;
}

.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
	color: #ffffff;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.footer-contact a {
	min-width: 0;
	overflow-wrap: anywhere;
}

.footer-contact li .icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	padding: 9px;
	border: 1px solid var(--tilenjoy-footer-border);
	border-radius: 50%;
}

.site-footer__bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--tilenjoy-footer-border);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 65px;
	font-size: 14px;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__motto {
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.02em;
}

@media (max-width: 1199px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.newsletter__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-block: 36px;
	}

	.newsletter h2 {
		max-width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-block: 70px 45px;
	}
}

@media (max-width: 767px) {
	.newsletter__inner {
		min-height: 0;
		padding-block: 42px;
	}

	.newsletter__form {
		align-items: stretch;
		flex-direction: column;
		height: auto;
		padding: 0;
		border: 0;
		border-radius: 0;
	}

	.newsletter__form input {
		height: 52px;
		border: 1px solid rgb(255 255 255 / 0.32);
		border-radius: 999px;
	}

	.newsletter__form button {
		width: 100%;
		margin-top: 12px;
	}

	.newsletter__message {
		position: static;
		padding: 8px 18px 0;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 42px;
		padding-block: 60px 38px;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding-block: 20px;
	}

}
