function Trust() { const D = (window.SITE && window.SITE.trust) || {}; const cards = D.cards || []; const awards = D.awards || []; return (
{D.eyebrow}

{D.title}
{D.titleAccent}

{D.subtitle}

{cards.map((c, i) => ( ))}
{D.awardsEyebrow}
{D.awardsTitle}
{awards.map(a => (
{a.count}
{a.name}
Ășltimo: {a.year}
))}

{D.footnote}

); } function TrustCard({ icon, tag, title, metric, metricLabel, desc, link, stars, color }) { const colorMap = { primary: { bg: 'var(--primary-50)', fg: 'var(--primary-700)' }, amber: { bg: 'color-mix(in oklab, #F59E0B 15%, var(--surface))', fg: '#92400E' }, green: { bg: 'var(--tag-blog-bg)', fg: 'var(--tag-blog-fg)' }, navy: { bg: 'color-mix(in oklab, var(--ink) 8%, var(--surface))', fg: 'var(--ink)' }, }; const c = colorMap[color] || colorMap.primary; const Ico = Icon[icon] || Icon.Shield; return (
{tag}
{title}
{metric}
{stars != null && }
{metricLabel}

{desc}

{link && ( {link.label} )}
); } function Stars({ rating }) { return (
{[1,2,3,4,5].map(i => { const fill = Math.max(0, Math.min(1, rating - (i - 1))); return ( ); })}
); } window.Trust = Trust;