/* =========================================================================
   LWS – Laser Welding Systems · Foglio di stile globale
   Tutti i colori, i caratteri e le spaziature sono variabili in :root.
   Per cambiare il look del sito modificare prima di tutto queste variabili.
   ========================================================================= */

/* ---------- Font self-hosted (nessuna richiesta a Google: GDPR-friendly) ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-semibold.woff') format('woff');
  font-weight: 600 700;
  font-display: swap;
}

:root {
  /* Colori del marchio (arancio dal logo LWS, blu dal volantino) */
  --orange: #ff7f00;
  --orange-hot: #ff9b2f;
  --orange-deep: #d96400;
  --navy: #0f2747;
  --navy-2: #173a66;

  /* Neutri industriali */
  --ink: #0b0e13;
  --ink-2: #10151c;
  --graphite: #171d25;
  --graphite-2: #212833;
  --steel: #eceff3;
  --paper: #f6f7f9;
  --white: #ffffff;
  --text: #121820;
  --muted: #586271;
  --muted-dark: #a3adbb;
  --line: #dde2e8;
  --line-dark: rgba(255, 255, 255, 0.1);
  --metal: linear-gradient(135deg, #f1f3f6 0%, #c3c9d1 42%, #f7f8fa 52%, #9ea7b2 100%);

  /* Tipografia */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset essenziale ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
}
code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.88em;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
::selection {
  background: var(--orange);
  color: var(--ink);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Animazioni di comparsa ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease) var(--d, 0ms),
    transform 0.8s var(--ease) var(--d, 0ms);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Bottoni ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--ink);
  --btn-bd: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn__icon {
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__icon {
  transform: translateX(4px);
}
.btn--primary:hover {
  --btn-bg: var(--orange-hot);
  --btn-bd: var(--orange-hot);
  box-shadow: 0 8px 28px -8px rgba(255, 127, 0, 0.65);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  --btn-bd: var(--white);
  --btn-bg: rgba(255, 255, 255, 0.06);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--text);
}
.btn--outline:hover {
  --btn-bg: var(--text);
  --btn-fg: var(--white);
}
.section--dark .btn--outline,
.cookie .btn--outline {
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.4);
}
.cookie .btn--outline:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}
.btn--link {
  --btn-bg: transparent;
  --btn-bd: transparent;
  --btn-fg: var(--text);
  padding: 0;
  min-height: auto;
  border: 0;
  border-bottom: 1.5px solid var(--orange);
  border-radius: 0;
  padding-bottom: 4px;
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12.5px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 2px;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
  color: var(--white);
}
.site-header.is-scrolled {
  background: rgba(11, 14, 19, 0.96);
  border-bottom-color: var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.site-header__logo img {
  width: 128px;
  height: auto;
}
.site-header__cta {
  margin-left: 8px;
}
.main-nav {
  margin-left: auto;
}
.main-nav__list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.main-nav__item {
  position: relative;
}
.main-nav__link {
  display: block;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #d9dee5;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.2s;
  position: relative;
}
.main-nav__link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav__link:hover,
.main-nav__link[aria-current='page'] {
  color: var(--white);
}
.main-nav__link:hover::after,
.main-nav__link[aria-current='page']::after {
  transform: scaleX(1);
}
.main-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  list-style: none;
  padding: 10px;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s,
    transform 0.2s var(--ease),
    visibility 0.2s;
}
.main-nav__item:hover > .main-nav__sub,
.main-nav__item:focus-within > .main-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.main-nav__sub a {
  display: block;
  padding: 10px 12px;
  color: #d9dee5;
  text-decoration: none;
  font-size: 14.5px;
  border-radius: var(--radius);
}
.main-nav__sub a:hover,
.main-nav__sub a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--orange-hot);
}
.main-nav__mobile-cta {
  display: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}
.nav-toggle__bars {
  top: 50%;
  margin-top: -1px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  left: 0;
  right: 0;
}
.nav-toggle__bars::before {
  top: -7px;
}
.nav-toggle__bars::after {
  top: 7px;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1120px) {
  /* backdrop-filter creerebbe un contenitore per il menu fixed: disattivato su mobile */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 14, 19, 0.97);
  }
  .site-header__cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s var(--ease),
      visibility 0.25s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav__item {
    border-bottom: 1px solid var(--line-dark);
  }
  .main-nav__link {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    padding: 16px 0;
  }
  .main-nav__link::after {
    display: none;
  }
  .main-nav__link[aria-current='page'] {
    color: var(--orange);
  }
  .main-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 12px;
    min-width: 0;
  }
  .main-nav__sub a {
    padding: 8px 0 8px 16px;
    border-left: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .main-nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .main-nav__phone {
    color: var(--muted-dark);
    text-decoration: none;
    font-size: 18px;
  }
  html.nav-open {
    overflow: hidden;
  }
}

/* ---------- Eyebrow, intestazioni e "linea laser" ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__index {
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
  padding-right: 12px;
  border-right: 1px solid currentColor;
}
.eyebrow--on-dark,
.section--dark .eyebrow,
.section-header--dark .eyebrow {
  color: var(--muted-dark);
}
.section--dark .eyebrow__index,
.section-header--dark .eyebrow__index {
  color: var(--orange);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.2), 0 0 16px var(--orange);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 127, 0, 0), 0 0 24px var(--orange);
  }
}
.section-header {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
.section-header__title {
  font-size: clamp(30px, 3.6vw, 48px);
}
.section-header__intro {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}
.section-header--dark .section-header__intro,
.section--dark .section-header__intro {
  color: var(--muted-dark);
}
.beam {
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-hot) 60%, transparent 100%);
  box-shadow: 0 0 14px rgba(255, 127, 0, 0.7);
  transform-origin: left;
}
html.js [data-reveal] .beam {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease) 0.25s;
}
html.js [data-reveal].is-visible .beam {
  transform: scaleX(1);
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-top .section-header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-top > .btn {
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- Sezioni ---------- */
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--steel {
  background: var(--steel);
}
.section--intro {
  overflow: hidden;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--top {
  align-items: start;
}
.split--video {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: start;
}
@media (max-width: 900px) {
  .split,
  .split--video {
    grid-template-columns: 1fr;
  }
}
.prose {
  max-width: 68ch;
}
.prose p,
.prose li {
  color: #2b333e;
}
.section--dark .prose p {
  color: #c9d0da;
}
.prose h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 1.8em 0 0.6em;
}
.prose ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose figure {
  margin: 2em 0;
}
.prose figcaption,
.small-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.prose a {
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

/* ---------- HERO homepage ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-bottom: 40px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 60px);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  filter: saturate(0.9) contrast(1.05);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 19, 0.96) 0%, rgba(11, 14, 19, 0.82) 38%, rgba(11, 14, 19, 0.25) 75%, rgba(11, 14, 19, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 14, 19, 1) 0%, rgba(11, 14, 19, 0) 40%);
}
.hero__rays,
.page-hero__rays,
.cta-band__rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from -8deg at 88% 30%, rgba(255, 255, 255, 0.07) 0deg 0.35deg, transparent 0.35deg 11deg);
  mask-image: radial-gradient(circle at 88% 30%, transparent 0 60px, #000 61px, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 88% 30%, transparent 0 60px, #000 61px, transparent 62%);
  opacity: 0.8;
}
.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero__content {
  max-width: 820px;
  padding-block: 40px;
}
.hero__title {
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero__accent {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-hot) 50%, #ffd29a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__lead {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: #c9d0da;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-dark);
}
.fact {
  padding: 24px 24px 8px 0;
  border-right: 1px solid var(--line-dark);
  margin-right: 24px;
}
.fact:last-child {
  border-right: 0;
}
.fact__value {
  margin: 0;
  order: -1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fact__unit {
  margin-left: 6px;
  font-size: 0.42em;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.fact__label {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted-dark);
}
.fact {
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .hero__shade {
    background: linear-gradient(180deg, rgba(11, 14, 19, 0.7) 0%, rgba(11, 14, 19, 0.82) 60%, rgba(11, 14, 19, 1) 100%);
  }
}
@media (max-width: 860px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact:nth-child(2) {
    border-right: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }
}

/* ---------- Macchina in evidenza ---------- */
.machine-stage {
  position: relative;
  aspect-ratio: 1 / 0.92;
  display: grid;
  place-items: center;
}
.machine-stage__glow {
  position: absolute;
  inset: 8% 4% 10%;
  background:
    radial-gradient(closest-side, rgba(255, 127, 0, 0.18), transparent 70%),
    radial-gradient(closest-side at 50% 90%, rgba(15, 39, 71, 0.2), transparent);
  border-radius: 50%;
}
.machine-stage img {
  position: relative;
  width: 92%;
  filter: drop-shadow(0 40px 40px rgba(11, 14, 19, 0.28));
}
.machine-stage__label {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.machine-stage__label span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 8px;
}
.materials-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.materials-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  background: var(--paper);
}
.chip__abbr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--metal);
  color: var(--ink);
}

/* ---------- Funzioni 5-in-1 ---------- */
.functions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.function-card {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}
.function-card:hover {
  background: var(--ink-2);
}
.function-card__media {
  background: linear-gradient(180deg, #e9ecf0, #d5dae1);
  padding: 22px 18px;
  overflow: hidden;
}
.function-card__media img {
  width: 100%;
  aspect-ratio: 506 / 180;
  object-fit: cover;
  border-radius: 999px;
  transition: transform 0.6s var(--ease);
}
.function-card:hover .function-card__media img {
  transform: scale(1.04);
}
.function-card__body {
  padding: 26px 24px 30px;
}
.function-card__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 14px;
}
.function-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 12px;
}
.function-card__title svg {
  color: var(--orange);
}
.function-card p {
  color: var(--muted-dark);
  font-size: 15.5px;
  margin: 0;
}
@media (max-width: 1180px) {
  .functions {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .functions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .functions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Categorie prodotto ---------- */
.categories {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.category {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.category::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 1;
}
.category:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(11, 14, 19, 0.35);
  border-color: transparent;
}
.category:hover::before {
  transform: scaleX(1);
}
.category__media {
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 60%, #ffffff, #e7eaee);
  padding: 18px;
  overflow: hidden;
}
.category__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.category:hover .category__media img {
  transform: scale(1.05);
}
.category__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.category__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.category__title {
  font-size: 21px;
  margin-bottom: 10px;
}
.category__text {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}
.category__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
@media (max-width: 1080px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .categories {
    grid-template-columns: 1fr;
  }
}

/* ---------- Vantaggi ---------- */
.advantages {
  list-style: none;
  display: grid;
  gap: 0;
}
.advantage {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.advantage:last-child {
  border-bottom: 1px solid var(--line);
}
.advantage__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-deep);
  padding-top: 4px;
}
.advantage h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.advantage p {
  margin: 0;
  color: var(--muted);
}
.advantages--grid {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}
.advantages--grid .advantage:nth-last-child(2) {
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .advantages--grid {
    grid-template-columns: 1fr;
  }
}
.table-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- Tabelle tecniche ---------- */
.spec {
  margin: 0;
}
.spec__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.spec__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.spec__table th,
.spec__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec__table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.spec__table thead th:not(:first-child) {
  color: #ffd1a1;
}
.spec__table tbody th {
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  width: 34%;
}
.spec__table tbody tr:last-child > * {
  border-bottom: 0;
}
.spec__table tbody tr:hover {
  background: var(--paper);
}
.spec__table tr.is-highlight td {
  font-weight: 700;
  color: var(--text);
}
.spec__table tr.is-highlight th {
  box-shadow: inset 3px 0 0 var(--orange);
  color: var(--text);
}
.spec__note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Tipi di saldatura ---------- */
.weld-types {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.weld-type {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3.1;
}
.weld-type img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.weld-type:hover img {
  transform: scale(1.06);
}
.weld-type__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(11, 14, 19, 0.92), transparent);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.weld-type__label strong {
  font-family: var(--font-display);
  font-size: 17px;
}
.weld-type__label span {
  font-size: 13px;
  color: var(--orange-hot);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .weld-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Video ---------- */
.clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.clip {
  margin: 0;
}
.clip:nth-child(2) {
  margin-top: 48px;
}
.clip__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
}
.clip__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip__caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-dark);
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}
@media (max-width: 640px) {
  .clips {
    grid-template-columns: repeat(3, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .clip {
    scroll-snap-align: start;
  }
  .clip:nth-child(2) {
    margin-top: 0;
  }
}

/* ---------- Settori ---------- */
.sectors {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sector__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--steel);
}
.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.sector:hover .sector__media img {
  transform: scale(1.05);
}
.sector__body {
  padding: 22px 22px 24px;
}
.sector__title {
  font-size: 20px;
  margin-bottom: 8px;
}
.sector__body > p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 0;
}
.sectors--detailed .sector__body > p {
  margin-bottom: 16px;
}
.ticks {
  list-style: none;
  display: grid;
  gap: 8px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}
.ticks svg {
  flex: none;
  color: var(--orange-deep);
  margin-top: 4px;
}
.ticks--large li {
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ticks-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.ticks-line svg {
  color: var(--orange-deep);
}
@media (max-width: 960px) {
  .sectors {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sectors {
    grid-template-columns: 1fr;
  }
}

/* ---------- Foto e figure ---------- */
.photo-frame {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 640px;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: 50% 55%;
}
.photo-frame--short,
.photo-frame--short img {
  max-height: 520px;
}
.photo-frame figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--white);
  background: rgba(11, 14, 19, 0.7);
  backdrop-filter: blur(6px);
  border-left: 2px solid var(--orange);
}
.diagram {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.wide-figure {
  margin: 0;
  padding: clamp(16px, 3vw, 40px);
  background: radial-gradient(circle at 50% 50%, #ffffff, #eef0f3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.wide-figure img {
  margin-inline: auto;
}
.wide-figure figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding: 16px 0 16px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-deep);
}
.steps strong {
  display: block;
  color: var(--text);
}

/* ---------- Banda CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, #0c1d36 55%, var(--ink) 100%);
  color: var(--white);
  padding-block: clamp(64px, 8vw, 104px);
}
.cta-band__rays {
  background: repeating-conic-gradient(from -8deg at 92% 50%, rgba(255, 255, 255, 0.07) 0deg 0.35deg, transparent 0.35deg 11deg);
  mask-image: radial-gradient(circle at 92% 50%, transparent 0 40px, #000 41px, transparent 58%);
  -webkit-mask-image: radial-gradient(circle at 92% 50%, transparent 0 40px, #000 41px, transparent 58%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band__title {
  font-size: clamp(28px, 3.2vw, 42px);
}
.cta-band__text {
  margin: 18px 0 0;
  color: #c4cedb;
  max-width: 560px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cta-band__phone {
  flex-basis: 100%;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: #c4cedb;
  text-decoration: none;
  font-size: 15px;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .cta-band__actions,
  .cta-band__phone {
    justify-content: flex-start;
  }
}

/* ---------- Testata pagine interne ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 38%;
  background: linear-gradient(90deg, var(--orange), transparent);
  box-shadow: 0 0 18px var(--orange);
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero--media .page-hero__inner {
  grid-template-columns: 1.15fr 0.85fr;
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.page-hero__lead {
  margin-top: 22px;
  max-width: 680px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: #c4ccd6;
}
.page-hero__media {
  position: relative;
}
.page-hero__media::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(closest-side, rgba(255, 127, 0, 0.28), transparent);
  filter: blur(10px);
}
.page-hero__media img {
  position: relative;
  max-height: 440px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}
.page-hero--404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
@media (max-width: 900px) {
  .page-hero--media .page-hero__inner {
    grid-template-columns: 1fr;
  }
  .page-hero__media img {
    max-height: 300px;
  }
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted-dark);
  margin-bottom: 28px;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 6px;
  opacity: 0.5;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--white);
}
.breadcrumbs [aria-current] {
  color: var(--white);
}

/* ---------- Modelli ---------- */
.models {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.model {
  position: relative;
  padding: 28px 28px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white), var(--paper));
  overflow: hidden;
}
.model__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}
.model__power {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 76px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 24px;
}
.model__power span {
  font-size: 0.35em;
  color: var(--orange);
  margin-left: 6px;
  letter-spacing: 0;
}
.model__specs {
  margin: 0;
  display: grid;
  gap: 0;
}
.model__specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.model__specs dt {
  color: var(--muted);
}
.model__specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.model__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: var(--p);
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-hot));
  box-shadow: 0 0 14px rgba(255, 127, 0, 0.6);
}
@media (max-width: 900px) {
  .models {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pistole ---------- */
.gun-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gun-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.gun-card__media {
  background: radial-gradient(circle at 50% 50%, #fff, #e9ecf0);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gun-card__media {
  overflow: hidden;
}
.gun-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gun-card__body {
  padding: 24px 26px 28px;
}
.gun-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.gun-card__title {
  font-size: 24px;
  margin-bottom: 10px;
}
.gun-card p:last-child {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 1000px) {
  .gun-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gun-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Accessori pistola ---------- */
.accessories {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 20px;
}
.accessory {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.accessory__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.accessory__title {
  font-size: 21px;
  margin-bottom: 8px;
}
.accessory__body > p {
  color: var(--muted);
}
@media (max-width: 560px) {
  .accessories {
    grid-template-columns: 1fr;
  }
  .accessory {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trainafilo ---------- */
.compat {
  list-style: none;
  display: grid;
  gap: 12px;
}
.compat li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--paper);
}
.compat__power {
  font-family: var(--font-display);
  font-weight: 700;
}
.compat__wires {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* ---------- Ricambi ---------- */
.parts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.parts__group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 8px;
}
.parts__title {
  font-size: 18px;
  margin-bottom: 12px;
}
.parts__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.parts__table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}
.parts__table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}
.parts__table tr:last-child td {
  border-bottom: 0;
}
.parts__table td:first-child {
  width: 36px;
  font-weight: 700;
  color: var(--orange-deep);
}
.parts__table code {
  background: var(--steel);
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .parts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Documenti ---------- */
.docs-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.doc-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition:
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.doc-link:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}
.doc-link__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  flex: none;
}
.doc-link__text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doc-link__text span {
  font-size: 14px;
  color: var(--muted);
}
.doc-link__dl {
  color: var(--orange-deep);
}

/* ---------- Servizi ---------- */
.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--white);
  padding: clamp(28px, 3vw, 44px);
}
.service__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--orange);
  margin-bottom: 20px;
}
.service__title {
  font-size: 22px;
  margin-bottom: 10px;
}
.service p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Chi siamo ---------- */
.lead-dark {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
}
.values {
  list-style: none;
  display: grid;
  gap: 0;
}
.values li {
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.values h3 {
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--orange-hot);
}
.values p {
  color: var(--muted-dark);
  margin: 0;
}
.draft-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px dashed var(--orange);
  color: var(--orange-hot);
  border-radius: var(--radius);
}

/* ---------- Approfondimenti ---------- */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--steel);
  color: var(--text);
}
.tag--empty {
  opacity: 0.5;
}
.articles {
  list-style: none;
  display: grid;
  gap: 24px;
}
.article-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.article-card:hover {
  box-shadow: 0 24px 48px -24px rgba(11, 14, 19, 0.3);
}
.article-card__media {
  background: var(--white);
  padding: 24px;
  border-right: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.article-card__body {
  padding: clamp(24px, 3vw, 40px);
}
.article-card__meta {
  font-size: 14px;
  color: var(--muted);
}
.article-card__title {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 12px;
}
.article-card__body > p:not(.article-card__meta) {
  color: var(--muted);
}
@media (max-width: 760px) {
  .article-card {
    grid-template-columns: 1fr;
  }
  .article-card__media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
.article {
  margin-inline: auto;
}
.empty {
  color: var(--muted);
}

/* ---------- Contatti e moduli ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.contact-layout--quote {
  grid-template-columns: 1.3fr 0.7fr;
}
@media (max-width: 960px) {
  .contact-layout,
  .contact-layout--quote {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.contact-card__title,
.form-panel__title {
  font-size: 24px;
  margin-bottom: 24px;
}
.contact-card .ticks li {
  color: #c9d0da;
}
.contact-card .ticks svg {
  color: var(--orange);
}
.contact-card__alt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 15px;
}
.contact-card__alt a,
.contact-card a {
  color: var(--white);
}
.contact-card__quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.contact-card__quote p {
  color: var(--muted-dark);
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-list svg {
  flex: none;
  color: var(--orange);
  margin-top: 3px;
}
.contact-list a {
  text-decoration: none;
}
.contact-list--large li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-list--large small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 2px;
}
.contact-list--large a {
  font-size: 17px;
}
.contact-card .placeholder {
  margin-top: 20px;
}
.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.social a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 48px);
  background: var(--white);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
@media (max-width: 640px) {
  .form__grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field--full {
  grid-column: 1 / -1;
}
.field label,
.field legend {
  font-size: 14px;
  font-weight: 600;
}
.field input:not([type='checkbox']),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c8ced6;
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.2);
}
.field [aria-invalid='true'] {
  border-color: #c62828 !important;
}
.field__error {
  color: #b71c1c;
  font-size: 13.5px;
}
.field--hp {
  position: absolute;
  left: -9999px;
}
.checks {
  border: 0;
  padding: 0;
  margin: 0;
}
.checks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .checks__grid {
    grid-template-columns: 1fr;
  }
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  font-size: 15px !important;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
  flex: none;
}
.check--consent {
  font-size: 14px !important;
  color: var(--muted);
}
.form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.form__hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.form__status p {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
}
.form__error {
  background: #fdecea;
  color: #8e1b1b;
}
.form__info {
  background: #fff4e6;
  color: #6b3a00;
}
.form-success {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #f0f7f1;
  border: 1px solid #c7e3cc;
}
.form-success__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

/* ---------- Placeholder "Da completare" ---------- */
.placeholder {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1.5px dashed var(--orange);
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-45deg, rgba(255, 127, 0, 0.05) 0 10px, rgba(255, 127, 0, 0.1) 10px 20px);
  color: var(--text);
}
.section--dark .placeholder,
.contact-card .placeholder {
  color: var(--white);
}
.placeholder__label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--orange);
  padding: 3px 8px;
  border-radius: 3px;
}
.placeholder__title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 4px;
}
.placeholder__text {
  font-size: 14.5px;
  opacity: 0.85;
}
.placeholder-inline {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--orange);
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--orange-deep);
  background: rgba(255, 127, 0, 0.08);
}
.contact-card .placeholder-inline {
  color: var(--orange-hot);
  margin-top: 8px;
}
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.placeholder-grid .placeholder {
  margin: 0;
}

/* ---------- Pagine legali ---------- */
.legal {
  max-width: 820px;
}
.legal__updated {
  font-size: 14px;
  color: var(--muted);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 1em 0 1.5em;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--steel);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: #c9d0da;
  padding: clamp(56px, 7vw, 88px) 0 28px;
  font-size: 15px;
}
.site-footer__beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange-hot) 50%, transparent 80%);
  opacity: 0.7;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer__brand img {
  width: 150px;
  margin-bottom: 20px;
}
.site-footer__brand p {
  color: var(--muted-dark);
  max-width: 340px;
  font-size: 14.5px;
}
.site-footer__heading {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.site-footer__heading--spaced {
  margin-top: 28px;
}
.site-footer__nav ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--orange-hot);
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--muted-dark);
}
.site-footer__legal p {
  margin: 0;
}
.site-footer__legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Banner cookie ---------- */
.cookie {
  position: fixed;
  z-index: 80;
  left: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  padding: 24px 24px 20px;
  background: var(--graphite);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  animation: cookie-in 0.5s var(--ease);
}
@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.cookie__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--muted-dark);
  font-size: 24px;
  cursor: pointer;
}
.cookie__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.cookie__desc {
  font-size: 14px;
  color: #c4ccd6;
}
.cookie__desc a {
  color: var(--white);
}
.cookie__options {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.cookie__opt {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.cookie__opt input {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
}
.cookie__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cookie__actions .btn {
  padding: 0 10px;
  font-size: 11.5px;
}

/* ---------- Stampa ---------- */
@media print {
  .site-header,
  .site-footer,
  .cookie,
  .hero__video,
  .cta-band {
    display: none !important;
  }
  .page-hero,
  .section--dark {
    background: none !important;
    color: #000 !important;
  }
}

/* Immagini prodotto contenute interamente nel riquadro (qualsiasi proporzione) */
.category__media,
.gun-card__media {
  position: relative;
}
.category__media img,
.gun-card__media img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  max-height: none;
  object-fit: contain;
}

/* ---------- Cabina ---------- */
.cabin-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cabin-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cabin-photo {
  position: relative;
  aspect-ratio: 4 / 3;
}
.cabin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cabin-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--white);
  background: rgba(11, 14, 19, 0.72);
  backdrop-filter: blur(6px);
  border-left: 2px solid var(--orange);
}
@media (max-width: 760px) {
  .cabin-gallery {
    grid-template-columns: 1fr;
  }
}
.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-grid li {
  background: var(--white);
  padding: 26px 24px;
}
.feature-grid h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Card senza immagine ("In arrivo") */
.category__media--soon {
  display: grid;
  place-items: center;
  background:
    repeating-conic-gradient(from -8deg at 50% 50%, rgba(255, 255, 255, 0.07) 0deg 0.4deg, transparent 0.4deg 12deg),
    radial-gradient(circle at 50% 50%, var(--graphite-2), var(--ink));
}
.category__soon {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 8px 14px;
  border: 1px solid rgba(255, 127, 0, 0.5);
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.6);
}
.soon-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.soon-panel p {
  color: var(--muted-dark);
}
.soon-panel h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 14px;
}
@media (max-width: 800px) {
  .soon-panel {
    grid-template-columns: 1fr;
  }
}
.site-footer__brandline {
  color: var(--white) !important;
  font-weight: 600;
}

/* ---------- Puntatura laser ---------- */
.spot-diagram {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.spot-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.spot-diagram figcaption {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}
.spot-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.spot-steps li {
  background: var(--ink);
  padding: 32px 28px;
}
.spot-steps__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 18px;
}
.spot-steps h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.spot-steps p {
  color: var(--muted-dark);
  margin: 0;
}
@media (max-width: 760px) {
  .spot-steps {
    grid-template-columns: 1fr;
  }
}
.faq {
  display: grid;
  gap: 10px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0 22px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-deep);
  font-size: 22px;
}
.faq__item[open] summary::after {
  content: '–';
}
.faq__item p {
  color: var(--muted);
  padding-bottom: 18px;
  margin: 0;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.before-after__item {
  margin: 0;
  position: relative;
}
.before-after__item img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--orange);
}
.before-after__item:nth-child(2) img {
  border-color: var(--navy-2);
}
.before-after__item figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}
.before-after__arrow {
  position: absolute;
  right: -26px;
  top: 42%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.spot-powers {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.spot-powers li {
  flex: 1;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--paper);
}
.spot-powers strong {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.03em;
}
.spot-powers span {
  color: var(--orange-deep);
  font-weight: 700;
  margin-left: 4px;
}
.spot-machine .spec__table tbody th {
  width: 30%;
}
.spot-gun {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.spot-gun figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.spot-gun__main {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #fff, #eceff3) !important;
}
.spot-gun__side {
  display: grid;
  gap: 16px;
}
.spot-gun__head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}
.spot-gun__head figcaption {
  font-family: var(--font-display);
  font-weight: 700;
}
.spot-bench {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.spot-bench img {
  max-height: 520px;
  width: auto;
}
@media (max-width: 860px) {
  .spot-gun {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .before-after {
    gap: 16px;
  }
  .before-after__arrow {
    right: -22px;
    width: 32px;
    height: 32px;
  }
  .spot-powers strong {
    font-size: 24px;
  }
}

.clips--2 {
  grid-template-columns: repeat(2, minmax(0, 320px));
}

/* ---------- Banchi di saldatura 3D ---------- */
.table-hero {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.table-hero img {
  width: 100%;
}
.table-systems {
  list-style: none;
  display: grid;
  gap: 16px;
}
.table-systems li {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
}
.table-systems__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.table-systems__grid {
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.table-systems li p:last-child {
  color: var(--muted);
  margin: 0;
}
.table-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-figure img {
  width: 100%;
}
.feature-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.flyers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.flyers figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 1000px) {
  .feature-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .feature-grid--3,
  .flyers {
    grid-template-columns: 1fr;
  }
}

.clips--1 {
  grid-template-columns: minmax(0, 340px);
}

/* Video cobot: orizzontale grande + verticale */
.cobot-videos {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.cobot-videos .clip {
  margin-top: 0;
}
.clip--wide .clip__frame {
  aspect-ratio: 16 / 9;
}
@media (max-width: 760px) {
  .cobot-videos {
    grid-template-columns: 1fr;
  }
  .cobot-videos .clip:not(.clip--wide) {
    max-width: 320px;
  }
}

/* ---------- Formazione ---------- */
.training-modules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.training-modules li {
  background: var(--ink);
  padding: 28px 24px;
}
.training-modules h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.training-modules p {
  color: var(--muted-dark);
  margin: 0;
  font-size: 15.5px;
}
@media (max-width: 1000px) {
  .training-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .training-modules {
    grid-template-columns: 1fr;
  }
}

/* Menu su una riga anche con 8 voci */
.main-nav__link {
  white-space: nowrap;
  padding: 10px 9px;
  font-size: 14px;
}
.main-nav__link::after {
  left: 9px;
  right: 9px;
}
.site-header__inner {
  gap: 20px;
}
@media (max-width: 1360px) and (min-width: 1121px) {
  .site-header__cta {
    padding: 0 14px;
  }
  .site-header__cta span {
    font-size: 11.5px;
  }
}
/* Video verticale nelle sezioni a due colonne */
.split > figure.clip {
  max-width: 380px;
  justify-self: center;
  width: 100%;
}

.photo-frame--landscape,
.photo-frame--landscape img {
  max-height: none;
  aspect-ratio: 4 / 3;
}
