.nf-footer {
	--nf-bg: #0F3F30;
	--nf-text: #FFFFFF;
	--nf-accent: #3DBE7A;
	--nf-muted: color-mix(in srgb, var(--nf-text) 82%, transparent);
	--nf-line: color-mix(in srgb, var(--nf-text) 12%, transparent);
	background: var(--nf-bg);
	color: var(--nf-text);
	width: 100%;
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.6;
	clear: both;
	position: relative;
}
.nf-footer *, .nf-footer *::before, .nf-footer *::after { box-sizing: border-box; }
.nf-footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.nf-footer a:hover, .nf-footer a:focus-visible { color: var(--nf-accent); }
.nf-footer p { margin: 0; }
.nf-footer ul { list-style: none; margin: 0; padding: 0; }

/* Trust bar: 4 centered items with vertical dividers */
.nf-trust { padding: 0 16px; }
.nf-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 44px 0 46px; border-bottom: 1px solid var(--nf-line); }
.nf-trust__item { text-align: center; padding: 4px 20px; border-left: 1px solid var(--nf-line); }
.nf-trust__item:first-child { border-left: 0; }
.nf-trust__icon { display: inline-flex; width: 52px; height: 52px; margin-bottom: 14px; }
.nf-trust__icon svg { width: 100%; height: 100%; }
.nf-trust__title { font-size: 19px; font-weight: 600; letter-spacing: .3px; }
.nf-trust__text { font-size: 15px; color: var(--nf-muted); margin-top: 8px !important; }

/* Main: wide about column, links, newsletter */
.nf-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 56px 16px 64px; }
.nf-about { font-size: 17px; line-height: 1.65; }
.nf-contact-text { font-size: 16px; line-height: 1.7; margin-top: 56px !important; }
.nf-contact { display: grid; gap: 22px; margin-top: 30px !important; }
.nf-contact li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.nf-contact__icon { flex: 0 0 26px; width: 26px; height: 26px; display: inline-flex; }
.nf-contact__icon svg { width: 100%; height: 100%; }

.nf-col__heading { margin: 0 0 26px; font-size: 18px; font-weight: 600; letter-spacing: .2px; line-height: 1.4; color: var(--nf-accent) !important; }
.nf-col details > summary { list-style: none; cursor: default; }
.nf-col details > summary::-webkit-details-marker { display: none; }
.nf-col__chev { display: none; }
.nf-links { display: grid; gap: 22px; }
.nf-links li { margin: 0; }
.nf-links a { font-size: 16px; }

/* Newsletter */
.nf-news__text { font-size: 19px; line-height: 1.6; font-weight: 500; margin-bottom: 26px !important; }
.nf-news__row { display: flex; border: 1px solid var(--nf-line); border-radius: 4px; overflow: hidden; }
.nf-footer .nf-news__input { flex: 1 1 auto; min-width: 0; height: 58px; padding: 0 16px; border: 0; border-radius: 0; margin: 0; font-size: 15px;
	background: color-mix(in srgb, var(--nf-text) 9%, transparent); color: var(--nf-text); box-shadow: none; }
.nf-footer .nf-news__input::placeholder { color: color-mix(in srgb, var(--nf-text) 55%, transparent); }
.nf-footer .nf-news__input:focus { outline: 2px solid var(--nf-accent); outline-offset: -2px; }
.nf-footer .nf-news__btn { flex: 0 0 auto; height: 58px; padding: 0 30px; border: 0; border-left: 1px solid var(--nf-line); border-radius: 0; cursor: pointer;
	font-weight: 600; font-size: 18px; line-height: 1; background: transparent; color: var(--nf-text); transition: background .2s ease, color .2s ease; }
.nf-footer .nf-news__btn:hover { background: var(--nf-accent); color: var(--nf-bg); }
.nf-news__msg { margin-top: 10px !important; font-size: 14px; }
.nf-news__msg--error { color: #FFB4A8; }
.nf-news__msg--ok { color: var(--nf-accent); }
.nf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Social */
.nf-social { display: flex; gap: 10px; margin-top: 28px; }
.nf-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--nf-line); }
.nf-social a:hover { border-color: var(--nf-accent); }
.nf-social svg { width: 18px; height: 18px; }

/* Bottom bar */
.nf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 16px; padding: 28px 80px 32px 0; border-top: 1px solid var(--nf-line); }
.nf-copy { font-size: 15px; color: var(--nf-muted); }
.nf-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-pay__badge { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .3px; line-height: 1; padding: 7px 10px; border-radius: 5px;
	background: var(--nf-text); color: var(--nf-bg); white-space: nowrap; }

/* Back to top */
.nf-footer .nf-top { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; padding: 0;
	border: 1px solid var(--nf-bg); background: #fff; color: #111; cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 16px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.nf-footer .nf-top.is-visible { opacity: 1; visibility: visible; }
.nf-footer .nf-top svg { width: 22px; height: 22px; }

/* Tablet */
@media (max-width: 1024px) {
	.nf-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.nf-trust__item:nth-child(3) { border-left: 0; }
	.nf-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
	.nf-col--about { grid-column: 1 / -1; }
	.nf-contact-text { margin-top: 28px !important; }
}

/* Mobile */
@media (max-width: 749px) {
	.nf-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px 0; row-gap: 28px; }
	.nf-trust__item { padding: 0 10px; }
	.nf-trust__icon { width: 42px; height: 42px; margin-bottom: 10px; }
	.nf-trust__title { font-size: 16px; }
	.nf-trust__text { font-size: 13px; }
	.nf-main { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 16px 24px; }
	.nf-col--about { padding-bottom: 24px; }
	.nf-about { font-size: 16px; }
	.nf-contact-text { margin-top: 20px !important; font-size: 15px; }
	.nf-contact { gap: 16px; margin-top: 20px !important; }
	.nf-contact li { font-size: 15px; align-items: flex-start; }
	.nf-col--links { border-top: 1px solid var(--nf-line); border-bottom: 1px solid var(--nf-line); }
	.nf-col details > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
	.nf-col details > summary .nf-col__heading { margin: 0; }
	.nf-col__chev { display: block; width: 14px; height: 14px; color: var(--nf-accent); transition: transform .2s ease; }
	.nf-col details[open] .nf-col__chev { transform: rotate(180deg); }
	.nf-col__body { padding-bottom: 20px; }
	.nf-links { gap: 16px; }
	.nf-col--newsletter { padding-top: 28px; }
	.nf-col--newsletter .nf-col__heading { margin-bottom: 14px; }
	.nf-news__text { font-size: 16px; margin-bottom: 18px !important; }
	.nf-footer .nf-news__btn { padding: 0 18px; font-size: 16px; }
	.nf-bottom { flex-direction: column; text-align: center; padding: 24px 0 84px; }
	.nf-pay { justify-content: center; }
	.nf-footer .nf-top { width: 48px; height: 48px; right: 16px; bottom: 16px; }
}
