/* =====================================================================
   Aura Trade & Investments SA – foglio di stile
   Palette chiara: bianco / grigio caldo, antracite, blu acciaio, oro tenue
   ===================================================================== */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --ink: #1F2933;
  --muted: #52606D;
  --primary: #2F5D8A;
  --primary-dark: #244A6F;
  --primary-soft: #EAF0F6;
  --gold: #C9A227;
  --gold-dark: #B08D1F;
  --gold-soft: #F8F1DC;
  --line: #E3E7EC;
  --navy: #14283D;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 40, 61, .06), 0 8px 24px rgba(20, 40, 61, .06);
  --shadow-lg: 0 2px 4px rgba(20, 40, 61, .06), 0 18px 40px rgba(20, 40, 61, .10);
  --font-head: 'Manrope', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.lang-zh { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 700; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 46em; }
small { font-size: .85rem; color: var(--muted); }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9em;
  font: 600 .78rem/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.lang-zh .kicker { letter-spacing: .08em; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .9rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D6B23C; color: var(--ink); box-shadow: 0 6px 18px rgba(201, 162, 39, .32); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: #B9C8D8; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font: 600 .95rem var(--font-head); text-decoration: none; color: var(--primary); }
.link-arrow svg { transition: transform .2s; }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(20, 40, 61, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list, .lang-switch, .sub { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 12px; font: 600 .95rem var(--font-head); color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { color: var(--primary); }
.nav-list > li > a[aria-current]::after { content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 3px; }
.sub-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.sub {
  position: absolute; top: 100%; left: -8px; min-width: 290px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub a svg { color: var(--primary); }
.sub a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-extra { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; background: var(--bg-alt); border-radius: 999px; }
.lang-switch a { display: block; min-width: 36px; padding: 6px 9px; text-align: center; border-radius: 999px; font: 600 .8rem var(--font-head); color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--primary); }
.lang-switch a[aria-current] { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(20, 40, 61, .12); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--font-head); color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav-open .site-nav { display: flex; }
  .nav-open .site-header { backdrop-filter: none; background: #fff; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 16px 4px; font-size: 1.08rem; }
  .nav-list > li > a[aria-current]::after { display: none; }
  .sub-toggle { display: block; }
  .sub-toggle svg { transition: transform .2s; }
  .sub-open .sub-toggle svg { transform: rotate(180deg); }
  .sub { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .sub-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.sub-open:hover .sub { display: block; }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
  .lang-switch { justify-content: space-between; }
  .lang-switch li { flex: 1; }
  .lang-switch a { padding: 10px; font-size: .9rem; }
  .nav-extra .btn { min-height: 52px; }
}
@media (max-width: 420px) { .brand img { height: 44px; } .nav-toggle span { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 74vh, 700px); display: flex; align-items: center; overflow: hidden; background: var(--bg-alt); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 36%, rgba(255,255,255,.55) 58%, rgba(255,255,255,0) 78%); }
.hero-inner { position: relative; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.15rem); }
.hero .lead { color: #3E4C59; margin-bottom: 1.8em; }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: #fff; }
  .hero-media { position: relative; height: 240px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #fff 100%); }
  .hero-inner { padding-top: 8px; padding-bottom: 40px; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- fatti ---------- */
.facts-wrap { position: relative; z-index: 2; margin-top: -56px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.facts li { padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font: 700 1.75rem/1.1 var(--font-head); color: var(--primary); }
.facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
  .facts-wrap { margin-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li { padding: 16px 18px; }
}

/* ---------- sezioni ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
.media-frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .split, .media-pair { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }

/* ---------- divisioni ---------- */
.division-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.division-card { grid-column: span 2; }
.division-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.division-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CBD5DF; color: var(--ink); }
.dc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.dc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.division-card a:hover .dc-media img { transform: scale(1.04); }
.dc-body { position: relative; padding: 30px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.dc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.dc-icon { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; display: grid; place-items: center; background: #fff; color: var(--primary); border-radius: 50%; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dc-icon svg { width: 26px; height: 26px; }
@media (max-width: 1100px) { .division-grid { grid-template-columns: 1fr 1fr; } .division-card { grid-column: auto; } }
@media (max-width: 640px) { .division-grid { grid-template-columns: 1fr; } }

/* ---------- perché sceglierci ---------- */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.why p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge-lg { width: 72px; height: 72px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }
.icon-badge-lg svg { width: 34px; height: 34px; stroke-width: 2.2; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- qualità ---------- */
.section-quality { background: linear-gradient(180deg, var(--bg-alt), #fff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0; }
.quality { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.quality h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.quality p { color: var(--muted); margin: 0; }
.quality-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }
.quality-icon svg { width: 38px; height: 38px; }
@media (max-width: 900px) { .quality { grid-template-columns: 1fr; gap: 18px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist svg { color: var(--primary); margin-top: .2em; stroke-width: 2.2; }
.checklist-sm { gap: 6px; margin: 0 0 1.4em; }
.checklist-sm li { font-weight: 400; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--primary); color: #fff; padding: clamp(44px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .35em; }
.cta-band p { color: #DCE6F0; margin: 0; max-width: 40em; }

/* ---------- testata pagina ---------- */
.page-head { background: var(--bg-alt); padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22em; }
.page-head .lead { margin: 0; }
.breadcrumb ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A0AAB4; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

.subnav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 20; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: flex; align-items: center; gap: 8px; padding: 14px 14px; white-space: nowrap; font: 600 .9rem var(--font-head); color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--primary); }
.subnav a[aria-current] { color: var(--primary); border-bottom-color: var(--gold); }

.note { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 16px 20px; background: var(--primary-soft); border-radius: var(--radius-sm); color: #2B3A48; font-size: .95rem; }
.note svg { color: var(--primary); margin-top: .15em; }
.note + .note { margin-top: 12px; }
.note-b2b { background: var(--gold-soft); }
.note-b2b svg { color: var(--gold-dark); }

/* ---------- schede prodotto ---------- */
.product-list { display: grid; gap: 28px; }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); align-items: start; }
.product-textonly { grid-template-columns: minmax(0, 1fr); background: linear-gradient(135deg, #fff 60%, var(--bg-alt)); }
.product-media { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; position: sticky; top: calc(var(--header-h) + 72px); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.product-body > p { color: var(--muted); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 .72rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.spec-chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.spec-chips li { display: flex; flex-direction: column; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line); min-width: 150px; }
.spec-chips span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.spec-chips strong { font: 700 1.05rem var(--font-head); }
.mini { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.4em 0 .7em; font-weight: 700; }
.lang-zh .mini { letter-spacing: .04em; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } .product-media { position: static; } }

.table-wrap { position: relative; overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-wrap.is-scrollable { background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 30px 100% no-repeat local, linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 30px 100% no-repeat local, linear-gradient(270deg, rgba(20,40,61,.12), rgba(20,40,61,0)) right / 12px 100% no-repeat scroll; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.spec-table caption { text-align: left; padding: 10px 16px; font-size: .82rem; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table thead th { background: var(--bg-alt); font: 700 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec-table tbody th { width: 30%; font-weight: 600; white-space: nowrap; }
.spec-table tbody th small { display: block; font-weight: 400; white-space: normal; }
.grade { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 6px; background: var(--primary-soft); color: var(--primary-dark); font: 600 .84rem/1.6 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; white-space: nowrap; }
.data-table { min-width: 420px; }
.data-table tbody th { width: auto; }
.data-table td { font-variant-numeric: tabular-nums; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.cat-body > p { color: var(--muted); }
.cat-body .chips { margin-bottom: 22px; flex: 1; align-content: flex-start; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.chips-sm { margin-top: 0; }
.chips-sm li { padding: 5px 12px; font-size: .86rem; background: var(--bg-alt); }

/* ---------- chi siamo ---------- */
.value-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-grid li { padding: 26px 24px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.value-grid p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- servizi ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service p { color: var(--muted); }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.empty { text-align: center; padding: 48px 32px; }
.empty p { color: var(--muted); max-width: 32em; margin: 0 auto 1.4em; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.news-list time { font-size: .85rem; color: var(--muted); }

/* ---------- contatti / RFQ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }
.rfq { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #CBD3DC; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type=file] { padding: 9px; background: var(--bg-alt); border-style: dashed; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 93, 138, .15); }
.field [aria-invalid] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--primary); }
.field.check label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #FEF3F2; color: #912018; font-weight: 500; }
.rfq .btn { justify-self: start; }
@media (max-width: 640px) { .rfq .btn { justify-self: stretch; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { color: var(--primary); margin-top: .2em; }
.map { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(45deg, var(--bg-alt) 0 14px, #fff 14px 28px); }
.map-placeholder > svg { width: 40px; height: 40px; color: var(--primary); }

/* ---------- testi legali ---------- */
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #3E4C59; }
.prose code { font-size: .88em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #C7D3DF; font-size: .94rem; }
.site-footer a { color: #E6EDF4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9FB0C2; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal .linklike { color: #E6EDF4; text-decoration: none; font-size: inherit; }
.footer-legal .linklike:hover { text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- banner consenso ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 880px; width: 100%; display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20, 40, 61, .18); }
.consent p { margin: 0; font-size: .9rem; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent .btn { min-height: 44px; min-width: 120px; }
@media (max-width: 700px) { .consent-inner { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; min-width: 0; } }

/* ---------- pagina radice / 404 ---------- */
.root-select { min-height: 100vh; display: grid; place-items: center; background: var(--bg-alt); }
.root-box { text-align: center; padding: 40px 24px; }
.root-box img { margin: 0 auto 32px; width: 280px; }
.root-langs { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.root-langs a { display: block; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font: 600 1rem var(--font-head); }

@media print {
  .site-header, .consent, .cta-band, .subnav, .nav-toggle { display: none !important; }
  .site-footer { background: none; color: #000; }
}

/* ---------- calendario fiere ---------- */
.fair-jump { list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fair-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font: 600 .92rem var(--font-head); }
.fair-jump a svg { color: var(--primary); }
.fair-jump a:hover { border-color: var(--primary); color: var(--primary); }
.fair-sector + .fair-sector { margin-top: clamp(36px, 5vw, 56px); }
.fair-sector-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin-bottom: 18px; }
.fair-sector-title .icon-badge { margin: 0; }
.fair-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.fair { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 13rem) auto; gap: 8px 24px; align-items: center; padding: 18px 24px; }
.fair + .fair { border-top: 1px solid var(--line); }
.fair p { margin: 0; }
.fair-date { font: 700 1rem/1.35 var(--font-head); color: var(--primary); font-variant-numeric: tabular-nums; }
.fair-date small { display: block; font: 500 .78rem var(--font-body); color: var(--muted); }
.fair-name { font: 700 1.05rem/1.3 var(--font-head); }
.fair-focus { color: var(--muted); font-size: .92rem; }
.fair-city { display: flex; align-items: center; gap: 8px; font-size: .93rem; }
.fair-city svg { color: var(--primary); }
.fair-link { display: inline-flex; align-items: center; gap: 6px; font: 600 .88rem var(--font-head); text-decoration: none; white-space: nowrap; }
.fair-link svg { transition: transform .2s; }
.fair-link:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .fair { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
  .fair-date { grid-column: 1 / -1; }
  .fair-main { grid-column: 1 / -1; }
  .fair-city { grid-column: 1; }
  .fair-link { grid-column: 2; justify-self: end; }
}
