.tpi-footer { background: var(--tpi-night); color: #dfe5e9; font-size: 16px; line-height: 1.55; margin-top: 64px; }
.home .tpi-footer { margin-top: 0; }
.tpi-footer * { color: inherit; box-sizing: border-box; }
.tpi-footer ul { list-style: none; margin: 0; padding: 0; }
.tpi-footer a, .tpi-footer a:hover { text-decoration: none !important; }
.tpi-footer a:hover, .tpi-footer a:hover * { color: var(--tpi-orange) !important; }
.tpi-footer :focus-visible { outline: 3px solid var(--tpi-orange); outline-offset: 2px; }
.tpi-footer img { width: auto; }

.tpi-newsletter { background: #1c2227; color: #fff; padding-block: 52px; }
.tpi-newsletter > .tpi-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
.tpi-newsletter h2 { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.15; font-weight: 300; margin: 0 0 14px; }
.tpi-newsletter h2 b { font-weight: 700; }
.tpi-newsletter p { margin: 0; color: #cfd6db; }
.tpi-nl { margin: 0; position: relative; }
.tpi-nl__row { display: flex; gap: 10px; }
.tpi-footer input.tpi-nl__input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: var(--tpi-r-in); background: #fff; color: #14181c; font-size: 16px; box-shadow: none; }
.tpi-footer input.tpi-nl__input::placeholder { color: #5d666e; opacity: 1; }
.tpi-footer .tpi-nl__btn { height: 50px; padding: 0 30px; border: 0; border-radius: var(--tpi-r-btn); background: var(--tpi-orange); color: #14181c; font-weight: 700; transition: background .2s; }
.tpi-nl__btn:hover { background: #ff9240 !important; }
.tpi-nl__btn[disabled] { opacity: .6; cursor: default; }
.tpi-footer .tpi-nl__consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 13px; line-height: 1.5; font-weight: 400; color: #cfd6db; cursor: pointer; }
.tpi-footer .tpi-nl__consent input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; accent-color: var(--tpi-orange); }
.tpi-footer .tpi-nl__consent a { text-decoration: underline !important; }
.tpi-footer .tpi-nl__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tpi-footer .tpi-nl__msg { font-weight: 600; margin-top: 10px; min-height: 0; }
.tpi-footer .tpi-nl__msg.is-error { color: #ffb4a0; }
.tpi-footer .tpi-nl__msg.is-ok { color: #9be89b; }
.tpi-footer .tpi-nl__note { font-size: 13px; margin-top: 10px; }

.tpi-footer .tpi-newsletter { margin-block: 0 !important; }
.tpi-footer__grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; padding-block: 56px 36px; }
.tpi-footer__logo img { width: 281px; height: auto; max-width: 100%; }
.tpi-footer__social { display: flex; gap: 20px; margin-top: 22px !important; font-size: 24px; }
.tpi-footer__grid h2 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.tpi-footer__list a { display: block; padding: 5px 0; overflow-wrap: anywhere; }

@media (max-width: 1024px) {
	.tpi-newsletter > .tpi-wrap { grid-template-columns: 1fr; gap: 28px; }
	.tpi-footer__grid { grid-template-columns: 1fr 1fr; }
	.tpi-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.tpi-nl__row { flex-direction: column; }
	.tpi-footer input.tpi-nl__input { flex: none; width: 100%; }
}
