/*
Theme Name: Nuova Bulleri Brevetti
Theme URI: https://nuovabulleri.com/
Description: Premium industrial theme for Nuova Bulleri Brevetti, Italian CNC machining centers. Bilingual (IT/EN) page model, machine catalogue (/prodotto/, /en/product/), block-based editable sections, no plugin dependencies.
Author: Nuova Bulleri Brevetti website project
Version: 2.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuovabulleri
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--nb-navy-950: #071226;
	--nb-navy-900: #0a1730;
	--nb-navy-800: #0f2245;
	--nb-navy-700: #173264;
	--nb-brand: #00346f;            /* logo blue */
	--nb-red: #d4211b;              /* accent, as in the TC catalogue artwork */
	--nb-red-dark: #b01a15;
	--nb-ink: #111a2c;
	--nb-text: #3a4456;
	--nb-muted: #626b7d;
	--nb-line: #e1e5ec;
	--nb-line-dark: rgba(255, 255, 255, .16);
	--nb-soft: #f3f5f8;
	--nb-white: #fff;

	--nb-font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--nb-container: 1200px;
	--nb-gutter: clamp(20px, 4vw, 40px);
	--nb-section: clamp(64px, 8vw, 104px);
	--nb-radius: 3px;
	--nb-header-h: 76px;
	--nb-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--nb-white);
	color: var(--nb-text);
	font: 400 16px/1.65 var(--nb-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe, svg { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
a { color: var(--nb-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--nb-red); }
:focus-visible { outline: 2px solid var(--nb-red); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--nb-ink); font-family: var(--nb-font); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 700; color: var(--nb-ink); }
hr { border: 0; height: 1px; background: var(--nb-line); margin: 2em 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--nb-line); text-align: left; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 12px 18px;
	background: var(--nb-white); color: var(--nb-navy-900); box-shadow: 0 0 0 2px var(--nb-red);
}

.nb-container,
.nb-section > .nb-container { width: 100%; max-width: calc(var(--nb-container) + 2 * var(--nb-gutter)); margin: 0 auto; padding: 0 var(--nb-gutter); }
.nb-narrow { max-width: calc(820px + 2 * var(--nb-gutter)); }

/* ==========================================================================
   3. Typographic components
   ========================================================================== */
.nb-eyebrow {
	position: relative;
	margin: 0 0 .65rem;
	padding-top: 22px;
	color: var(--nb-ink);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
}
.nb-eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 3px;
	background: var(--nb-red);
}
.nb-on-dark .nb-eyebrow, .nb-on-dark h1, .nb-on-dark h2, .nb-on-dark h3, .nb-on-dark strong { color: var(--nb-white); }
.nb-on-dark { color: rgba(255, 255, 255, .84); }
.nb-on-dark a:not(.wp-block-button__link):not(.nb-btn) { color: var(--nb-white); }
.nb-lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; }
.nb-center { text-align: center; }
.nb-center .nb-eyebrow::before, .nb-title-center::before { left: 50%; transform: translateX(-50%); }
.nb-title-center { position: relative; padding-top: 26px; text-align: center; }
.nb-title-center::before { content: ""; position: absolute; top: 0; width: 36px; height: 3px; background: var(--nb-red); }
.nb-light { font-weight: 300; }

/* ==========================================================================
   4. Buttons (core/button block styles + theme .nb-btn)
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button__link,
.nb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--nb-radius);
	background: var(--nb-red);
	color: var(--nb-white);
	font: 600 .875rem/1.2 var(--nb-font);
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-button__link::after,
.nb-btn::after {
	content: "";
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s var(--nb-ease);
}
.wp-block-button__link:hover, .nb-btn:hover,
.wp-block-button__link:focus-visible, .nb-btn:focus-visible { background: var(--nb-red-dark); color: var(--nb-white); }
.wp-block-button__link:hover::after, .nb-btn:hover::after { transform: translateX(3px); }
.is-style-nb-outline .wp-block-button__link,
.nb-btn--outline { background: transparent; border-color: var(--nb-ink); color: var(--nb-ink); }
.is-style-nb-outline .wp-block-button__link:hover,
.nb-btn--outline:hover { background: var(--nb-ink); border-color: var(--nb-ink); color: var(--nb-white); }
.is-style-nb-outline-light .wp-block-button__link,
.nb-btn--light { background: transparent; border-color: rgba(255, 255, 255, .85); color: var(--nb-white); }
.is-style-nb-outline-light .wp-block-button__link:hover,
.nb-btn--light:hover { background: var(--nb-white); border-color: var(--nb-white); color: var(--nb-navy-900); }
.nb-btn--small { min-height: 38px; padding: 8px 16px; font-size: .8125rem; }
.nb-btn--plain { min-height: 0; padding: 0; background: none; border: 0; color: var(--nb-brand); }
.nb-btn--plain:hover { background: none; color: var(--nb-red); }
.nb-btn--download::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v9M4 7l4 4 4-4M2 14h12' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v9M4 7l4 4 4-4M2 14h12' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.nb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--nb-white);
	border-bottom: 1px solid var(--nb-line);
	transition: box-shadow .25s;
}
.nb-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 23, 48, .08); }
.admin-bar .nb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nb-header { top: 0; } }
.nb-header__inner { display: flex; align-items: center; gap: 32px; height: var(--nb-header-h); }
.nb-logo { flex: 0 0 auto; display: block; line-height: 0; }
.nb-logo img { width: 196px; height: auto; }
.nb-nav { flex: 1 1 auto; display: flex; justify-content: center; align-self: stretch; }
.nb-menu { display: flex; align-items: stretch; gap: clamp(14px, 2.4vw, 34px); margin: 0; padding: 0; list-style: none; }
.nb-menu > li { position: relative; display: flex; }
.nb-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	color: var(--nb-ink);
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.nb-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--nb-navy-900);
	transform: scaleX(0);
	transition: transform .25s var(--nb-ease);
}
.nb-menu > li > a:hover::after,
.nb-menu > li.current-menu-item > a::after,
.nb-menu > li.current_page_item > a::after,
.nb-menu > li.nb-current > a::after { transform: scaleX(1); }
.nb-menu > li.current-menu-item > a,
.nb-menu > li.current_page_item > a,
.nb-menu > li.nb-current > a { font-weight: 700; color: var(--nb-navy-900); }
.nb-menu .sub-menu { display: none; }

.nb-lang { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.nb-lang a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--nb-muted);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
}
.nb-lang a[aria-current="true"] { color: var(--nb-ink); }
.nb-lang a:hover { color: var(--nb-red); }
.nb-flag { width: 16px; height: 11px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

.nb-menu-toggle {
	display: none;
	margin-left: auto;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--nb-line);
	border-radius: var(--nb-radius);
	background: var(--nb-white);
	cursor: pointer;
}
.nb-menu-toggle__bars, .nb-menu-toggle__bars::before, .nb-menu-toggle__bars::after {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--nb-ink);
	position: relative;
	transition: transform .25s, background-color .25s;
}
.nb-menu-toggle__bars::before { position: absolute; top: -6px; }
.nb-menu-toggle__bars::after { position: absolute; top: 6px; }
.nb-menu-toggle[aria-expanded="true"] .nb-menu-toggle__bars { background: transparent; }
.nb-menu-toggle[aria-expanded="true"] .nb-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nb-menu-toggle[aria-expanded="true"] .nb-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nb-header__inner { gap: 16px; }
	.nb-menu-toggle { display: block; }
	.nb-nav {
		position: fixed;
		inset: var(--nb-header-h) 0 0 0;
		display: block;
		padding: 12px var(--nb-gutter) 32px;
		background: var(--nb-white);
		border-top: 1px solid var(--nb-line);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .25s, transform .25s, visibility 0s linear .25s;
	}
	.admin-bar .nb-nav { top: calc(var(--nb-header-h) + 46px); }
	.nb-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
	.nb-menu { flex-direction: column; gap: 0; }
	.nb-menu > li { border-bottom: 1px solid var(--nb-line); }
	.nb-menu > li > a { width: 100%; padding: 16px 0; font-size: 1.05rem; }
	.nb-menu > li > a::after { top: 14px; bottom: 14px; left: auto; right: 0; width: 3px; height: auto; transform: scaleY(0); }
	.nb-menu > li.current-menu-item > a::after, .nb-menu > li.current_page_item > a::after, .nb-menu > li.nb-current > a::after { transform: scaleY(1); }
	.nb-nav .nb-lang { margin-top: 24px; }
	.nb-nav .nb-lang a { font-size: .9rem; padding: 8px 0; }
	.nb-header__lang { display: none; }
	body.nb-nav-open { overflow: hidden; }
}
@media (min-width: 1081px) { .nb-nav .nb-lang { display: none; } }

/* ==========================================================================
   6. Sections and media helpers
   ========================================================================== */
.nb-section { position: relative; padding: var(--nb-section) 0; }
.nb-section--soft { background: var(--nb-soft); }
.nb-section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.nb-main > .wp-block-group, .entry-content > .wp-block-group { margin: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; height: auto; }

/* reveal on scroll (enabled by JS; respects reduced motion) */
.nb-js .nb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--nb-ease), transform .7s var(--nb-ease); }
.nb-js .nb-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nb-js .nb-reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   7. Home: hero
   ========================================================================== */
.nb-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(500px, 62vh, 600px);
	padding: clamp(72px, 9vw, 120px) 0;
	background: var(--nb-navy-900);
	color: rgba(255, 255, 255, .86);
	overflow: hidden;
	isolation: isolate;
}
.nb-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 64%;
	z-index: -2;
}
.nb-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: nb-hero-in 1.6s var(--nb-ease) both; }
.nb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--nb-navy-900) 0%, var(--nb-navy-900) 34%, rgba(10, 23, 48, .82) 48%, rgba(10, 23, 48, .2) 72%, rgba(10, 23, 48, .05) 100%),
		linear-gradient(0deg, rgba(10, 23, 48, .5) 0%, rgba(10, 23, 48, 0) 30%);
}
@keyframes nb-hero-in { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nb-hero__media img { animation: none; } }
.nb-hero__content { position: relative; width: 100%; }
.nb-hero__content > * { max-width: 600px; }
.nb-hero__title { margin: 0 0 1.4rem; color: var(--nb-white); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.025em; }
.nb-hero__title .nb-light { display: block; font-weight: 300; }
.nb-hero__lead { max-width: 520px; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65; }
.nb-badge-italy {
	position: absolute;
	right: var(--nb-gutter);
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--nb-white);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
}
.nb-badge-italy::before {
	content: "";
	width: 34px;
	height: 22px;
	background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.nb-hero .nb-container { position: static; }

/* ==========================================================================
   8. Split section (image + panel)
   ========================================================================== */
.nb-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--nb-soft); }
.nb-split__media { position: relative; min-height: 460px; overflow: hidden; }
.nb-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-split__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 6vw, 88px) clamp(28px, 6vw, 88px);
	overflow: hidden;
}
.nb-split__panel > * { position: relative; z-index: 1; max-width: 520px; }
.nb-split__panel h2 { font-size: clamp(1.65rem, 2.4vw, 2.2rem); }
.nb-split--watermark .nb-split__panel::after {
	content: "";
	position: absolute;
	right: clamp(20px, 3vw, 44px);
	bottom: clamp(28px, 4vw, 56px);
	width: 260px;
	height: 86px;
	background: url("assets/img/logo-nuova-bulleri-brevetti@2x.png") right bottom / contain no-repeat;
	filter: grayscale(1);
	opacity: .08;
	pointer-events: none;
}
.nb-split--reverse .nb-split__media { order: 2; }
.nb-split--white { background: var(--nb-white); }

/* ==========================================================================
   9. Feature row ("Why choose")
   ========================================================================== */
.nb-why h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.nb-features { display: grid; grid-template-columns: repeat(4, 1fr); }
.nb-feature { padding: 4px clamp(16px, 2.4vw, 32px) 8px; text-align: center; }
.nb-feature + .nb-feature { border-left: 1px solid var(--nb-line); }
.nb-feature::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin: 0 auto 22px;
	background: var(--nb-brand);
	-webkit-mask: var(--nb-icon) center / contain no-repeat;
	mask: var(--nb-icon) center / contain no-repeat;
}
.nb-feature h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.nb-feature p { margin: 0; color: var(--nb-muted); font-size: .95rem; line-height: 1.55; }
.nb-icon-diamond { --nb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 8h24l8 11-20 22L4 19z'/%3E%3Cpath d='M4 19h40M18 8l-4 11 10 22 10-22-4-11'/%3E%3C/svg%3E"); }
.nb-icon-target { --nb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='24' cy='24' r='15'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3Cpath d='M24 3v10M24 35v10M3 24h10M35 24h10'/%3E%3C/svg%3E"); }
.nb-icon-shield { --nb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M24 4 8 10v12c0 10 7 18 16 22 9-4 16-12 16-22V10z'/%3E%3Cpath d='m16 24 6 6 11-12'/%3E%3C/svg%3E"); }
.nb-icon-gear { --nb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='7'/%3E%3Cpath d='M20.5 4h7l1.2 5.6 4.3 2.5 5.4-1.8 3.5 6-4.2 3.8v5l4.2 3.8-3.5 6-5.4-1.8-4.3 2.5L27.5 44h-7l-1.2-5.6-4.3-2.5-5.4 1.8-3.5-6 4.2-3.8v-5l-4.2-3.8 3.5-6 5.4 1.8 4.3-2.5z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   10. Dark band (CNC machining centers, CTA)
   ========================================================================== */
.nb-band {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(440px, 52vh, 560px);
	padding: clamp(64px, 8vw, 104px) 0;
	background: var(--nb-navy-900);
	overflow: hidden;
	isolation: isolate;
}
.nb-band__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2; }
.nb-band__media img { width: 100%; height: 100%; object-fit: cover; }
.nb-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--nb-navy-900) 0%, var(--nb-navy-900) 40%, rgba(10, 23, 48, .75) 56%, rgba(15, 34, 69, .25) 78%, rgba(15, 34, 69, .1) 100%);
}
.nb-band__content { width: 100%; }
.nb-band__content > * { max-width: 560px; }
.nb-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.nb-band--cta { min-height: clamp(300px, 34vh, 380px); }
.nb-band--cta::before { background: linear-gradient(90deg, var(--nb-navy-900) 0%, var(--nb-navy-900) 38%, rgba(10, 23, 48, .7) 58%, rgba(23, 50, 100, .35) 100%); }
.nb-band--cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.nb-cat-links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.nb-cat-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid var(--nb-line-dark);
	border-radius: var(--nb-radius);
	color: var(--nb-white);
	font-size: .8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.nb-cat-links a:hover { border-color: var(--nb-white); background: rgba(255, 255, 255, .08); color: var(--nb-white); }
.nb-cat-links span { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   11. Applications (skewed material tiles)
   ========================================================================== */
.nb-apps__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.nb-apps__text h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.nb-tiles { display: flex; gap: 0; margin: 0; }
.nb-tile {
	position: relative;
	flex: 1 1 0;
	margin: 0 -14px 0 0 !important;
	aspect-ratio: 3 / 4.1;
	overflow: hidden;
	clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}
.nb-tile:last-child { margin-right: 0 !important; }
.nb-tile img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--nb-ease); }
.nb-tile:hover img { transform: scale(1.06); }
.nb-tile figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 36px 14px 14px;
	background: linear-gradient(0deg, rgba(7, 18, 38, .78), rgba(7, 18, 38, 0));
	color: var(--nb-white);
	font-size: .8125rem;
	font-weight: 600;
	text-align: center;
	letter-spacing: .02em;
}
.nb-credits { margin: 14px 0 0; color: var(--nb-muted); font-size: .72rem; }
.nb-credits a { color: inherit; }

/* ==========================================================================
   12. Page hero (inner pages)
   ========================================================================== */
.nb-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(340px, 42vh, 460px);
	padding: clamp(56px, 7vw, 96px) 0;
	background: var(--nb-navy-900);
	color: rgba(255, 255, 255, .84);
	overflow: hidden;
	isolation: isolate;
}
.nb-page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: -2; }
.nb-page-hero__media img { width: 100%; height: 100% !important; object-fit: cover; }
.nb-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--nb-navy-900) 0%, var(--nb-navy-900) 42%, rgba(10, 23, 48, .7) 60%, rgba(10, 23, 48, .15) 100%);
}
.nb-page-hero__content { width: 100%; }
.nb-page-hero__content > * { max-width: 620px; }
.nb-page-hero h1 { color: var(--nb-white); font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; }
.nb-page-hero .nb-eyebrow { color: rgba(255, 255, 255, .9); }
.nb-page-hero p:last-child { margin-bottom: 0; }
.nb-page-hero--plain { min-height: 0; padding: clamp(48px, 6vw, 72px) 0; }

.nb-breadcrumbs { padding: 14px 0; border-bottom: 1px solid var(--nb-line); background: var(--nb-white); font-size: .8125rem; color: var(--nb-muted); }
.nb-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nb-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bbc6; }
.nb-breadcrumbs a { color: var(--nb-muted); text-decoration: none; }
.nb-breadcrumbs a:hover { color: var(--nb-red); }
.nb-breadcrumbs [aria-current] { color: var(--nb-ink); font-weight: 600; }

/* ==========================================================================
   13. Cards: categories, machines, series, values
   ========================================================================== */
.nb-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.nb-section-head > div { max-width: 640px; }
.nb-section-head h2 { margin-bottom: 0; }
.nb-section-head p { margin: .7rem 0 0; color: var(--nb-muted); }

.nb-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.nb-cat-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--nb-navy-800); color: var(--nb-white); text-decoration: none; }
.nb-cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--nb-ease); }
.nb-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 18, 38, .92) 0%, rgba(7, 18, 38, .35) 45%, rgba(7, 18, 38, .05) 100%); }
.nb-cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.nb-cat-card__count { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .7); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nb-cat-card__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; color: var(--nb-white); font-size: 1.25rem; }
.nb-cat-card__title::after { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--nb-ease); }
.nb-cat-card:hover img, .nb-cat-card:focus-visible img { transform: scale(1.05); }
.nb-cat-card:hover .nb-cat-card__title::after { transform: translateX(4px); }
.nb-cat-card:hover { color: var(--nb-white); }

.nb-machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.nb-machines--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nb-machine-card { position: relative; display: flex; flex-direction: column; background: var(--nb-white); border: 1px solid var(--nb-line); transition: border-color .25s, box-shadow .25s, transform .25s var(--nb-ease); }
.nb-machine-card:hover { border-color: #c7cdd8; box-shadow: 0 14px 34px rgba(10, 23, 48, .08); transform: translateY(-2px); }
.nb-machine-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f7f8fa; }
.nb-machine-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .6s var(--nb-ease); }
.nb-machine-card:hover .nb-machine-card__media img { transform: scale(1.04); }
.nb-machine-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.nb-machine-card__cat { margin: 0 0 6px; color: var(--nb-red); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nb-machine-card__title { margin: 0 0 8px; font-size: 1.15rem; }
.nb-machine-card__title a { color: var(--nb-ink); text-decoration: none; }
.nb-machine-card__title a::after { content: ""; position: absolute; inset: 0; }
.nb-machine-card__text { margin: 0 0 16px; color: var(--nb-muted); font-size: .9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-machine-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--nb-brand); font-size: .8125rem; font-weight: 600; }
.nb-machine-card__more::after { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.nb-machine-card:hover .nb-machine-card__more { color: var(--nb-red); }
.nb-machine-card:hover .nb-machine-card__more::after { transform: translateX(3px); }
.nb-noimage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 18%; }
.nb-noimage img { opacity: .25; filter: grayscale(1); object-fit: contain; padding: 0 !important; }

.nb-group + .nb-group { margin-top: clamp(48px, 6vw, 72px); }
.nb-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--nb-line); }
.nb-group__head h3 { margin: 0; font-size: 1.35rem; }
.nb-group__head a { font-size: .875rem; font-weight: 600; text-decoration: none; }

.nb-series { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nb-series-card { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; padding: 30px; background: var(--nb-white); border: 1px solid var(--nb-line); }
.nb-series-card__cover { display: block; box-shadow: 0 10px 28px rgba(10, 23, 48, .18); }
.nb-series-card h3 { margin: 0 0 .25rem; font-size: 1.6rem; letter-spacing: -.02em; }
.nb-series-card h3 span { color: var(--nb-red); }
.nb-series-card__claim { margin: 0 0 .9rem; color: var(--nb-brand); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nb-series-card p { color: var(--nb-text); font-size: .95rem; }
.nb-series-card .nb-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 1rem; }

.nb-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--nb-line); }
.nb-value { padding: 32px clamp(18px, 2.6vw, 36px) 8px 0; }
.nb-value + .nb-value { padding-left: clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--nb-line); }
.nb-value__num { display: block; margin-bottom: 14px; color: var(--nb-red); font-size: .875rem; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.nb-value h3 { font-size: 1.2rem; }
.nb-value p { color: var(--nb-muted); font-size: .95rem; }

.nb-category-notes { margin-top: 48px; }

/* specs / technical callouts */
.nb-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--nb-line); }
.nb-spec { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--nb-line); }
.nb-spec:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--nb-line); }
.nb-spec__num { display: block; margin-bottom: 12px; color: var(--nb-red); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.nb-spec h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.nb-spec p { margin: 0; color: var(--nb-muted); font-size: .93rem; line-height: 1.55; }

/* alternating media rows */
.nb-rows > .nb-row + .nb-row { margin-top: clamp(48px, 7vw, 96px); }
.nb-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nb-row--reverse .nb-row__media { order: 2; }
.nb-row__media { position: relative; overflow: hidden; background: var(--nb-soft); }
.nb-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nb-row__media--product { background: #f7f8fa; border: 1px solid var(--nb-line); }
.nb-row__media--product img { object-fit: contain; padding: 4%; }
.nb-row__text h2, .nb-row__text h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); }
.nb-row__text ul { padding: 0; list-style: none; }
.nb-row__text li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1px solid var(--nb-line); font-size: .95rem; }
.nb-row__text li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--nb-red); }
.nb-machine-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; padding: 0; list-style: none; }
.nb-machine-links li { padding: 0 !important; border: 0 !important; }
.nb-machine-links li::before { display: none; }
.nb-machine-links a { display: inline-block; padding: 6px 11px; border: 1px solid var(--nb-line); border-radius: var(--nb-radius); color: var(--nb-ink); font-size: .8125rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.nb-machine-links a:hover { border-color: var(--nb-red); color: var(--nb-red); }

/* timeline */
.nb-timeline { position: relative; display: grid; grid-template-columns: repeat(var(--nb-steps, 5), 1fr); gap: 24px; margin: 0; padding: 34px 0 0; list-style: none; }
.nb-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--nb-line); }
.nb-timeline li { position: relative; }
.nb-timeline li::before { content: ""; position: absolute; top: -34px; left: 0; width: 15px; height: 15px; border: 3px solid var(--nb-white); border-radius: 50%; background: var(--nb-red); box-shadow: 0 0 0 1px var(--nb-red); }
.nb-timeline__year { display: block; margin-bottom: 8px; color: var(--nb-ink); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.nb-timeline h3 { margin: 0 0 .4rem; font-size: 1rem; }
.nb-timeline p { margin: 0; color: var(--nb-muted); font-size: .9rem; line-height: 1.55; }

/* ==========================================================================
   14. Category tabs, machine page
   ========================================================================== */
.nb-tabs { position: sticky; top: var(--nb-header-h); z-index: 20; background: var(--nb-white); border-bottom: 1px solid var(--nb-line); }
.admin-bar .nb-tabs { top: calc(var(--nb-header-h) + 32px); }
.nb-tabs ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.nb-tabs ul::-webkit-scrollbar { display: none; }
.nb-tabs a { position: relative; display: block; padding: 18px 14px; color: var(--nb-muted); font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.nb-tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--nb-red); transform: scaleX(0); transition: transform .25s var(--nb-ease); }
.nb-tabs a:hover { color: var(--nb-ink); }
.nb-tabs a[aria-current="page"] { color: var(--nb-ink); }
.nb-tabs a[aria-current="page"]::after { transform: scaleX(1); }
.nb-tabs span { margin-left: 6px; color: #9aa1ae; font-weight: 500; }

.nb-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.nb-gallery__main { position: relative; background: #f7f8fa; border: 1px solid var(--nb-line); }
.nb-gallery__slide { display: block; cursor: zoom-in; }
.nb-gallery__slide[hidden] { display: none; }
.nb-gallery__slide img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.nb-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.nb-gallery__thumbs button { display: block; width: 100%; padding: 0; border: 1px solid var(--nb-line); background: #f7f8fa; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.nb-gallery__thumbs button[aria-current="true"], .nb-gallery__thumbs button:hover { opacity: 1; border-color: var(--nb-red); }
.nb-gallery__thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.nb-product__info { position: sticky; top: calc(var(--nb-header-h) + 28px); }
.nb-product__info h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: .6rem; }
.nb-product__series { margin: 0 0 1.2rem; color: var(--nb-brand); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nb-product__short { color: var(--nb-text); }
.nb-facts { margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--nb-line); }
.nb-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--nb-line); font-size: .9rem; }
.nb-facts dt { color: var(--nb-muted); }
.nb-facts dd { margin: 0; color: var(--nb-ink); font-weight: 600; }
.nb-facts a { color: var(--nb-ink); }
.nb-product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.nb-share { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 1.4rem 0 0; padding: 0; list-style: none; font-size: .8125rem; }
.nb-share li { color: var(--nb-muted); }
.nb-share a { color: var(--nb-muted); }
.nb-share a:hover { color: var(--nb-red); }
.nb-product__desc { max-width: 820px; }
.nb-product__desc h3 { font-size: 1.25rem; }

.nb-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; background: var(--nb-navy-900); cursor: pointer; }
.nb-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--nb-ease); }
.nb-video:hover img { opacity: 1; transform: scale(1.02); }
.nb-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--nb-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='%23fff'/%3E%3C/svg%3E") center / 32px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s; }
.nb-video:hover::after { transform: scale(1.06); }
.nb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nb-video-note { margin: 10px 0 0; color: var(--nb-muted); font-size: .8125rem; }

/* ==========================================================================
   15. Contact
   ========================================================================== */
.nb-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; box-shadow: 0 24px 60px rgba(10, 23, 48, .1); }
.nb-contact.nb-container { width: calc(100% - 2 * var(--nb-gutter)); max-width: var(--nb-container); padding: 0; }
.nb-contact__info { padding: clamp(32px, 4vw, 52px); background: var(--nb-navy-900); color: rgba(255, 255, 255, .84); }
.nb-contact__info h2 { color: var(--nb-white); font-size: 1.5rem; }
.nb-contact__info h3 { margin: 1.8rem 0 .5rem; color: var(--nb-white); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.nb-contact__info p { margin: 0; font-size: .95rem; line-height: 1.7; }
.nb-contact__info a { color: var(--nb-white); }
.nb-contact__form { padding: clamp(32px, 4vw, 52px); background: var(--nb-white); }
.nb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.nb-field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.nb-field--full { grid-column: 1 / -1; }
.nb-field label { color: var(--nb-ink); font-size: .8125rem; font-weight: 600; }
.nb-field input, .nb-field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #cfd5df;
	border-radius: var(--nb-radius);
	background: var(--nb-white);
	color: var(--nb-ink);
	font: 400 .95rem/1.5 var(--nb-font);
	transition: border-color .2s, box-shadow .2s;
}
.nb-field input:focus, .nb-field textarea:focus { border-color: var(--nb-brand); outline: none; box-shadow: 0 0 0 3px rgba(0, 52, 111, .15); }
.nb-field textarea { min-height: 150px; resize: vertical; }
.nb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--nb-text); }
.nb-consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--nb-brand); }
.nb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nb-form-response { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-left: 3px solid; font-size: .9rem; }
.nb-form-response--success { border-color: #2e7d32; background: #eef7ef; color: #1e5a22; }
.nb-form-response--error { border-color: var(--nb-red); background: #fdf0ef; color: #8c1b16; }
.nb-contact-form button { margin-top: 6px; border: 0; }

/* ==========================================================================
   16. Prose (legal pages, posts)
   ========================================================================== */
.nb-prose { color: var(--nb-text); }
.nb-prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.nb-prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.nb-prose img { max-width: 100%; }
.nb-prose .alignright { float: right; margin: 0 0 16px 24px; max-width: 45%; }
.nb-prose .alignleft { float: left; margin: 0 24px 16px 0; max-width: 45%; }
.nb-prose::after { content: ""; display: table; clear: both; }
.nb-archive-note { padding: 14px 18px; border-left: 3px solid var(--nb-red); background: var(--nb-soft); color: var(--nb-text); font-size: .875rem; }
.nb-archive-note code { font-size: .8rem; background: none; }
.nb-post-meta { color: var(--nb-muted); font-size: .875rem; }
.nb-post-list { display: grid; gap: 0; }
.nb-post-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); overflow-wrap: anywhere; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--nb-line); }
.nb-post-card h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.nb-post-card h2 a { color: var(--nb-ink); text-decoration: none; }
.nb-post-card h2 a:hover { color: var(--nb-red); }
.nb-post-card__media { display: flex; align-items: center; justify-content: center; background: var(--nb-soft); aspect-ratio: 4 / 3; overflow: hidden; }
.nb-post-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.nb-post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--nb-line); font-size: .9rem; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--nb-line); text-decoration: none; }
.nav-links .current { background: var(--nb-navy-900); color: var(--nb-white); border-color: var(--nb-navy-900); }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.nb-footer { background: var(--nb-navy-900); color: rgba(255, 255, 255, .72); }
.nb-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 36px 0; border-bottom: 1px solid var(--nb-line-dark); }
.nb-footer__logo img { width: 180px; height: auto; display: block; }
.nb-footer__nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nb-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; list-style: none; }
.nb-footer__nav a { color: rgba(255, 255, 255, .86); font-size: .875rem; text-decoration: none; }
.nb-footer__nav a:hover { color: var(--nb-white); text-decoration: underline; }
.nb-footer .nb-lang a { color: rgba(255, 255, 255, .7); }
.nb-footer .nb-lang a[aria-current="true"], .nb-footer .nb-lang a:hover { color: var(--nb-white); }
.nb-footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 32px; padding: 22px 0 26px; font-size: .78rem; line-height: 1.6; }
.nb-footer__legal p { margin: 0; }
.nb-footer__legal a { color: rgba(255, 255, 255, .86); }
.nb-footer__legal a:hover { color: var(--nb-white); }
.nb-footer__claim { margin: 0; color: var(--nb-white); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* cookie bar */
.nb-cookie {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9000;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	max-width: 980px;
	margin: 0 auto;
	padding: 16px 20px;
	background: var(--nb-navy-950);
	color: rgba(255, 255, 255, .9);
	font-size: .85rem;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.nb-cookie a { color: var(--nb-white); }
.nb-cookie__ok { border: 0; }

/* lightbox */
.nb-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 48px; background: rgba(7, 18, 38, .94); }
.nb-lightbox[hidden] { display: none; }
.nb-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; background: var(--nb-white); }
.nb-lightbox button { position: absolute; padding: 10px 14px; border: 0; background: none; color: var(--nb-white); font-size: 40px; line-height: 1; cursor: pointer; }
.nb-lightbox__close { top: 8px; right: 12px; }
.nb-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.nb-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
body.nb-lightbox-open { overflow: hidden; }

/* 404 */
.nb-404 { padding: var(--nb-section) 0; }
.nb-404 h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nb-features { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.nb-feature:nth-child(3) { border-left: 0; }
	.nb-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.nb-machines, .nb-machines--4 { grid-template-columns: repeat(2, 1fr); }
	.nb-series { grid-template-columns: 1fr; }
	.nb-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
	.nb-timeline::before { display: none; }
	.nb-specs { grid-template-columns: repeat(2, 1fr); }
	.nb-spec:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
	.nb-spec:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--nb-line); }
}

@media (max-width: 900px) {
	.nb-hero { min-height: 0; padding: 0 0 56px; flex-direction: column; align-items: stretch; }
	.nb-hero__media { position: relative; width: 100%; height: clamp(240px, 56vw, 420px); z-index: 0; }
	.nb-hero::before { background: linear-gradient(180deg, rgba(10, 23, 48, 0) 0, rgba(10, 23, 48, 0) clamp(140px, 36vw, 300px), var(--nb-navy-900) clamp(240px, 56vw, 420px)); z-index: 1; }
	.nb-hero__content { z-index: 2; margin-top: -40px; }
	.nb-badge-italy { top: 18px; bottom: auto; right: 18px; z-index: 3; padding: 7px 10px; background: rgba(7, 18, 38, .65); }

	.nb-split { grid-template-columns: 1fr; }
	.nb-split__media { min-height: 0; aspect-ratio: 16 / 10; }
	.nb-split--reverse .nb-split__media { order: 0; }
	.nb-split--watermark .nb-split__panel::after { display: none; }

	.nb-band, .nb-page-hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
	.nb-band__media, .nb-page-hero__media { position: relative; width: 100%; height: clamp(220px, 50vw, 380px); z-index: 0; }
	.nb-band::before, .nb-page-hero::before { background: linear-gradient(180deg, rgba(10, 23, 48, 0) 0, rgba(10, 23, 48, .15) 40%, var(--nb-navy-900) clamp(220px, 50vw, 380px)); z-index: 1; }
	.nb-band__content, .nb-page-hero__content { position: relative; z-index: 2; margin-top: 8px; }
	.nb-page-hero--plain { padding-top: 48px; }

	.nb-apps__grid { grid-template-columns: 1fr; }
	.nb-row, .nb-product { grid-template-columns: 1fr; }
	.nb-row--reverse .nb-row__media { order: 0; }
	.nb-product__info { position: static; }
	.nb-contact { grid-template-columns: 1fr; }
	.nb-values { grid-template-columns: 1fr; border-top: 0; }
	.nb-value, .nb-value + .nb-value { padding: 26px 0; border-left: 0; border-top: 1px solid var(--nb-line); }
	.nb-footer__top { flex-direction: column; align-items: flex-start; }
	.nb-footer__nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.nb-features { grid-template-columns: 1fr; row-gap: 0; }
	.nb-feature { padding: 26px 0; border-left: 0 !important; border-top: 1px solid var(--nb-line); }
	.nb-feature:first-child { border-top: 0; }
	.nb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.nb-tile { margin: 0 !important; aspect-ratio: auto; clip-path: none; }
	.nb-tile img { height: auto !important; aspect-ratio: 4 / 3; }
	.nb-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nb-cat-card { aspect-ratio: 4 / 5; }
	.nb-cat-card__body { padding: 14px; }
	.nb-cat-card__title { font-size: 1rem; }
	.nb-machines, .nb-machines--4 { grid-template-columns: 1fr; }
	.nb-series-card { grid-template-columns: 96px 1fr; gap: 18px; padding: 22px; }
	.nb-timeline { grid-template-columns: 1fr; padding: 0 0 0 30px; row-gap: 28px; }
	.nb-timeline::before { display: block; left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
	.nb-timeline li::before { top: 6px; left: -30px; }
	.nb-specs { grid-template-columns: 1fr; }
	.nb-spec, .nb-spec:nth-child(2n) { padding: 22px 0; border-left: 0; }
	.nb-form-grid { grid-template-columns: 1fr; }
	.wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; }
	.nb-post-card { grid-template-columns: minmax(0, 1fr); }
	.nb-facts div { grid-template-columns: 110px 1fr; }
	.nb-footer__bottom { flex-direction: column; }
	.nb-footer__claim { white-space: normal; }
	.nb-logo img { width: 160px; }
}

@media print {
	.nb-header, .nb-footer, .nb-cookie, .nb-tabs, .nb-band--cta { display: none !important; }
	body { color: #000; }
}
