/* NegarParde Footer — white glass cards with orbiting border light, scroll reveal and soft aurora. */

.npf {
	--nph-primary: #eea41f;
	--nph-primary-2: #3a3a41;
	--nph-gold-2: #f7cd72;
	--npf-ink: #1f1f22;
	--npf-ink-2: #45454b;
	--npf-muted: #625c55;
	--npf-line: #ece6dc;
	/* Gold is light only; bronze is the text accent, charcoal the surface under white text. */
	--npf-teal-ink: #8a5a0b;
	--npf-deep: color-mix(in srgb, var(--nph-primary-2) 55%, #000);
	--npf-soft: color-mix(in srgb, var(--nph-primary) 9%, #fff);
	--nph-grey: linear-gradient(150deg, rgba(219, 218, 226, .95), rgba(238, 237, 243, .86));
	--nph-grey-line: rgba(31, 31, 34, .1);
	--nph-gold-grad: linear-gradient(135deg, var(--nph-gold-2), var(--nph-primary));
	--nph-on-gold: #2f2005;
	--npf-ease: cubic-bezier(.22, .8, .24, 1);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	/* Full bleed even inside a boxed Elementor section / container. */
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: 72px 24px 0;
	font-family: "YekanBakh", "IRANYekanX", iranyekanx, Vazirmatn, Tahoma, system-ui, sans-serif;
	direction: rtl;
	text-align: right;
	color: var(--npf-ink-2);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	background: linear-gradient(180deg, rgba(251, 248, 242, 0) 0, #faf6ee 220px, #f3ede2 100%);
}
.npf *, .npf *::before, .npf *::after { box-sizing: border-box; }
.npf a { color: inherit; text-decoration: none; }
.npf ul { list-style: none; margin: 0; padding: 0; }
.npf p, .npf h2, .npf h3 { margin: 0; }
.npf svg { display: block; flex-shrink: 0; }
.npf a:focus-visible, .npf button:focus-visible { outline: 2px solid var(--nph-primary); outline-offset: 3px; }

/* 100vw includes the scrollbar; keep the page from scrolling sideways. */
html:has(.npf), body:has(.npf) { overflow-x: clip; }
body .elementor-widget-shortcode:has(> .elementor-widget-container > .npf),
body .elementor-shortcode:has(> .npf) { width: 100%; max-width: none; }

/* Theme / Elementor kit button resets (same approach as the header). */
body .npf button.npf-more,
body .npf button.npf-top {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

/* ---------- Aurora behind the glass ---------- */

.npf-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.npf-aura::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(color-mix(in srgb, var(--nph-primary) 22%, transparent) 1px, transparent 1.5px);
	background-size: 24px 24px;
	-webkit-mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
	mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
	opacity: .55;
}
.npf-aura i {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}
.npf-aura i:nth-child(1) {
	width: 640px; height: 640px; top: 0; right: -180px;
	background: radial-gradient(circle, color-mix(in srgb, var(--nph-primary) 34%, transparent), transparent 66%);
	animation: npf-drift-a 24s ease-in-out infinite alternate;
}
.npf-aura i:nth-child(2) {
	width: 560px; height: 560px; top: 36%; left: -160px;
	background: radial-gradient(circle, color-mix(in srgb, var(--nph-primary-2) 26%, transparent), transparent 66%);
	animation: npf-drift-b 28s ease-in-out infinite alternate;
}
.npf-aura i:nth-child(3) {
	width: 460px; height: 460px; bottom: -120px; left: 38%;
	background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 66%);
	animation: npf-drift-c 20s ease-in-out infinite alternate;
}
@keyframes npf-drift-a { to { transform: translate(-160px, 120px) scale(1.12); } }
@keyframes npf-drift-b { to { transform: translate(200px, -90px) scale(.92); } }
@keyframes npf-drift-c { to { transform: translate(-140px, -80px) scale(1.18); } }

.npf-wrap {
	position: relative;
	display: grid;
	gap: 18px;
	max-width: 1480px;
	margin: 0 auto;
}

/* ---------- Glass card + orbiting light ---------- */

/*
 * Glass lives on ::before (see header.css). Reveal animations never change the card's opacity/filter,
 * only its transform — otherwise the card becomes a backdrop root and the blur disappears mid-animation.
 */
.npf-card {
	--mx: -999px;
	--my: -999px;
	position: relative;
	z-index: 0;
	border-radius: 28px;
}
.npf-card::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5));
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .85);
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, .045),
		inset 0 1px 0 rgba(255, 255, 255, .95),
		0 24px 60px -30px rgba(38, 30, 20, .32);
}

.npf-spot {
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
	background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--nph-primary) 11%, transparent), transparent 70%);
}

@property --npf-orbit {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}
.npf-ring::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: inherit;
	background: conic-gradient(
		from var(--npf-orbit),
		transparent 0deg,
		transparent 250deg,
		color-mix(in srgb, var(--nph-primary) 35%, transparent) 290deg,
		var(--nph-primary) 330deg,
		var(--nph-gold-2) 350deg,
		transparent 360deg
	);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	filter: drop-shadow(0 0 4px color-mix(in srgb, var(--nph-primary) 60%, transparent));
	pointer-events: none;
	animation: npf-orbit 8s linear infinite;
}
/* Two comets chasing each other on the big card. */
.npf-ring--twin::after {
	background: conic-gradient(
		from var(--npf-orbit),
		transparent 0deg,
		transparent 70deg,
		color-mix(in srgb, var(--nph-primary) 35%, transparent) 110deg,
		var(--nph-primary) 150deg,
		var(--nph-gold-2) 170deg,
		transparent 180deg,
		transparent 250deg,
		color-mix(in srgb, var(--nph-primary) 35%, transparent) 290deg,
		var(--nph-primary) 330deg,
		var(--nph-gold-2) 350deg,
		transparent 360deg
	);
	animation-duration: 14s;
}
@keyframes npf-orbit { to { --npf-orbit: 360deg; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */

.npf-js .npf-card,
.npf-js .npf-bottom {
	transform: translateY(36px);
	transition: transform 1s var(--npf-ease);
}
.npf-js [data-r] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s ease, transform .9s var(--npf-ease);
	transition-delay: calc(var(--d, 0) * 60ms + 120ms);
}
.npf-js .is-in,
.npf-js .is-in [data-r] { transform: none; }
.npf-js .is-in [data-r] { opacity: 1; }

/* ---------- 1. Consultation banner ---------- */

.npf-cta {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 26px 30px;
	color: var(--npf-ink);
}
.npf-cta::before {
	background:
		radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--nph-primary) 18%, transparent), transparent 55%),
		var(--nph-grey);
	border-color: rgba(255, 255, 255, .85);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line), 0 20px 44px -26px rgba(38, 30, 20, .4);
}
/* Inside the main card the banner is a strip, not a floating card. */
.npf-cta--in { margin: 26px 0 8px; border-radius: 22px; }
/* Star dust + sparkles drifting in and out inside the charcoal banner. */
.npf-cta-stars {
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}
.npf-cta-stars::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(31, 31, 34, .14) 1px, transparent 1.5px);
	background-size: 18px 18px;
	-webkit-mask: linear-gradient(90deg, transparent, #000 70%);
	mask: linear-gradient(90deg, transparent, #000 70%);
	opacity: .45;
}
.npf-cta-stars i {
	position: absolute;
	top: var(--y);
	left: var(--x);
	width: var(--s);
	height: var(--s);
	margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
	background: var(--nph-primary);
	clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%);
	filter: drop-shadow(0 0 8px color-mix(in srgb, var(--nph-primary) 70%, transparent));
	opacity: 0;
	animation: npf-twinkle var(--dur, 4s) ease-in-out infinite;
	animation-delay: var(--t, 0s);
}
.npf-cta-stars i:nth-child(1) { --x: 4%; --y: 22%; --s: 18px; --t: 0s; --dur: 4.2s; }
.npf-cta-stars i:nth-child(2) { --x: 12%; --y: 72%; --s: 11px; --t: .9s; --dur: 3.4s; }
.npf-cta-stars i:nth-child(3) { --x: 21%; --y: 34%; --s: 9px; --t: 2.1s; --dur: 5s; }
.npf-cta-stars i:nth-child(4) { --x: 30%; --y: 84%; --s: 14px; --t: 1.4s; --dur: 4.6s; }
.npf-cta-stars i:nth-child(5) { --x: 42%; --y: 16%; --s: 10px; --t: 3s; --dur: 3.8s; }
.npf-cta-stars i:nth-child(6) { --x: 53%; --y: 64%; --s: 16px; --t: .4s; --dur: 5.2s; }
.npf-cta-stars i:nth-child(7) { --x: 64%; --y: 26%; --s: 9px; --t: 2.6s; --dur: 4s; }
.npf-cta-stars i:nth-child(8) { --x: 75%; --y: 78%; --s: 13px; --t: 1.7s; --dur: 4.8s; }
.npf-cta-stars i:nth-child(9) { --x: 86%; --y: 36%; --s: 17px; --t: 3.4s; --dur: 3.6s; }
.npf-cta-stars i:nth-child(10) { --x: 94%; --y: 68%; --s: 10px; --t: 1.1s; --dur: 5.4s; }
@keyframes npf-twinkle {
	0%, 100% { opacity: 0; transform: scale(.3) rotate(-35deg); }
	45%, 55% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.npf-orb {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--nph-primary) 85%, transparent);
}
.npf-orb::before,
.npf-orb::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--nph-primary) 55%, transparent);
	animation: npf-ripple 3s var(--npf-ease) infinite;
}
.npf-orb::after { animation-delay: 1.5s; }
.npf-orb svg { width: 30px; height: 30px; animation: npf-rocket 3.2s ease-in-out infinite; }
@keyframes npf-ripple {
	from { transform: scale(1); opacity: .9; }
	to { transform: scale(1.9); opacity: 0; }
}
@keyframes npf-rocket {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(3px, -4px); }
}

.npf-cta-text { flex: 1; min-width: 0; }
.npf .npf-cta-title { font-size: 21px; font-weight: 800; line-height: 1.6; color: var(--npf-ink); }
.npf-cta-desc { margin-top: 4px; font-size: 14.5px; line-height: 1.9; color: var(--npf-ink-2); max-width: 640px; text-align: justify; }
.npf-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

.npf-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 22px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	transition: transform .35s var(--npf-ease), box-shadow .35s ease, background .35s ease;
}
.npf-btn svg { width: 19px; height: 19px; }
.npf .npf-btn--light { background: var(--nph-gold-grad); color: var(--nph-on-gold); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--nph-primary) 85%, transparent); }
.npf-btn--light svg { transition: transform .35s var(--npf-ease); }
.npf-btn--light::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--nph-primary) 18%, transparent) 50%, transparent 70%);
	transform: translateX(120%);
	transition: transform .8s var(--npf-ease);
}
.npf-btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--nph-primary) 90%, transparent); }
.npf-btn--light:hover svg { transform: translateX(-5px); }
.npf-btn--light:hover::after { transform: translateX(-120%); }
.npf .npf-btn--ghost { color: var(--npf-ink); background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line); }
.npf-btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px color-mix(in srgb, var(--nph-primary) 45%, transparent); }

/* ---------- 2. Highlights ---------- */

.npf-feats {
	display: grid;
	grid-template-columns: repeat(var(--npf-n, 4), 1fr);
	gap: 14px;
}
/* Each highlight is its own small glass tile, so the row reads as four cards, not one bar. */
.npf-feats::before { display: none; }
.npf-feat {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .55));
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .85);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .045), inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 40px -26px rgba(38, 30, 20, .35);
	transition: transform .4s var(--npf-ease), box-shadow .3s ease;
}
.npf-feat:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .95), 0 22px 44px -24px color-mix(in srgb, var(--nph-primary) 55%, transparent);
}
.npf-feat-ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 18px;
	color: var(--npf-teal-ink);
	background: linear-gradient(145deg, #fff, var(--npf-soft));
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--nph-primary) 18%, transparent),
		0 10px 24px -14px color-mix(in srgb, var(--nph-primary) 70%, transparent);
	overflow: hidden;
	transition: transform .45s var(--npf-ease), color .3s ease, background .3s ease;
	animation: npf-bob 5s ease-in-out infinite;
	animation-delay: calc(var(--d, 0) * -1.2s);
}
.npf-feat-ico svg { width: 27px; height: 27px; position: relative; }
/* Light sweep across each tile, staggered. */
.npf-feat-ico::after {
	content: "";
	position: absolute;
	inset: -20%;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%);
	transform: translateX(110%);
	animation: npf-tile-sweep 6s ease-in-out infinite;
	animation-delay: calc(var(--d, 0) * .7s + 1s);
}
@keyframes npf-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}
@keyframes npf-tile-sweep {
	0%, 70% { transform: translateX(110%); }
	100% { transform: translateX(-110%); }
}
.npf-feat:hover .npf-feat-ico {
	color: #fff;
	background: linear-gradient(145deg, var(--npf-deep), var(--nph-primary-2));
	transform: translateY(-3px) rotate(-6deg);
	animation-play-state: paused;
}
/* Icons draw themselves in when revealed. */
.npf-js .npf-feat-ico svg > * {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 1.8s ease;
	transition-delay: calc(var(--d, 0) * 150ms + 350ms);
}
.npf-js .is-in .npf-feat-ico svg > * { stroke-dashoffset: 0; }

.npf-feat-text { display: grid; min-width: 0; line-height: 1.6; }
.npf-feat-text strong { font-size: 15.5px; font-weight: 800; color: var(--npf-ink); }
.npf-feat-text small { font-size: 13px; color: var(--npf-muted); }

/* ---------- 3. Main card ---------- */

.npf-main { padding: 36px 36px 10px; }

.npf-grid {
	display: grid;
	grid-template-columns: minmax(340px, 2.4fr) repeat(var(--npf-cols, 3), minmax(130px, 1fr)) minmax(200px, 1fr);
	gap: 34px;
	align-items: start;
}

.npf-logo { display: inline-flex; align-items: center; max-width: 100%; }
/*
 * Any uploaded logo, any aspect ratio: the height is fixed to --npf-logo-h, the width follows the
 * ratio, max-width caps it, and object-fit: contain letterboxes an extreme ratio instead of
 * squashing it. So a 1200x200 or a 300x900 file both land inside the box, undistorted.
 * !important beats Elementor's own `.elementor img` rule, which loads later with equal specificity.
 */
body .npf .npf-logo img {
	display: block;
	width: auto !important;
	height: var(--npf-logo-h, 44px) !important;
	max-height: var(--npf-logo-h, 44px) !important;
	max-width: min(100%, 260px) !important;
	object-fit: contain !important;
	object-position: right center;
}
.npf-logo-text {
	font-size: 26px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--npf-deep), var(--nph-primary-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Logo and slogan sit on one line; the slogan drops below only when the column is too narrow. */
.npf-brand-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 14px;
	row-gap: 10px;
}
.npf-brand-row .npf-tag { margin-top: 0; flex: 1 1 200px; min-width: 0; }

/* Slogan */
.npf-tag {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.7;
	color: var(--npf-teal-ink);
}
.npf-tag i {
	position: relative;
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nph-primary);
}
.npf-tag i::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--nph-primary);
	animation: npf-ping 2s ease-out infinite;
}
@keyframes npf-ping {
	from { transform: scale(1); opacity: .7; }
	to { transform: scale(2.8); opacity: 0; }
}

/* Mission (first paragraph) + the rest of the about text, clamped. */
.npf-mission {
	margin-top: 12px !important;
	padding: 12px 14px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 2;
	text-align: justify;
	color: var(--npf-ink);
	background: linear-gradient(135deg, var(--npf-soft), rgba(255, 255, 255, .6));
	border-right: 3px solid var(--nph-primary);
}
.npf-mission strong { font-weight: 800; color: var(--npf-teal-ink); }
.npf-about {
	margin-top: 14px;
	position: relative;
	text-align: justify;
	max-height: calc(14px * 2.05 * 4);
	overflow: hidden;
	font-size: 14px;
	line-height: 2.05;
	color: var(--npf-ink-2);
	transition: max-height .6s var(--npf-ease);
}
.npf-about p + p { margin-top: 8px; }
.npf-about.is-clamped:not(.is-open) {
	-webkit-mask-image: linear-gradient(#000 82%, rgba(0, 0, 0, .35));
	mask-image: linear-gradient(#000 82%, rgba(0, 0, 0, .35));
}
.npf-about.is-open { max-height: 900px; }
body .npf button.npf-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--npf-teal-ink);
}
body .npf button.npf-more[hidden] { display: none; }
.npf-more svg { width: 16px; height: 16px; transition: transform .3s var(--npf-ease); }
.npf-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Social networks: last grid column (the left edge in RTL). */
.npf-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.npf-social {
	--tx: 0px;
	--ty: 0px;
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	color: var(--npf-ink-2);
	background: rgba(255, 255, 255, .75);
	box-shadow: inset 0 0 0 1px var(--npf-line), 0 6px 16px -10px rgba(38, 30, 20, .35);
	transform: translate(var(--tx), var(--ty));
	transition: transform .3s var(--npf-ease), color .3s ease, background .3s ease, box-shadow .3s ease;
}
.npf-social svg { width: 20px; height: 20px; }
.npf-social:hover {
	color: #fff;
	background: var(--npf-c);
	box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--npf-c) 70%, transparent);
}

/* Admin-only placeholders for empty sections */
a.npf-social-ph {
	display: block;
	padding: 12px 14px;
	border-radius: 18px;
	border: 1.5px dashed color-mix(in srgb, var(--nph-primary) 40%, transparent);
	transition: border-color .3s ease, background .3s ease;
}
a.npf-social-ph:hover { border-color: var(--nph-primary); background: rgba(255, 255, 255, .6); }
.npf-placeholder small,
.npf-hint { display: block; margin-top: 8px !important; font-size: 12px; line-height: 1.9; color: var(--npf-muted); }
.npf-social.npf-social--ghost { color: var(--npf-muted); background: transparent; box-shadow: inset 0 0 0 1.5px var(--npf-line); }
.npf-badge.npf-badge--ghost {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #8a6a2c;
	background: rgba(255, 255, 255, .45);
	box-shadow: none;
	border: 1.5px dashed color-mix(in srgb, var(--nph-primary) 40%, transparent);
}
.npf-badge.npf-badge--ghost::after { display: none; }
.npf-badge--ghost svg { width: 28px; height: 28px; }
.npf-badge--ghost small { font-size: 12px; font-weight: 700; }
a.npf-badges.npf-placeholder:hover .npf-badge--ghost { border-color: var(--nph-primary); background: #fff; }

.npf .npf-h {
	position: relative;
	margin: 6px 0 16px;
	padding-bottom: 10px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--npf-ink);
}
.npf-h::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--nph-primary-2), var(--nph-primary));
	transition: width .6s var(--npf-ease);
}
.npf-col:hover .npf-h::after,
.npf-social-col:hover .npf-h::after { width: 54px; }

.npf-links { display: grid; gap: 2px; }
.npf-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 6px 0;
	font-size: 14.5px;
	color: var(--npf-ink-2);
	transition: color .3s ease;
}
.npf-link::before {
	content: "";
	width: 0;
	height: 6px;
	margin-left: 0;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--nph-primary-2), var(--nph-primary));
	transition: width .35s var(--npf-ease), margin .35s var(--npf-ease);
}
.npf-link span { position: relative; }
.npf-link span::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s var(--npf-ease);
}
.npf-link:hover { color: var(--npf-teal-ink); }
.npf-link:hover::before { width: 14px; margin-left: 8px; }
.npf-link:hover span::after { transform: scaleX(1); transform-origin: right; }
.npf-col--hint p { font-size: 13px; line-height: 2; color: var(--npf-muted); }
.npf .npf-col--hint .npf-link { margin-top: 6px; font-weight: 700; color: var(--npf-teal-ink); }

/* App card (right) + trust badges in one row (left). */
.npf-app {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 18px;
	padding: 16px 18px;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--npf-soft), rgba(255, 255, 255, .6));
	box-shadow: inset 0 0 0 1px var(--npf-line);
}
.npf-app-ico {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 15px;
	color: #fff;
	background: linear-gradient(135deg, var(--npf-deep), var(--nph-primary-2));
	box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--nph-primary) 70%, transparent);
}
.npf-app-ico svg { width: 22px; height: 22px; }
.npf-app-text { flex: 1 1 190px; min-width: 0; }
.npf .npf-app-title { font-size: 16px; font-weight: 800; line-height: 1.6; color: var(--npf-ink); }
.npf-app-desc { margin-top: 2px; font-size: 13.5px; line-height: 1.9; color: var(--npf-muted); }
.npf-app-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Store buttons: same tile material as the trust badges. */
.npf-store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px 9px 10px;
	border-radius: 16px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--npf-ink);
	background: rgba(255, 255, 255, .85);
	box-shadow: inset 0 0 0 1px var(--npf-line), 0 12px 26px -18px rgba(38, 30, 20, .45);
	transition: transform .4s var(--npf-ease), box-shadow .4s ease, color .3s ease;
}
.npf-store:hover {
	color: var(--npf-teal-ink);
	transform: translateY(-3px);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), 0 18px 34px -16px color-mix(in srgb, var(--nph-primary) 55%, transparent);
}
.npf-store-ico {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 11px;
	color: var(--npf-teal-ink);
	background: var(--npf-soft);
}
.npf-store-ico svg { width: 18px; height: 18px; }
/* Uploaded store icons: any file size lands inside the 32px tile, undistorted. */
body .npf .npf-store-ico img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 22px !important;
	max-height: 22px !important;
	object-fit: contain !important;
}
.npf-store--ghost {
	color: #8a6a2c;
	background: rgba(255, 255, 255, .45);
	box-shadow: none;
	border: 1.5px dashed color-mix(in srgb, var(--nph-primary) 40%, transparent);
}
.npf-store--ghost svg { width: 18px; height: 18px; }
a.npf-app-links.npf-placeholder:hover .npf-store--ghost { border-color: var(--nph-primary); background: #fff; }

/* About text (right) + trust badges in one row (left), like the reference. */
.npf-lower {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	margin-top: 30px;
	padding-top: 26px;
}
.npf-lower::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--npf-line) 15%, var(--npf-line) 85%, transparent);
}
.npf-lower--badges { grid-template-columns: minmax(0, 1fr); justify-items: end; }
.npf-badges { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
.npf-badges .npf-badge { width: 104px; flex-shrink: 0; }
.npf-badge {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	padding: 12px;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, .85);
	box-shadow: inset 0 0 0 1px var(--npf-line), 0 12px 26px -18px rgba(38, 30, 20, .45);
	transition: transform .45s var(--npf-ease), box-shadow .45s ease, border-color .3s ease, background .3s ease;
}
.npf-badge > * { max-width: 100%; }
body .npf .npf-badge img { display: block; max-width: 100% !important; max-height: 84px; width: auto; height: auto; }
.npf-badge::after {
	content: "";
	position: absolute;
	inset: -30%;
	pointer-events: none;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%);
	transform: translateX(120%);
	animation: npf-tile-sweep 7s ease-in-out infinite;
	animation-delay: calc(var(--d, 0) * .9s + 2s);
}
.npf-badge:hover {
	transform: translateY(-4px);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), 0 18px 34px -16px color-mix(in srgb, var(--nph-primary) 55%, transparent);
}

/* Contact row with a light travelling along the divider. */
.npf-contact {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--npf-n, 4), minmax(0, auto));
	justify-content: space-between;
	gap: 18px 28px;
	margin-top: 30px;
	padding: 22px 0 20px;
}
.npf-divider {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	overflow: hidden;
	background: linear-gradient(90deg, transparent, var(--npf-line) 15%, var(--npf-line) 85%, transparent);
}
.npf-divider::after {
	content: "";
	position: absolute;
	top: 0;
	width: 160px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--nph-primary), transparent);
	box-shadow: 0 0 8px var(--nph-primary);
	animation: npf-comet 5s ease-in-out infinite;
}
@keyframes npf-comet {
	from { right: -160px; }
	to { right: 100%; }
}
.npf-ci { display: flex; align-items: center; gap: 12px; min-width: 0; }
.npf-ci-ico {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 14px;
	color: var(--npf-teal-ink);
	background: var(--npf-soft);
	transition: transform .4s var(--npf-ease), background .3s ease, color .3s ease;
}
.npf-ci-ico svg { width: 20px; height: 20px; }
.npf-ci:hover .npf-ci-ico { color: #fff; background: var(--npf-teal-ink); transform: rotate(-8deg) scale(1.05); }
.npf-ci-text { display: grid; min-width: 0; line-height: 1.6; }
.npf-ci-text small { font-size: 12px; color: var(--npf-muted); }
.npf-ci-text a, .npf-ci-text span { font-size: 14.5px; font-weight: 700; color: var(--npf-ink); }
.npf-ci-text a[dir="ltr"] { text-align: right; unicode-bidi: plaintext; }
.npf-ci-text a:hover { color: var(--npf-teal-ink); }

/* ---------- 4. Bottom bar ---------- */

.npf-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 8px 28px;
}
.npf-copy { font-size: 13.5px; color: var(--npf-muted); }

/* Back to top: rounded square; scroll progress fills its frame and a small light keeps circling it. */
body .npf button.npf-top {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 17px;
	color: var(--npf-teal-ink);
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 14px 28px -16px rgba(38, 30, 20, .55), inset 0 0 0 1px var(--npf-line);
	transition: transform .4s var(--npf-ease), color .3s ease, background .3s ease, box-shadow .3s ease;
}
.npf-top svg { position: relative; width: 20px; height: 20px; transform: rotate(90deg); }
.npf-top-ring,
.npf-top-glow {
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: inherit;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}
.npf-top-ring { background: conic-gradient(color-mix(in srgb, var(--nph-primary) 55%, transparent) calc(var(--p, 0) * 360deg), transparent 0); }
.npf-top-glow {
	background: conic-gradient(from var(--npf-orbit), transparent 0deg, transparent 270deg, var(--nph-primary) 340deg, var(--nph-gold-2) 355deg, transparent 360deg);
	filter: drop-shadow(0 0 3px color-mix(in srgb, var(--nph-primary) 70%, transparent));
	animation: npf-orbit 3.5s linear infinite;
}
body .npf button.npf-top:hover {
	color: #fff;
	background: linear-gradient(135deg, var(--npf-deep), var(--nph-primary-2));
	box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--nph-primary) 70%, transparent);
	transform: translateY(-3px);
}
.npf-top:hover svg { animation: npf-up .9s ease-in-out infinite; }
@keyframes npf-up {
	0%, 100% { transform: rotate(90deg) translateX(0); }
	50% { transform: rotate(90deg) translateX(4px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1179px) {
	.npf-grid { grid-template-columns: repeat(var(--npf-cols, 3), minmax(0, 1fr)); gap: 28px; }
	.npf-brand, .npf-social-col { grid-column: 1 / -1; }
	.npf-lower { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.npf-lower--badges { justify-items: stretch; }
	.npf-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
	.npf { padding-top: 48px; }
	.npf-cta { flex-wrap: wrap; padding: 24px; }
	.npf-cta--in { margin: 20px 0 6px; }
	.npf-cta-text { flex-basis: calc(100% - 90px); }
	.npf-cta-actions { width: 100%; }
	.npf-feats { grid-template-columns: repeat(2, 1fr); }
	.npf-feat { padding: 14px; }
	.npf-feat:nth-child(odd)::before { display: none; }
	.npf-main { padding: 28px 24px 8px; }
}

@media (max-width: 639px) {
	.npf { padding: 36px 12px 0; }
	.npf-wrap { gap: 14px; }
	.npf-card { border-radius: 24px; }
	.npf-cta { gap: 16px; padding: 22px 18px; }
	.npf-orb { width: 52px; height: 52px; }
	.npf-orb svg { width: 24px; height: 24px; }
	.npf-cta-text { flex-basis: calc(100% - 70px); }
	.npf .npf-cta-title { font-size: 18px; }
	.npf-cta-desc { font-size: 13.5px; }
	.npf-cta-actions { display: grid; grid-template-columns: 1fr; }
	.npf-btn { justify-content: center; }
	.npf-feats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.npf-feat { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 8px; border-radius: 18px; }
	.npf-feat-ico { width: 50px; height: 50px; border-radius: 16px; }
	.npf-feat-text strong { font-size: 14px; }
	.npf-feat-text small { font-size: 12px; }
	.npf-main { padding: 24px 18px 6px; }
	.npf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }

	/* Phones: lighter weights and shorter type so the footer reads calm, not heavy. */
	.npf-brand-row { column-gap: 10px; }
	.npf-tag { font-size: 13px; font-weight: 700; line-height: 1.75; gap: 8px; }
	.npf-tag i { width: 6px; height: 6px; }
	.npf .npf-h { margin-bottom: 12px; padding-bottom: 8px; font-size: 14.5px; font-weight: 700; }
	.npf-h::after { width: 22px; height: 2px; }
	.npf-link { padding: 5px 0; font-size: 13.5px; }
	.npf-mission { padding: 10px 12px; font-size: 13px; line-height: 1.95; }
	.npf-about { font-size: 13px; line-height: 1.95; }
	.npf-ci { gap: 10px; }
	.npf-ci-ico { width: 38px; height: 38px; border-radius: 12px; }
	.npf-ci-ico svg { width: 18px; height: 18px; }
	.npf-ci-text { line-height: 1.75; }
	.npf-ci-text small { font-size: 11.5px; }
	.npf-ci-text a, .npf-ci-text span { font-size: 13px; font-weight: 600; }
	.npf-app { gap: 12px 14px; padding: 14px; }
	.npf-app-ico { width: 40px; height: 40px; border-radius: 13px; }
	.npf-app-ico svg { width: 20px; height: 20px; }
	.npf .npf-app-title { font-size: 15px; }
	.npf-app-desc { font-size: 12.5px; }
	.npf-app-links { width: 100%; }
	.npf-store { flex: 1 1 130px; justify-content: center; font-size: 13px; }
	.npf-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.npf-badges .npf-badge { width: auto; padding: 6px; border-radius: 14px; }
	.npf-contact { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
	.npf-bottom { flex-direction: column-reverse; text-align: center; gap: 12px; }
	.npf-copy { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.npf *, .npf *::before, .npf *::after { animation: none !important; }
	.npf-cta-stars i { opacity: .6; transform: none; }
	.npf-js .npf-card, .npf-js .npf-bottom, .npf-js [data-r], .npf-js .npf-feat-ico svg > * { transition: none !important; }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.npf-card:not(.npf-cta)::before { background: rgba(255, 255, 255, .96); }
}
@media (max-width: 639px) {
	.npf-col--hint { grid-column: 1 / -1; }
}

/* Uploaded icons: same masking trick as the header (see header.css). */
.npf .nph-ico-img {
	display: block;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--nph-ico) center / contain no-repeat;
	mask: var(--nph-ico) center / contain no-repeat;
}
.npf-feat-ico .nph-ico-img { width: 27px; height: 27px; }
.npf-ci-ico .nph-ico-img { width: 20px; height: 20px; }
.npf-orb .nph-ico-img { width: 30px; height: 30px; }
@media (max-width: 639.98px) {
	.npf-ci-ico .nph-ico-img { width: 18px; height: 18px; }
	.npf-orb .nph-ico-img { width: 24px; height: 24px; }
}
