:root{
  --navy:#0B1B33;
  --navy-2:#071325;
  --red:#5A0F1B;
  --red-2:#7A1324;
  --ink:#0F172A;
  --muted:#475569;
  --line:#E2E8F0;
  --bg:#FFFFFF;
  --bg-2:#F7FAFC;
  --radius:18px;
  --shadow:0 18px 45px rgba(2,8,23,.12);
  --shadow-sm:0 10px 25px rgba(2,8,23,.10);
  --focus: 0 0 0 4px rgba(90,15,27,.22);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
:focus-visible{ outline:none; box-shadow: var(--focus); border-radius: 10px; }

.container{
  width:min(1120px, calc(100% - 48px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  z-index:9999;
}
.skip-link:focus{ left:12px; }

header.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(226,232,240,.7);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:0;
  min-width:320px;
}

.brand img{
  width:320px;
  height:auto;
  display:block;
  object-fit:contain;
}

.brand .name{
  display:none;
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav a{
  padding:10px 12px;
  border-radius:14px;
  color:var(--ink);
  font-weight:600;
  font-size:14px;
  transition: background .18s ease, transform .18s ease;
}
.nav a:hover{
  background:rgba(11,27,51,.06);
  transform: translateY(-1px);
}
.nav a.active{
  background:rgba(90,15,27,.10);
  color:var(--navy);
}
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.lang-switch{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px;
  background:#fff;
}
.lang-switch a{
  font-size:13px;
  font-weight:700;
  padding:8px 10px;
  border-radius:999px;
  transition: background .18s ease, color .18s ease;
}
.lang-switch a:hover{ background:rgba(11,27,51,.06); }
.lang-switch a.active{ background:var(--navy); color:#fff; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  font-size:14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor:pointer;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn.primary{
  background:linear-gradient(135deg,var(--navy),var(--red));
  color:#fff;
  box-shadow: var(--shadow-sm);
}
.btn.primary:hover{ transform: translateY(-1px); }
.btn.ghost{
  color:#000000;
  background:transparent;
  border-color:var(--line);
}
.btn.ghost:hover{ background:rgba(11,27,51,.06); }

.burger{
  display:none;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.burger span{
  width:18px;
  height:2px;
  background:var(--ink);
  display:block;
  position:relative;
}
.burger span::before,.burger span::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:var(--ink);
}
.burger span::before{ top:-6px; }
.burger span::after{ top:6px; }

.mobile-drawer{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.55);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:2000;
}
.mobile-drawer.open{
  opacity:1;
  pointer-events:auto;
}
.drawer-panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(92vw, 360px);
  background:#fff;
  padding:18px 18px 22px;
  transform: translateX(18px);
  transition: transform .18s ease;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.mobile-drawer.open .drawer-panel{
  transform: translateX(0);
}
.drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.drawer-close{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.drawer-nav{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:8px 0;
}
.drawer-nav a{
  padding:12px 12px;
  border-radius:14px;
  font-weight:800;
}
.drawer-nav a:hover{
  background:rgba(11,27,51,.06);
}
.drawer-actions{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hr{ height:1px; background:var(--line); }

.hero{
  position:relative;
  overflow:hidden;
  background: var(--navy);
}
.hero .hero-bg{
  position:absolute;
  inset:0;
  background:url("../assets/foto/Immagine\ di\ produzione\ 10.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.hero .hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(11,27,51,.86), rgba(11,27,51,.70), rgba(90,15,27,.55));
}
.hero .hero-content{
  position:relative;
  padding: clamp(72px, 10vw, 120px) 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.hero h1{
  margin:0;
  color:#fff;
  font-weight:900;
  letter-spacing:-.5px;
  line-height:1.05;
  font-size: clamp(34px, 4.2vw, 54px);
}
.hero p{
  margin:14px 0 0;
  color:rgba(255,255,255,.86);
  max-width:52ch;
  font-size: clamp(15px, 1.3vw, 18px);
}
.hero-cta{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.hero-cards{
  background: rgba(0, 33, 83, 0);
  border:1px solid rgba(134, 0, 0, 0);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 20px 60px rgba(2,6,23,.28);
}
.card-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.link-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px;
  border-radius: 16px;
  background: rgba(155, 4, 4, 0.089);
  border:3px solid rgba(33, 0, 221, 0.295);
  transition: transform .18s ease, background .18s ease;
  min-height:112px;
}
.link-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}
.link-card .t{
  color:#fff;
  font-weight:900;
  letter-spacing:.2px;
}
.link-card .d{
  color: rgba(255,255,255,.78);
  font-size:13px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  font-weight:800;
  font-size:12px;
  width:fit-content;
}

.section{
  padding: 10px 0;
}
.section.alt{
  background: var(--bg-2);
  border-top:1px solid rgba(226,232,240,.65);
  border-bottom:1px solid rgba(226,232,240,.65);
}
.section h2{
  margin:0;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing:-.3px;
}
.section p.lead{
  margin:10px 0 0;
  color:var(--muted);
  max-width:70ch;
}
.kpi-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.kpi{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  transition: transform .18s ease;
}
.kpi:hover{ transform: translateY(-2px); }
.kpi .n{
  font-weight:900;
  font-size:18px;
}
.kpi .l{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}
.two-col{
  margin-top:22px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.panel h3{
  margin:0 0 8px;
  font-size:18px;
}
.panel p{
  margin:0 0 10px;
  color:var(--muted);
}
.panel a.inline{
  font-weight:900;
  color:var(--navy);
}
.panel a.inline:hover{ text-decoration:underline; }

.breadcrumbs{
  font-size:13px;
  color:var(--muted);
  padding:16px 0 6px;
}
.breadcrumbs a{ color:var(--muted); text-decoration:underline; }
.breadcrumbs span{ color:var(--ink); font-weight:800; }

.page-hero{
  padding: 34px 0 24px;
  background: linear-gradient(135deg, rgba(11,27,51,.06), rgba(90,15,27,.06));
  border-bottom:1px solid rgba(226,232,240,.7);
}
.page-hero h1{
  margin:0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing:-.4px;
}
.page-hero p{
  margin:10px 0 0;
  color:var(--muted);
  max-width:75ch;
}

.timeline{
  margin-top:18px;
  display:grid;
  gap:12px;
}
.t-item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}
.t-item .year{
  font-weight:900;
  color:var(--navy);
}
.t-item .txt{
  color:var(--muted);
}
@media (max-width: 700px){
  .t-item{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .t-item .year{
    margin-bottom: 2px;
  }

  .t-item .txt{
    grid-column: 1;
  }
}
/* Tabella personalizzabile */
.tabella-custom {
  --font-size-tabella: 16px;      /* dimensione testo generale */
  --font-size-header: 18px;       /* dimensione intestazioni */
  --font-size-celle: 16px;        /* dimensione celle */
  --img-width: 1000px;             /* larghezza immagine */
  --img-border-size: 2px;         /* spessore bordo immagine */
  --img-border-color: #201b1b;       /* colore bordo immagine */
  --img-border-radius: 15px;       /* angoli arrotondati immagine */
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-tabella);
}

.tabella-custom th,
.tabella-custom td {
  border: var(--table-border-size) solid var(--table-border-color);
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.tabella-custom th {
  font-size: var(--font-size-header);
}

.tabella-custom td {
  font-size: var(--font-size-celle);
}

.tabella-custom img {
  width: var(--img-width);
  height: auto;
  display: block;
  border: var(--img-border-size) solid var(--img-border-color);
  border-radius: var(--img-border-radius);
}

/* Tabella personalizzabile 2 */
.tabella-custom2 {
  --font-size-tabella: 16px;      /* dimensione testo generale */
  --font-size-header: 18px;       /* dimensione intestazioni */
  --font-size-celle: 16px;        /* dimensione celle */
  --img-width: 500px;             /* larghezza immagine */
  --img-border-size: 2px;         /* spessore bordo immagine */
  --img-border-color: #201b1b;       /* colore bordo immagine */
  --img-border-radius: 15px;       /* angoli arrotondati immagine */
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-tabella);
}

.tabella-custom2 th,
.tabella-custom2 td {
  border: var(--table-border-size) solid var(--table-border-color);
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.tabella-custom2 th {
  font-size: var(--font-size-header);
}

.tabella-custom2 td {
  font-size: var(--font-size-celle);
}

.tabella-custom2 img {
  width: var(--img-width);
  height: auto;
  display: block;
  border: var(--img-border-size) solid var(--img-border-color);
  border-radius: var(--img-border-radius);
}


.values{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
}
.value{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  padding:18px;
}
.value .h{
  font-weight:900;
}
.value .p{
  color:var(--muted);
  margin-top:6px;
  font-size:14px;
}

.catalog-controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width: 220px;
}
label{
  font-weight:800;
  font-size:13px;
}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  font: inherit;
  background:#fff;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  outline:none;
  box-shadow: var(--focus);
  border-color: rgba(90,15,27,.35);
}

.table-wrap{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
table{
  width:100%;
  border-collapse: collapse;
}
th,td{
  padding:12px 12px;
  border-bottom:1px solid rgba(226,232,240,.9);
  text-align:left;
  font-size:14px;
}
th{
  background: rgba(11,27,51,.04);
  font-weight:900;
}
tr:hover td{
  background: rgba(90,15,27,.03);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  font-size:12px;
  color:var(--navy);
}
.badge.red{
  background: rgba(90,15,27,.07);
  border-color: rgba(90,15,27,.18);
  color: var(--red-2);
}

.steps{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
}
.step .k{
  font-weight:900;
  color:var(--navy);
}
.step .t{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
}
.process{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}
.process .bar{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  align-items:center;
}
.node{
  padding:14px;
  border-radius: 16px;
  border:1px solid rgba(11,27,51,.14);
  background: linear-gradient(135deg, rgba(11,27,51,.03), rgba(90,15,27,.03));
  text-align:center;
  font-weight:900;
}
.arrow{
  text-align:center;
  color:var(--muted);
  font-weight:900;
}

.faq{
  margin-top:18px;
  display:grid;
  gap:10px;
}
details{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  padding:14px 16px;
}
summary{
  cursor:pointer;
  font-weight:900;
}
details p{
  margin:10px 0 0;
  color:var(--muted);
}

.contact-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
}
.form-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.form-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.note{
  font-size:13px;
  color:var(--muted);
}
.map-box{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.map-box iframe{
  width:100%;
  height: 320px;
  border:0;
}
.contact-card{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  padding:18px;
}
.contact-card .row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(226,232,240,.9);
}
.contact-card .row:last-child{ border-bottom:0; }
.contact-card .k{
  font-weight:900;
  color:var(--muted);
  font-size:13px;
}
.contact-card .v{
  font-weight:900;
}
.contact-card a{
  color:var(--navy);
  text-decoration:underline;
}

footer.site-footer{
  background: linear-gradient(135deg, rgba(11,27,51,.95), rgba(90,15,27,.92));
  color:#fff;
  margin-top: 34px;
}
footer.site-footer2{
  background: linear-gradient(135deg, rgba(11,27,51,.95), rgba(90,15,27,.92));
  color:#fff;
  margin-top: -1px;
}
.footer-inner{
  padding: 36px 0;
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:18px;
}
.footer-inner .muted{
  color: rgba(255,255,255,.78);
  font-size:14px;
}
.footer-links{
  display:grid;
  gap:8px;
}
.footer-links a{
  color:#fff;
  opacity:.9;
  text-decoration:none;
}
.footer-links a:hover{ text-decoration:underline; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.18);
  padding:14px 0;
  font-size:13px;
  color:rgba(255,255,255,.78);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color:#ffffff;
  font-weight:900;
  font-size:12px;
}
.tag1{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color:#000000;
  font-weight:900;
  font-size:12px;
}

.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{
  opacity:1;
  transform:none;
}

@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .kpi-grid{ grid-template-columns: repeat(2,1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .process .bar{ grid-template-columns: 1fr; }
  .arrow{ display:none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav, .header-actions .btn{ display:none; }
  .burger{ display:flex; }
  .brand{ min-width: unset; }
}
.products-showcase .panel {
  overflow: hidden;
}

.product-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.product-gallery-header h1 {
  margin: 10px 0 0;
}

.product-gallery-intro {
  margin: 10px 0 0;
  max-width: 72ch;
}

.product-groups {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.product-group {
  padding: 22px;
  border: 1px solid rgba(11, 27, 51, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,253,0.98));
}

.product-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-group-head h2 {
  margin: 8px 0 0;
}

.product-group-head p {
  margin: 8px 0 0;
}

.product-photo-grid {
  display: grid;
  gap: 18px;
}

.product-photo-grid.standard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-photo-grid.special-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 51, 0.08);
  box-shadow: 0 14px 32px rgba(11, 27, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 27, 51, 0.14);
  border-color: rgba(123, 30, 43, 0.22);
}

.product-card-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(123, 30, 43, 0.06), transparent 35%),
    linear-gradient(135deg, #f5f7fa, #e9eef4);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card-body {
  padding: 16px 16px 18px;
}

.product-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #0B1B33;
}

.product-card-body p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.55;
  font-size: 0.95rem;
}

.product-type {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #0B1B33;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-type.special {
  background: #7B1E2B;
}

@media (max-width: 1200px) {
  .product-photo-grid.standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-photo-grid.special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-group {
    padding: 16px;
    border-radius: 18px;
  }

  .product-photo-grid.standard-grid,
  .product-photo-grid.special-grid {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    aspect-ratio: 16 / 10;
  }
}
.section-tight {
  padding-top: 0;
}

.custom-work-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 27, 51, 0.98), rgba(24, 43, 73, 0.96));
  border: 1px solid rgba(123, 30, 43, 0.28);
  box-shadow: 0 18px 40px rgba(11, 27, 51, 0.16);
}

.custom-work-content {
  flex: 1 1 620px;
}

.custom-work-box h2 {
  margin: 10px 0 10px;
  color: #fff;
}

.custom-work-box p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  max-width: 72ch;
  line-height: 1.65;
}

.custom-work-actions {
  flex: 0 0 auto;
}

html{
  scroll-behavior: smooth;
}

.products-subnav-wrap{
  position: fixed;
  top: 92px;
  left: 0;
  width: 100%;
  z-index: 1200;
  pointer-events: none;
}

.products-subnav-wrap .container{
  display: flex;
  justify-content: center;
}

.products-subnav{
  pointer-events: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 27, 51, 0.10);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(11, 27, 51, 0.10);
}

.products-subnav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 27, 51, 0.10);
  background: #ffffff;
  color: #0B1B33;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.products-subnav a:hover{
  background: rgba(32, 48, 128, 0.06);
  border-color: rgba(32, 48, 128, 0.18);
  color: #203080;
}

.products-subnav a:focus-visible{
  outline: none;
  border-color: #203080;
  box-shadow: 0 0 0 4px rgba(32, 48, 128, 0.12);
}

#main{
  padding-top: 86px;
}

#section-showcase,
#section-custom,
#section-catalog{
  scroll-margin-top: 180px;
}

.product-gallery-intro{
  margin-top: 8px;
  max-width: 72ch;
}

.catalog-intro{
  margin-top: 8px;
  max-width: 70ch;
}

.catalog-link{
  color: #203080;
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.catalog-link:hover{
  color: #16245f;
  text-decoration: underline;
}

.catalog-link:focus-visible{
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(32, 48, 128, 0.12);
}

#productTable tbody tr{
  transition: background-color .2s ease;
}

#productTable tbody tr:hover{
  background: rgba(32, 48, 128, 0.03);
}

@media (max-width: 768px){
  .products-subnav-wrap{
    top: 78px;
  }

  .products-subnav{
    gap: 8px;
    padding: 8px 10px;
    max-width: calc(100vw - 20px);
  }

  .products-subnav a{
    font-size: .9rem;
    padding: 8px 12px;
  }

  #main{
    padding-top: 96px;
  }

  #section-showcase,
  #section-custom,
  #section-catalog{
    scroll-margin-top: 165px;
  }
}

@media (max-width: 700px){
  .custom-work-box{
    padding: 20px 18px;
    border-radius: 18px;
  }

  .custom-work-actions{
    width: 100%;
  }

  .custom-work-actions .btn{
    width: 100%;
    justify-content: center;
  }
}

.product-gallery-intro{
  margin-top: 8px;
  max-width: 72ch;
}

.catalog-intro{
  margin-top: 8px;
  max-width: 70ch;
}

.catalog-link{
  color: #203080;
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.catalog-link:hover{
  color: #16245f;
  text-decoration: underline;
}

.catalog-link:focus-visible{
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(32, 48, 128, 0.12);
}

#productTable tbody tr{
  transition: background-color .2s ease;
}

#productTable tbody tr:hover{
  background: rgba(32, 48, 128, 0.03);
}

@media (max-width: 768px){
  .products-subnav{
    gap: 8px;
  }

  .products-subnav a{
    font-size: .9rem;
    padding: 8px 12px;
  }

  #section-showcase,
  #section-custom,
  #section-catalog{
    scroll-margin-top: 90px;
  }
}
.materials-bubble{
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.96), rgba(20, 40, 70, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  color: #f4f7fb;
}

.materials-bubble-title{
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.materials-bubble-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.materials-bubble-list li{
  margin: 0;
  color: rgba(244, 247, 251, 0.92);
  line-height: 1.55;
}

@media (max-width: 700px){
  .materials-bubble{
    padding: 16px 16px;
    border-radius: 16px;
  }

  .materials-bubble-title{
    font-size: 0.88rem;
  }

  .materials-bubble-list{
    gap: 6px;
    padding-left: 16px;
  }

  .materials-bubble-list li{
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
.products-slider-section{
  padding-top: 26px;
  padding-bottom: 10px;
}

.products-slider{
  position: relative;
  padding: 0 56px;
}

.products-slider-viewport{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.products-slider-viewport::before,
.products-slider-viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.products-slider-viewport::before{
  left: 0;
  background: linear-gradient(to right, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0.55) 38%, rgba(7,17,31,0) 100%);
}

.products-slider-viewport::after{
  right: 0;
  background: linear-gradient(to left, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0.55) 38%, rgba(7,17,31,0) 100%);
}

.products-slider-track{
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.products-slide{
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 36px rgba(0,0,0,0.18);
}

.products-slide img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.products-slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(11,27,51,0.88);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.products-slider-arrow:hover{
  background: rgba(142, 24, 36, 0.88);
  border-color: rgba(255,255,255,0.24);
}

.products-slider-arrow:active{
  transform: translateY(-50%) scale(0.96);
}

.products-slider-arrow.prev{
  left: 0;
}

.products-slider-arrow.next{
  right: 0;
}

.products-slider-arrow span{
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 1100px){
  .products-slide{
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media (max-width: 700px){
  .products-slider-section{
    padding-top: 20px;
  }

  .products-slider{
    padding: 0 42px;
  }

  .products-slider-viewport{
    border-radius: 18px;
  }

  .products-slider-viewport::before,
  .products-slider-viewport::after{
    width: 48px;
  }

  .products-slider-track{
    gap: 12px;
  }

  .products-slide{
    flex: 0 0 100%;
    border-radius: 18px;
  }

  .products-slider-arrow{
    width: 36px;
    height: 36px;
  }

  .products-slider-arrow span{
    font-size: 24px;
  }
}
@media (max-width: 900px){
  .page-hero .container{
    grid-template-columns: 1fr !important;
  }
}
html, body{
  margin: 0;
  padding: 0;
}

.site-header{
  margin-bottom: 0 !important;
}

main{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-hero{
  margin-top: 0 !important;
}
.nav{
  overflow: visible;
}

.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger{
  display: inline-flex;
  align-items: center;
}

.nav-products .products-subnav-wrap{
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 1300;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.nav-products .products-subnav{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(237, 237, 238, 0.96);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-products .products-subnav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-products:hover .products-subnav-wrap,
.nav-products:focus-within .products-subnav-wrap{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px){
  .nav-products .products-subnav-wrap{
    display: none;
  }
}
/* =========================================================
   BLOCCO: FASI DEL CONTROLLO QUALITÀ
   Le 2 cose principali da modificare sono qui sotto:
   --qc-module-max-width  = larghezza totale del modulo
   --qc-card-min-width    = larghezza minima delle singole card
   ========================================================= */

.qc-steps-section{
  --qc-module-max-width: 1750px;  /* LARGHEZZA TOTALE DEL MODULO */
  --qc-card-min-width: 240px;     /* LARGHEZZA MINIMA DELLA SINGOLA CARD */
  --qc-card-gap: 16px;
  --qc-panel-padding: 24px;
  --qc-card-padding: 18px;
  --qc-card-radius: 20px;
  --qc-number-size: 38px;
}

/* contenitore totale del modulo */
.qc-steps-section .container{
  width: 100%;
  max-width: var(--qc-module-max-width); /* QUI allarghi o stringi tutto il modulo */
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* pannello principale */
.qc-steps-panel{
  margin-top: 16px;
  padding: var(--qc-panel-padding);
  border-radius: 24px;
  box-sizing: border-box;
}

/* titolo del modulo */
.qc-steps-panel h2{
  margin: 0 0 18px;
}

/* griglia card */
.qc-steps-section .quality-flow{
  display: grid;
  gap: var(--qc-card-gap);
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--qc-card-min-width), 1fr)
  );
  align-items: stretch;
}

/* card singola */
.qc-steps-section .step-card{
  min-width: 0;
  padding: var(--qc-card-padding);
  border-radius: var(--qc-card-radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  box-sizing: border-box;
  height: 100%;
}

/* numero */
.qc-steps-section .step-card .n{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--qc-number-size);
  height: var(--qc-number-size);
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  line-height: 1;
}

/* titolo card */
.qc-steps-section .step-card h3{
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
}

/* testo card */
.qc-steps-section .step-card p{
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

/* tablet */
@media (max-width: 900px){
  .qc-steps-section{
    --qc-module-max-width: 100%;
    --qc-card-min-width: 220px;
    --qc-panel-padding: 20px;
    --qc-card-padding: 16px;
  }

  .qc-steps-section .container{
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* mobile */
@media (max-width: 640px){
  .qc-steps-section{
    --qc-card-min-width: 100%;
    --qc-card-gap: 12px;
    --qc-panel-padding: 16px;
    --qc-card-padding: 15px;
    --qc-card-radius: 16px;
    --qc-number-size: 34px;
  }

  .qc-steps-panel h2{
    margin-bottom: 14px;
  }
}
.quality-certs{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.quality-cert{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:100%;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255, 255, 255, 0.404);
  box-shadow:0 10px 24px rgba(0,0,0,.14);
  color:#000000;
  line-height:1.35;
  text-align:center;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

@media (max-width: 640px){
  .quality-cert{
    width:100%;
    justify-content:flex-start;
    border-radius:18px;
    text-align:left;
  }
}
/* =========================
   HOME - BLOCCO IN BREVE
   ========================= */

.home-overview-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr);
  gap:24px;
  align-items:start;
  margin-top:24px;
}

.home-overview-left{
  display:grid;
  gap:16px;
}

.home-kpi-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.home-feature-stack{
  display:grid;
  gap:16px;
}

.home-feature-stack .panel{
  height:100%;
}

.home-overview-right{
  min-width:0;
}

.owners-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.owner-card{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

.owner-card img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  image-rendering:auto;
  -ms-interpolation-mode:bicubic;
}

.owner-card-body{
  padding:14px 16px 10px;
}

.owner-card-body h3{
  margin:10px 0 0;
  font-size:1rem;
  line-height:1.25;
}

/* =========================
   HOME - MAPPA MONDO
   ========================= */

.world-map-section .container{
  max-width:1400px;
}

.world-map-panel{
  overflow:hidden;
}

.world-map-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  flex-wrap:wrap;
}

.lead-sm{
  margin:10px 0 0;
  max-width:70ch;
  color:var(--muted);
}

.world-map-legend{
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.world-map-legend-dot{
  width:14px;
  height:14px;
  border-radius:999px;
  background:#8b1e2d;
  box-shadow:0 0 0 1px rgba(255,255,255,.12) inset;
  flex:0 0 auto;
}

.world-map-canvas{
  width:100%;
  height:540px;
  margin-top:22px;
  border-radius:24px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
}

/* tooltip jsVectorMap */
.jvm-tooltip{
  font-family:Inter, sans-serif;
  font-size:.92rem;
  line-height:1.35;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  background:#0B1B33;
  color:#fff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px){
  .home-overview-layout{
    grid-template-columns:1fr;
  }

  .home-overview-right{
    order:2;
  }

  .home-overview-left{
    order:1;
  }
}

@media (max-width: 700px){
  .home-kpi-grid,
  .owners-grid{
    grid-template-columns:1fr;
  }

  .world-map-canvas{
    height:350px;
  }
}
.world-map-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.7fr) minmax(280px, .7fr);
  gap:20px;
  align-items:stretch;
  margin-top:22px;
}

.world-map-main{
  min-width:0;
}

.world-map-canvas{
  margin-top:0;
  height:540px;
}

.world-map-stats{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.world-stat-card{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:120px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(11,27,51,.98), rgba(32,48,128,.92));
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  overflow:hidden;
  position:relative;
}

.world-stat-card::after{
  content:"";
  position:absolute;
  inset:auto -20px -20px auto;
  width:90px;
  height:90px;
  border-radius:999px;
  background:rgba(139,30,45,.22);
  filter:blur(6px);
  pointer-events:none;
}

.world-stat-icon{
  width:62px;
  height:62px;
  flex:0 0 62px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:
    linear-gradient(145deg, rgba(139,30,45,.95), rgba(89,15,28,.95));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 22px rgba(0,0,0,.2);
}

.world-stat-icon svg{
  width:30px;
  height:30px;
  display:block;
}

.world-stat-body{
  min-width:0;
}

.world-stat-value{
  font-size:2rem;
  font-weight:900;
  line-height:1;
  color:#fff;
  letter-spacing:-0.03em;
}

.world-stat-label{
  margin-top:8px;
  color:rgba(255,255,255,.82);
  line-height:1.35;
  font-weight:600;
}

@media (max-width: 1100px){
  .world-map-layout{
    grid-template-columns:1fr;
  }

  .world-map-stats{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px){
  .world-map-stats{
    grid-template-columns:1fr;
  }

  .world-map-canvas{
    height:420px;
  }

  .world-stat-card{
    min-height:unset;
  }
}
.article-link{
  display: inline-flex;
  align-items: center;
  
  color: #006eff;
  text-decoration: none;
  font-weight: 700;
}

.article-link:hover,
.article-link:focus{
  background: rgba(32, 48, 128, 0.18);
  border-color: rgba(32, 48, 128, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.article-link:visited{
  color: #006eff;
}
.product-table-wrap{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#productTable{
  min-width: 760px;
}

@media (max-width: 768px){
  .product-table-wrap{
    margin-left: -4px;
    margin-right: -4px;
    padding-bottom: 4px;
  }

  #productTable{
    min-width: 680px;
  }

  #productTable th,
  #productTable td{
    padding: 10px 10px;
    font-size: 13px;
    white-space: normal;
    vertical-align: top;
  }

  #productTable th{
    white-space: nowrap;
  }
}