/* Self-hosted IBM Plex (Sans = variable latin/latin-ext; Mono = static 400/500) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-Variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #bf8c11;
  --gold-soft: rgb(191 140 17 / 0.35);
  --ink: #3a3f47;
  --ink-deep: #2c3138;
  --anthracite: #525862;
  --anthracite-fade: #6b7280;
  --text: #434955;
  --text-muted: #737b87;
  --surface: #ffffff;
  --surface-muted: #f3f4f6;
  --surface-soft: #ebedf0;
  --hero-base: #dfe2e7;
  --line: #d8dce2;
  --line-soft: rgb(216 220 226 / 0.7);
  --shadow-soft: 0 24px 48px rgb(44 49 56 / 0.06);
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max-width: 1200px;
  --header-h: 4.75rem;
  --radius: 2px;
  --radius-btn: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--ink-deep);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--surface);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* —— Header (Wix-style: light, airy) —— */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(191 140 17 / 0.12) 12%,
    rgb(191 140 17 / 0.5) 50%,
    rgb(191 140 17 / 0.12) 88%,
    transparent 100%
  );
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 8px 32px rgb(44 49 56 / 0.04);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 120;
}

.logo__img {
  display: block;
  height: 3.375rem;
  width: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.section-gold-line {
  border: 0;
  height: 1px;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(191 140 17 / 0.12) 12%,
    rgb(191 140 17 / 0.5) 50%,
    rgb(191 140 17 / 0.12) 88%,
    transparent 100%
  );
}

.section-gold-line--after-lead {
  margin: -1.5rem 0 2.75rem;
}

.menu-wrap {
  position: relative;
}

/* Preview: burger nascosto (non rimosso). Togli questa regola per rimostrarlo. */
.menu-wrap {
  display: none !important;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: rgb(255 255 255 / 0.7);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: min(16rem, calc(100vw - 2rem));
  padding: 0.65rem;
  background: rgb(255 255 255 / 0.98);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.site-nav[hidden] {
  display: none !important;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.85rem;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-muted);
  color: var(--ink-deep);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-active {
  color: var(--ink);
}

.lang-sep {
  color: var(--line);
}

@media (max-width: 480px) {
  .header-inner {
    width: min(100% - 1.25rem, var(--max-width));
    gap: 0.75rem;
  }

  .logo__img {
    height: 2.75rem;
  }

  .site-nav {
    min-width: min(14.5rem, calc(100vw - 1.5rem));
  }
}

/* Placeholders */
.media-placeholder {
  width: 100%;
  background: linear-gradient(145deg, var(--surface-soft) 0%, var(--hero-base) 45%, #d2d6dd 100%);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.media-placeholder--photo {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.media-placeholder--home {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.media-placeholder--small {
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
}

.placeholder-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 22rem;
}

.placeholder-label code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.js-reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 72px, 0) scale(0.985);
  transition:
    opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.js-reveal--left {
  transform: translate3d(-88px, 42px, 0) scale(0.985);
}

.js-reveal--right {
  transform: translate3d(88px, 42px, 0) scale(0.985);
}

.js-reveal--soft {
  transform: translate3d(0, 48px, 0) scale(0.992);
}

/* Foto / card: niente blur né slide orizzontale (evita flicker) */
.js-reveal.split-media,
.js-reveal.sector-card,
.js-reveal.split-media.js-reveal--left,
.js-reveal.split-media.js-reveal--right,
.js-reveal.sector-card.js-reveal--left,
.js-reveal.sector-card.js-reveal--right {
  filter: none;
  transform: translate3d(0, 36px, 0);
  will-change: opacity, transform;
}

.js-reveal.split-media.is-visible,
.js-reveal.sector-card.is-visible {
  filter: none;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Su mobile niente slide orizzontale: evita overflow e larghezza instabile */
@media (max-width: 767px) {
  .js-reveal--left,
  .js-reveal--right {
    transform: translate3d(0, 42px, 0) scale(0.985);
  }
}

.js-reveal--line {
  opacity: 0;
  filter: blur(0);
  transform: scaleX(0.18);
  transform-origin: center;
  transition:
    opacity 1s ease,
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal--line.is-visible {
  opacity: 1;
  transform: scaleX(1);
}

.section--warm {
  background: var(--surface);
}

.section--soft {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface) 100%);
}

.section--soft-reverse {
  background: linear-gradient(0deg, var(--surface-muted) 0%, var(--surface) 55%);
}

.section--contact {
  background: linear-gradient(
    165deg,
    #5c6370 0%,
    #4a515d 35%,
    #3f4652 70%,
    #383e48 100%
  );
  color: rgb(255 255 255 / 0.92);
}

.section--contact a {
  color: rgb(255 255 255 / 0.95);
}

.section--contact .section-lead,
.section--contact .contact-block p {
  color: rgb(255 255 255 / 0.78);
}

.section h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  margin: 0 0 1.25rem;
  scroll-margin-top: 0.75rem;
}

.section--contact h2 {
  color: var(--surface);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 2.75rem;
  font-weight: 400;
}

@media (min-width: 901px) {
  #settori .section-lead,
  #sectors .section-lead {
    max-width: none;
  }
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--anthracite-fade);
  margin: 0 0 0.5rem;
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.about-points {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--text);
}

.about-points li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.stats-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stat-item strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.material-chip {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: 6px;
  text-decoration: none;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.material-chip:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: 0 10px 22px rgb(44 49 56 / 0.06);
}

.material-chip--action {
  cursor: pointer;
  border-color: var(--gold-soft);
  font-weight: 500;
  margin-top: 1rem;
  font-family: inherit;
  appearance: none;
}

.material-chip--action:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: 0 10px 22px rgb(44 49 56 / 0.06);
}

.section--focus {
  background: var(--surface);
}

.material-chip--platinum {
  border-color: #8b939c;
  color: var(--ink-deep);
  font-weight: 500;
}

.material-chip--platinum:hover {
  border-color: #6e7680;
  color: var(--ink-deep);
  box-shadow: 0 10px 22px rgb(44 49 56 / 0.06);
}

.contact-registry {
  margin: 0.35rem 0 1.25rem !important;
  font-size: 0.75rem !important;
  line-height: 1.45 !important;
  color: rgb(255 255 255 / 0.5) !important;
}

.sector-list {
  margin: 0.75rem 0 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sector-list li {
  font-size: 0.9375rem;
  color: var(--text);
}

.alloy-list {
  margin: 0 0 1.75rem;
  max-width: 46rem;
  gap: 0.85rem;
}

.alloy-list li {
  line-height: 1.55;
}

.sector-card {
  display: grid;
  gap: 2.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
}

.sector-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.sector-card:last-child,
.sector-card.sector-card--standalone {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 768px) {
  .sector-card {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }

  .sector-card--reverse .sector-card-media {
    order: 2;
  }

  .sector-card--reverse .sector-card-body {
    order: 1;
  }
}

.sector-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.625rem);
  font-weight: 400;
  color: var(--ink-deep);
  margin: 0 0 1rem;
}

.sector-diff {
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-left: 2px solid var(--gold-soft);
  padding-left: 1rem;
  margin-top: 1.25rem;
}

.tech-data-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 1.5rem 0 0.5rem;
}

.tech-data-block {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  background: var(--surface-muted);
  border: 1px solid var(--line-soft);
  padding: 1rem 1.25rem;
  margin: 0;
  overflow-x: auto;
  color: var(--ink);
}

.process-steps {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
}

.process-steps li {
  margin-bottom: 0.65rem;
}

.prose {
  max-width: 68ch;
}

.prose h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-deep);
  margin: 2rem 0 0.75rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.contact-block p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.contact-name {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.contact-control {
  margin: 0 0 0.85rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
  color: rgb(255 255 255 / 0.62) !important;
}

.contact-vat {
  margin: 0 0 0.35rem !important;
  font-size: 0.8125rem !important;
  color: rgb(255 255 255 / 0.55) !important;
}

.contact-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 1.25rem;
}

.contact-address {
  flex: 0 1 auto;
  max-width: 16rem;
}

.contact-address h3,
.contact-block h3 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgb(255 255 255 / 0.55);
  margin: 0 0 0.4rem;
  font-weight: 500;
}

.contact-phone,
.contact-email {
  margin: 0.35rem 0 0 !important;
}

.contact-label {
  display: inline-block;
  min-width: 3.5rem;
  margin-right: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.55);
}

.contact-link {
  font-size: 1rem;
  text-decoration: none;
}

.contact-link:hover {
  opacity: 0.75;
}

.contact-link--email {
  font-size: 0.9375rem;
}

.section--contact {
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.section--contact h2 {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #eef0f3 0%, #e6e9ed 100%);
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.8125rem;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink-deep);
}

.lang-switch--footer .lang-active {
  color: var(--ink);
}

/* Legal document pages */
.section--legal {
  padding-top: 2.5rem;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  background: var(--surface);
}

.legal-doc {
  max-width: 68ch;
}

.legal-doc h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-deep);
}

.legal-doc h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-deep);
}

.legal-doc h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-deep);
}

.legal-doc p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-doc code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.legal-doc a {
  color: var(--ink);
}

.legal-doc a:hover {
  color: var(--ink-deep);
}

/* Product landing pages (e.g. semilavorati platino) */
.section--product {
  padding-top: 2.5rem;
  padding-bottom: 0;
}

.section--product.section--alloys {
  flex: 1 0 auto;
  padding-bottom: clamp(5rem, 12vh, 8rem);
}

.product-crumb {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.product-crumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.product-crumb a:hover {
  color: var(--ink-deep);
}

.product-crumb [aria-current="page"] {
  color: var(--ink);
}

.section--product h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  margin: 0 0 1.25rem;
}

.product-spec-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 0.5rem;
}

@media (min-width: 700px) {
  .product-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.site-nav [aria-current="page"] {
  color: var(--ink-deep);
}

.sector-list a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.product-cluster {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .product-cluster {
    grid-template-columns: 1fr 1fr;
  }
}

.product-cluster a {
  display: block;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-cluster a:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 10px 22px rgb(44 49 56 / 0.06);
}

.product-cluster a strong {
  display: block;
  font-weight: 500;
}

.product-cluster a span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.more-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--ink-deep);
  font-size: 0.9375rem;
}

.preview-note {
  margin: 0;
  padding: 0.65rem 1rem;
  background: #111318;
  color: #f4f3f0;
  font-size: 0.8125rem;
  text-align: center;
}

.preview-note a {
  color: #e4c56a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal,
  .js-reveal--left,
  .js-reveal--right,
  .js-reveal--line,
  .material-chip,
  .sector-card,
  .btn,
  .site-header {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
}


/* ==========================================================================
   HERO ONE — tavola periodica in SVG, metalli preziosi pulsanti
   ========================================================================== */

:root{
  --one-oro:#BF8C11;
  --one-testo:#1A1A1A;
  --one-fondo:#F4F3F0;
}

.one-hero{
  position:relative;
  width:100%;
  margin-top: 0;
  background:var(--one-fondo);
  display:flex;
  justify-content:center;
}

.one-hero__stage{
  position:relative;
  width:min(100%, calc((100dvh - var(--header-h)) * 3592 / 1917));
  container-type:inline-size;
}

.one-hero__stage > svg,
.one-hero > svg{
  display:block;
  width:100%;
  height:auto;
  -webkit-mask-image:linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image:linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-mode:alpha;
}

/* Il claim riempie il vuoto della tavola fra la colonna Be-Mg e la colonna B-Al.
   Le percentuali derivano dalla griglia dell'SVG: non modificarle. */
.one-hero__claim{
  position:absolute;
  left:13.3630%;
  top:14.4497%;
  width:52.4499%;
  height:18.7793%;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.one-hero__claim h1{
  margin:0;
  width:100%;
  padding-inline:.8cqw;
  font-family:"IBM Plex Sans",system-ui,sans-serif;
  font-weight:616;
  -webkit-text-stroke:0;
  font-size:clamp(1.27rem, 3.09cqw, 2.84rem);
  line-height:1.22;
  letter-spacing:-.015em;
  color:var(--one-testo);
  text-align:center;
}

.one-hero__line{
  display:inline-block;
  white-space:nowrap;
  animation:one-line-in 1.2s ease both;
}

.one-hero__line:last-child{
  animation-delay:0.35s;
}

@keyframes one-line-in{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

/* --------------------------------------------------------------------------
   MOBILE — stessa disposizione; tavola a tutta larghezza.
   -------------------------------------------------------------------------- */
@media (max-width:900px){
  .one-hero__stage{
    width:100%;
  }
  .one-hero__claim{
    height: 18.7793%;
    overflow: visible;
    align-items: center;
    justify-content: center;
  }
  .one-hero__claim h1{
    font-size: clamp(0.85rem, 2.8cqw, 1.2rem);
    line-height: 1.25;
    padding-inline: 0.5cqw;
  }
}

@media (prefers-reduced-motion:reduce){
  .one-hero__line{
    animation:none;
    opacity:1;
    transform:none;
  }
}


/* ==========================================================================
   ALLOY FUSE — due coppie insieme, una sopra l'altra, poi le altre due.
   Ciclo 16s: (Pt+Cu sopra, Pt+Ru sotto) → (Pt+Ga sopra, Pt+Rh sotto)
   ========================================================================== */

.alloy-fuse {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

.alloy-fuse__svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-variant-ligatures: none;
}

.alloy-fuse__tile--left rect,
.alloy-fuse__tile--right rect {
  fill: #ffffff;
  stroke: #c7c7c2;
  stroke-width: 2;
}

.alloy-fuse__tile--fused rect {
  fill: #ffffff;
  stroke: #c7c7c2;
  stroke-width: 2;
}

.alloy-fuse__n {
  font-size: 13px;
  font-weight: 400;
  fill: #6e7176;
}

.alloy-fuse__s {
  font-size: 42px;
  font-weight: 600;
  fill: #2b2e32;
  text-anchor: middle;
}

.alloy-fuse__s--fused {
  font-size: 36px;
}

.alloy-fuse__e,
.alloy-fuse__m {
  font-size: 11px;
  font-weight: 400;
  fill: #6e7176;
  text-anchor: middle;
}

.alloy-fuse__tone--cu rect { fill: #d4f3fb; stroke: #7ec8e4; }
.alloy-fuse__tone--cu .alloy-fuse__s,
.alloy-fuse__tone--cu .alloy-fuse__e { fill: #2f86a8; }

.alloy-fuse__tone--ru rect { fill: #dce8dc; stroke: #a8c0a8; }
.alloy-fuse__tone--ru .alloy-fuse__s,
.alloy-fuse__tone--ru .alloy-fuse__e { fill: #6f9170; }

.alloy-fuse__tone--rh rect { fill: #e6dff0; stroke: #b7a8c8; }
.alloy-fuse__tone--rh .alloy-fuse__s,
.alloy-fuse__tone--rh .alloy-fuse__e { fill: #8d7a9e; }

.alloy-fuse__tone--ga rect { fill: #d7e7f4; stroke: #9ebbd0; }
.alloy-fuse__tone--ga .alloy-fuse__s,
.alloy-fuse__tone--ga .alloy-fuse__e { fill: #6d90a8; }

.alloy-fuse__scene {
  --alloy-delay: 0s;
  opacity: 0;
  animation: alloy-scene 16s linear infinite;
  animation-delay: var(--alloy-delay);
}

.alloy-fuse__scene--cu,
.alloy-fuse__scene--ru { --alloy-delay: 0s; }

.alloy-fuse__scene--rh,
.alloy-fuse__scene--ga { --alloy-delay: -8s; }

.alloy-fuse__tile--left,
.alloy-fuse__tile--right,
.alloy-fuse__tile--fused {
  opacity: 0;
  animation-duration: 16s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease;
  animation-iteration-count: infinite;
  animation-delay: var(--alloy-delay);
}

.alloy-fuse__row--top .alloy-fuse__tile--left { animation-name: alloy-left-top, alloy-fade-start; }
.alloy-fuse__row--bottom .alloy-fuse__tile--left { animation-name: alloy-left-bottom, alloy-fade-start; }
.alloy-fuse__row--top .alloy-fuse__tile--right { animation-name: alloy-right-top, alloy-fade-start; }
.alloy-fuse__row--bottom .alloy-fuse__tile--right { animation-name: alloy-right-bottom, alloy-fade-start; }
.alloy-fuse__row--top .alloy-fuse__tile--fused { animation-name: alloy-fused-top, alloy-fade-fused; }
.alloy-fuse__row--bottom .alloy-fuse__tile--fused { animation-name: alloy-fused-bottom, alloy-fade-fused; }

@keyframes alloy-scene {
  0%,
  44% { opacity: 1; }
  50%,
  100% { opacity: 0; }
}

@keyframes alloy-fade-start {
  0% { opacity: 0; }
  7% { opacity: 1; }
  22% { opacity: 1; }
  40%,
  100% { opacity: 0; }
}

@keyframes alloy-fade-fused {
  0%,
  28% { opacity: 0; }
  38% { opacity: 1; }
  44% { opacity: 1; }
  50%,
  100% { opacity: 0; }
}

@keyframes alloy-left-top {
  0%,
  14% { transform: translate(156px, 28px); }
  42%,
  100% { transform: translate(236px, 28px); }
}

@keyframes alloy-right-top {
  0%,
  14% { transform: translate(372px, 28px); }
  42%,
  100% { transform: translate(292px, 28px); }
}

@keyframes alloy-left-bottom {
  0%,
  14% { transform: translate(156px, 208px); }
  42%,
  100% { transform: translate(236px, 208px); }
}

@keyframes alloy-right-bottom {
  0%,
  14% { transform: translate(372px, 208px); }
  42%,
  100% { transform: translate(292px, 208px); }
}

@keyframes alloy-fused-top {
  0%,
  28% { transform: translate(246px, 28px) scale(0.98); }
  38%,
  44% { transform: translate(246px, 28px) scale(1); }
  50%,
  100% { transform: translate(246px, 28px) scale(0.98); }
}

@keyframes alloy-fused-bottom {
  0%,
  28% { transform: translate(246px, 208px) scale(0.98); }
  38%,
  44% { transform: translate(246px, 208px) scale(1); }
  50%,
  100% { transform: translate(246px, 208px) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  .alloy-fuse__scene,
  .alloy-fuse__tile--left,
  .alloy-fuse__tile--right,
  .alloy-fuse__tile--fused {
    animation: none !important;
  }

  .alloy-fuse__scene {
    opacity: 0;
  }

  .alloy-fuse__scene--cu,
  .alloy-fuse__scene--ru {
    opacity: 1;
  }

  .alloy-fuse__scene .alloy-fuse__tile--left,
  .alloy-fuse__scene .alloy-fuse__tile--right {
    opacity: 0;
  }

  .alloy-fuse__scene--cu .alloy-fuse__tile--fused {
    opacity: 1;
    transform: translate(246px, 28px);
  }

  .alloy-fuse__scene--ru .alloy-fuse__tile--fused {
    opacity: 1;
    transform: translate(246px, 208px);
  }
}
