/* Shared components: buttons, premium service cards. Loaded on every page. */
.bn-btn-navy { background: var(--bn-primary); color: #fff; }
.bn-btn-navy:hover { background: var(--bn-primary-dark); color: #fff; }
.bn-btn-outline-navy { border-color: var(--bn-primary); color: var(--bn-primary); background: transparent; }
.bn-btn-outline-navy:hover { background: var(--bn-primary); color: #fff; }
.bn-btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.bn-btn-lg { padding: 15px 24px; font-size: 16px; }
.bn-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bn-primary); }
.bn-link-arrow:hover { color: var(--bn-brand); }
.bn-spark { position: absolute; background: var(--bn-brand); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
/* Service cards ---------------------------------------------------------- */
.bn-svcs-clean { background: var(--bn-soft); }
.bn-svcs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.bn-svcs-head .bn-h2 { margin: 0; max-width: 620px; }
.bn-sc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.bn-sc { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--bn-line); transition: transform .25s, box-shadow .25s; }
.bn-sc:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(28, 33, 86, .14); }
.bn-sc-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #fff1e8, #ffe3d1); color: var(--bn-brand); }
.bn-sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bn-sc:hover .bn-sc-media img { transform: scale(1.06); }
.bn-sc-go {
	position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
	background: var(--bn-primary); color: #fff; transform: translateY(8px); opacity: 0; transition: .25s;
}
.bn-sc:hover .bn-sc-go { transform: none; opacity: 1; }
.bn-sc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.bn-sc-body h3 { font-size: 18px; margin: 0; }
.bn-sc-body h3 a { color: var(--bn-ink); }
.bn-sc-body h3 a:hover { color: var(--bn-brand); }
.bn-sc-body p { margin: 0; font-size: 14px; color: var(--bn-muted); }
.bn-sc-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--bn-line); }
.bn-sc-foot > span { font-weight: 800; color: var(--bn-ink); }
.bn-sc-foot small { font-weight: 500; color: var(--bn-muted); font-size: 12px; }


.bn-sc[hidden] { display: none; }
.bn-sc-cat {
	position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--bn-primary);
	backdrop-filter: blur(6px);
}
@media (max-width: 1100px) { .bn-sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bn-sc-grid { grid-template-columns: 1fr; } }

/* Uploaded icon pictures sit in the same boxes as the line icons. */
.bn-icon-img { display: inline-block; object-fit: contain; border-radius: 6px; vertical-align: middle; }
/* In the big icon boxes (homepage tiles, services-page category strip) a picture fills the box. */
.bn-jx-tile-box .bn-icon-img, .bn-hub-cat-ic .bn-icon-img, .bn-tile-box .bn-icon-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bn-jx-tile-box:has(.bn-icon-img), .bn-hub-cat-ic:has(.bn-icon-img), .bn-tile-box:has(.bn-icon-img) { overflow: hidden; padding: 0; }
