/*
Theme Name: SecurData 2026 (nuovo sito)
Theme URI: https://www.securdata.ch
Author: SecurData Sagl
Description: NUOVO tema aziendale SecurData 2026 — virtualizzazione, controllo accessi, sicurezza IT. Realizzato su misura (non è il tema ThemeForest).
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: securdata
*/

/* ============================================================
   SecurData — foglio di stile condiviso
   Palette:  navy #142e52 · arancio #ff6900 · grigio #f1f5f9
   ============================================================ */

:root {
  --navy:   #142e52;
  --navy-2: #1e3d6b;
  --navy-3: #0d2038;
  --orange: #ff6900;
  --orange-d:#e65e00;
  --grey:   #f4f7fb;
  --grey-2: #e2e8f0;
  --text:   #33415c;
  --muted:  #667a94;
  --white:  #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 34px rgba(20,46,82,.08);
  --shadow-lg: 0 24px 60px rgba(20,46,82,.16);
  --ring: 0 0 0 1px rgba(20,46,82,.06);
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.14; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.28rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }
a  { color: var(--orange-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header / Nav (dinamico) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-2);
  box-shadow: 0 2px 12px rgba(20,46,82,.05);
  transition: box-shadow .25s ease, background .25s ease;
}
/* Stato "restretto" allo scroll */
.site-header.shrink {
  box-shadow: 0 6px 22px rgba(20,46,82,.12);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 24px; max-width: var(--wrap); margin: 0 auto;
  transition: padding .25s ease;
}
.site-header.shrink .nav { padding: 8px 24px; }

.brand img { height: 53px; transition: height .25s ease; display: block; }
.site-header.shrink .brand img { height: 42px; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }

.menu a.top, .menu > li > a {
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
  color: var(--navy); font-weight: 600; font-size: .92rem;
  padding: 10px 10px; border-radius: 6px; text-decoration: none;
  position: relative; transition: color .15s;
}
.menu a.top:hover { color: var(--orange-d); text-decoration: none; }
.menu a.top.active { color: var(--orange-d); }
.menu .caret { font-size: .7rem; font-style: normal; transition: transform .2s; opacity: .8; }
.menu .has-sub:hover .caret { transform: rotate(180deg); }

/* Underline animato (come "nav-line" dell'originale) */
.nav-line {
  position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.menu a.top:hover .nav-line,
.menu a.top.active .nav-line { transform: scaleX(1); }

/* Dropdown */
.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--grey-2); border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub-menu::before {           /* piccola freccia in alto */
  content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--grey-2); border-top: 1px solid var(--grey-2);
  transform: rotate(45deg);
}
.menu .has-sub:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Ponte invisibile per non perdere l'hover nel gap */
.menu .has-sub::after { content:""; position:absolute; left:0; right:0; top:100%; height:10px; }

.sub-menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px;
  color: var(--navy); font-weight: 500; font-size: .92rem; text-decoration: none;
  transition: background .15s, color .15s;
}
.sub-menu .menu-ico { width: 24px; height: 24px; flex: 0 0 24px; }
.sub-menu a:hover { background: var(--grey); color: var(--orange-d); }

.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 10px 18px !important; border-radius: 6px;
  transition: background .15s;
}
.nav-cta:hover { background: var(--orange-d); text-decoration: none; }

/* Burger */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 110; }
.burger span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--orange); color: #fff !important;
  padding: 12px 26px; border-radius: 6px; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-d); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative; overflow: hidden;
  height: calc(100vh - 84px);
  height: calc(100svh - 84px);
  min-height: 520px;
  background: var(--navy);
}
.hero-slider .slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; }
/* velo scuro per leggibilità del testo, come nell'originale */
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.72) 0%, rgba(10,22,40,.45) 45%, rgba(10,22,40,.12) 100%);
}
.slide-inner { position: relative; color: #fff; max-width: var(--wrap); }
.slide-inner .eyebrow { color: #fff; opacity: .92; font-size: 1.15rem; letter-spacing: .01em; text-transform: none; font-weight: 500; }
.slide-inner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 720px; margin-bottom: 26px; }
.slide-inner .btn { font-size: 1.05rem; padding: 13px 30px; }

/* Animazione di entrata del testo */
.slide.is-active .eyebrow { animation: slideUp .7s .15s both; }
.slide.is-active h1       { animation: slideUp .7s .30s both; }
.slide.is-active .btn     { animation: slideUp .7s .45s both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Frecce */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border: 0; border-radius: 50%;
  background: rgba(20,46,82,.55); color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center;
  transition: background .18s; backdrop-filter: blur(2px);
}
.slider-arrow:hover { background: var(--orange); }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }

/* Dots */
.slider-dots {
  position: absolute; bottom: 22px; left: 0; right: 0; z-index: 5;
  display: flex; gap: 10px; justify-content: center;
}
.slider-dots .dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0; transition: background .18s, transform .18s;
}
.slider-dots .dot.active { background: var(--orange); border-color: var(--orange); transform: scale(1.15); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--orange);
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--grey); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--grey-2); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Card con immagine in testa */
.card.img-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.img-card .card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  background: var(--grey);
}
.grid.products .card.img-card .card-img { object-fit: contain; padding: 8px; height: 230px; }
.card.img-card .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card.img-card .card-body .more { margin-top: auto; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: var(--grey); display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 12px; }
.card .more { font-weight: 600; color: var(--orange-d); }
.card .brand-strip {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--grey-2);
  display: flex; align-items: center; min-height: 62px;
}
.card .brand-strip img { max-height: 30px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.card .brand-strip .brand-text { font-weight: 800; letter-spacing: .06em; color: var(--navy); font-size: 1.35rem; }
.card .brand-strip .brand-text .accent { color: var(--orange); }

/* Icona-immagine "ad effetto" (aree di eccellenza) */
.card .icon-img {
  width: 66px; height: 66px; border-radius: 16px; margin-bottom: 16px;
  overflow: hidden; position: relative; box-shadow: 0 8px 20px rgba(20,46,82,.18);
}
.card .icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.card .icon-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,46,82,.25), rgba(255,105,0,.18));
  mix-blend-mode: multiply;
}
.card:hover .icon-img img { transform: scale(1.08); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat .lbl { color: var(--muted); font-size: .95rem; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; align-items: center; }
.partners span { font-weight: 700; color: var(--muted); font-size: 1.5rem; letter-spacing: .02em; }
.partners { gap: 60px; }
.partners img.partner-logo { max-height: 66px; max-width: 230px; width: auto; height: auto; object-fit: contain; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 24px; }

/* ---------- Page header ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 64px 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.partner-badge { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.partner-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.partner-badge img { height: 30px; width: auto; }

/* ---------- Two-col content ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 18px 0; }
.checklist li { padding: 6px 0 6px 30px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--orange);
  font-weight: 800;
}

/* ---------- Blog ---------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .thumb { height: 170px; background: linear-gradient(135deg,var(--navy),var(--navy-2)); }
.post-card .body { padding: 22px 24px 26px; }
.post-meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tag { display:inline-block; background: var(--grey); color: var(--navy); font-size:.75rem; font-weight:700; padding:3px 10px; border-radius: 20px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--grey-2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 40px 20px 0; font-size: 1.1rem; font-weight: 600; color: var(--navy);
  position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq-q.open::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq-a p { padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.info-box { background: var(--grey); border-radius: var(--radius); padding: 30px; }
.info-box .row { display: flex; gap: 14px; margin-bottom: 18px; }
.info-box .row .ic { font-size: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .9rem; letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--grey-2); border-radius: 10px;
  font: inherit; color: var(--text); background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c2cbd8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,105,0,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142e52' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 130px; }
/* Card che contiene il form */
.form-card { background: #c7e4f9; border: 1px solid #a6d0ee; border-radius: 16px; padding: 34px 34px 30px; box-shadow: 0 12px 34px rgba(20,46,82,.07); }
.form-card h2 { margin-top: 0; }
#contactForm button[type=submit] { width: 100%; padding: 15px; font-size: 1.05rem; margin-top: 8px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-ok { background: #e7f6ec; color: #1a7f43; padding: 14px 18px; border-radius: 6px; display: none; margin-bottom: 18px; }

/* ---------- Shop ---------- */
.product .price { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 4px 0 14px; }
.product .price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.product .buy { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.qty { display: flex; align-items: center; border: 1px solid var(--grey-2); border-radius: 6px; overflow: hidden; }
.qty button { width: 34px; height: 40px; border: 0; background: var(--grey); color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--grey-2); }
.qty input { width: 42px; height: 40px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; }

/* Cart FAB */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  background: var(--orange); color: #fff; border: 0; border-radius: 50px;
  padding: 14px 22px; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  transition: background .15s, transform .15s;
}
.cart-fab:hover { background: var(--orange-d); transform: translateY(-2px); }
.cart-fab .count {
  background: #fff; color: var(--orange-d); border-radius: 50px;
  min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; padding: 0 6px;
}

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.5); z-index: 200; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: #fff; z-index: 210; box-shadow: -12px 0 40px rgba(20,46,82,.2);
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 22px 24px; border-bottom: 1px solid var(--grey-2); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { margin: 0; }
.cart-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--grey); align-items: center; }
.cart-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.cart-row .ci-name { font-weight: 600; color: var(--navy); font-size: .92rem; }
.cart-row .ci-price { color: var(--muted); font-size: .85rem; }
.cart-row .ci-right { margin-left: auto; text-align: right; }
.cart-row .ci-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--grey-2); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.cart-note { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.cart-foot .btn { width: 100%; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.footer-logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: rgba(255,255,255,.6);
}

/* ---------- Step number badge (processo) ---------- */
/* usato dove il badge contiene un solo numero */
.step-num.num-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
/* ---------- Map card (sostituzione VMware) ---------- */
.map-card .repl {
  display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 700;
  color: var(--muted); background: var(--grey); padding: 4px 12px; border-radius: 20px;
}
.map-card .repl b { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4, .contact-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .burger { display: block; }

  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--grey-2);
    padding: 8px; gap: 2px; display: none;
    box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .menu.show { display: flex; }
  .menu > li { width: 100%; }
  .menu a.top, .menu > li > a { padding: 14px 12px; justify-content: space-between; }
  .nav-line { display: none; }        /* niente underline su mobile */
  .menu .caret { transition: transform .2s; }
  .menu .has-sub.open .caret { transform: rotate(180deg); }

  /* Sottomenu: accordion a scomparsa */
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    padding: 0 0 6px 14px; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .sub-menu::before { display: none; }
  .menu .has-sub.open > .sub-menu { max-height: 400px; }
  .sub-menu a { padding: 11px 12px; }
  .cta-li { margin-top: 6px; }
  .nav-cta { text-align: center; }

  .two-col img { order: -1; }

  /* Slider su mobile */
  .hero-slider { height: calc(100svh - 66px); min-height: 460px; }
  .slider-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
  .slide::before { background: linear-gradient(90deg, rgba(10,22,40,.78), rgba(10,22,40,.5)); }
}

/* ============================================================
   Rifiniture grafiche & interazioni (design upgrade)
   ============================================================ */

/* Reveal allo scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .grid .reveal:nth-child(2) { transition-delay: .06s; }
  .grid .reveal:nth-child(3) { transition-delay: .12s; }
  .grid .reveal:nth-child(4) { transition-delay: .06s; }
  .grid .reveal:nth-child(5) { transition-delay: .12s; }
  .grid .reveal:nth-child(6) { transition-delay: .18s; }
}

/* Eyebrow più raffinato */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; font-weight: 700;
  color: var(--orange-d);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head .eyebrow, .center .eyebrow { justify-content: center; }

/* Card: accento superiore all'hover + bordo più morbido */
.card { border-color: #eef2f7; position: relative; }
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--orange), #ffa45c);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0; transition: opacity .2s ease;
}
.card:hover::after { opacity: 1; }
.card .icon {
  background: linear-gradient(135deg, #eaf0f8, #f4f7fb);
  box-shadow: inset 0 0 0 1px rgba(20,46,82,.05);
}

/* Bottoni: micro-interazione e ombra */
.btn { box-shadow: 0 8px 20px rgba(255,105,0,.24); }
.btn:hover { box-shadow: 0 12px 26px rgba(255,105,0,.32); }
.btn-navy { box-shadow: 0 8px 20px rgba(20,46,82,.22); }
.btn-outline { box-shadow: none; }

/* Hero slider: titolo con font display e leggibilità */
.slide-inner h1, .slide-inner h2 { font-family: var(--font-display); letter-spacing: -.02em; }

/* Stat: numeri con font display */
.stat .num { font-family: var(--font-display); letter-spacing: -.02em; }

/* Sezione con sfondo scuro (per blocchi lead di rilievo) */
.section.navy { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }
.section.navy h2 { color: #fff; }
.section.navy p { color: rgba(255,255,255,.85); }

/* CTA band: gradiente più ricco */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-3)); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,105,0,.22), transparent 60%);
}
.cta-band .wrap { position: relative; }



/* CTA doppia azione */
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); }

/* Offset ancoraggi sotto l'header sticky */
.access-area { scroll-margin-top: 100px; }

/* Portfolio NexaVM: titoli categoria e offset ancore */
.cat-title { font-size: 1.05rem; color: var(--orange-d); text-transform: uppercase; letter-spacing: .08em; margin: 32px 0 14px; }
.cat-title:first-of-type { margin-top: 8px; }
.vprod { scroll-margin-top: 100px; }

/* Pagine legali (privacy / cookie) */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.05rem; color: var(--navy-2); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .sub { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-style: italic; margin-top: 26px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .cookie-cat { background: var(--grey); border: 1px solid var(--grey-2); border-radius: 10px; padding: 16px 20px; margin: 14px 0; }
.legal .cookie-cat h3 { margin-top: 0; }

/* Unità Suprema (hardware) */
.sup-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sup-card .sup-img {
  height: 220px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #ffffff, #eef2f7);
  padding: 22px;
}
.sup-card .sup-img img { max-height: 100%; max-width: 82%; width: auto; object-fit: contain; }
.sup-card .card-body { padding: 20px 22px 24px; }
.sup-card .tag { margin-bottom: 8px; }
.sup-card.sup-more { align-items: stretch; justify-content: center; background: linear-gradient(135deg,#142e52,#0d2038); color:#fff; }
.sup-card.sup-more .card-body { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.sup-card.sup-more h3 { color:#fff; }
.sup-card.sup-more p { color: rgba(255,255,255,.85); }

/* Fascia dati Suprema */
.sup-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border-radius: var(--radius); padding: 34px 26px; margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.sup-stats .num { color: #fff; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; }
.sup-stats .lbl { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 4px; }
@media (max-width: 900px) { .sup-stats { grid-template-columns: repeat(2, 1fr); } }

/* Banner Suprema (facial AI) */
.sup-banner { display: block; margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sup-banner img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.sup-banner:hover img { transform: scale(1.02); }
#software-biostar, #unita-suprema { scroll-margin-top: 100px; }
#software-biostar .two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Partners ---------- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.partner-box {
  flex: 0 1 250px;
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius);
  height: 130px; display: flex; align-items: center; justify-content: center; padding: 22px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.partner-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.partner-box img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }
.partner-box .pname { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--navy); letter-spacing: -.01em; text-align: center; }
@media (max-width: 900px) { .partner-box { flex-basis: 42%; } }

/* ---------- Risorse / download ---------- */
.res-card { display: flex; gap: 16px; align-items: flex-start; }
.res-card .res-ico {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), #ffa45c); color: #fff; font-weight: 800; font-size: .82rem;
}
.res-card .res-body { flex: 1; }
.res-card .res-body h3 { margin-bottom: 4px; }
.res-card .res-body p { color: var(--muted); margin-bottom: 10px; font-size: .95rem; }

/* ---------- Form CV / candidatura ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input[type=file] { padding: 9px; background: var(--grey); }
.job-card { border-left: 4px solid var(--orange); }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }

/* ============ Ticketing / Supporto ============ */
.ticket-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--grey-2); margin-bottom: 28px; }
.tab-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--muted);
  padding: 12px 18px; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--orange-d); border-bottom-color: var(--orange); }
.tab-panel { animation: fadeIn .3s ease; }
.tab-panel.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ticket-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.ticket-toolbar input, .ticket-toolbar select {
  padding: 11px 14px; border: 1px solid var(--grey-2); border-radius: 10px; font-family: var(--font-body); font-size: .95rem;
}
.ticket-toolbar input { flex: 1; min-width: 200px; }

.ticket-list { display: flex; flex-direction: column; gap: 14px; }
.ticket-item {
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
.ticket-item .t-id { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.ticket-item .t-subj { flex: 1; min-width: 180px; font-weight: 600; color: var(--text); }
.ticket-item .t-meta { color: var(--muted); font-size: .85rem; }
.ticket-item .t-actions { display: flex; gap: 8px; }
.ticket-item .t-actions button { appearance: none; border: 1px solid var(--grey-2); background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted); }
.ticket-item .t-actions button:hover { border-color: var(--orange); color: var(--orange-d); }

.badge-status { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.st-aperto { background: #e8f0ff; color: #1f5fd0; }
.st-lavorazione { background: #fff2e0; color: #c2650a; }
.st-chiuso { background: #e8f7ee; color: #1b7a43; }

.kb-search { margin-bottom: 18px; }
.kb-search input { width: 100%; padding: 13px 16px; border: 1px solid var(--grey-2); border-radius: 12px; font-size: 1rem; font-family: var(--font-body); }
.kb-item { background: #fff; border: 1px solid #eef2f7; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.kb-q { padding: 16px 20px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kb-q::after { content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 700; transition: transform .2s; }
.kb-item.open .kb-q::after { transform: rotate(45deg); }
.kb-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px; color: var(--muted); }
.kb-item.open .kb-a { max-height: 400px; padding: 0 20px 18px; }
.ticket-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.ticket-ok { background: #e8f7ee; border: 1px solid #b7e4c7; color: #1b7a43; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.ticket-ok b { color: #14663a; }

/* Icone duotone SVG */
.card .icon img, .card .icon svg { width: 34px; height: 34px; display: block; }

/* Testata pagina con foto di sfondo */
.page-hero.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* --- Fix slider: titolo bianco leggibile + layout titolo-in-alto / bottone-in-basso-destra --- */
.hero-slider .slide { align-items: stretch; }
.hero-slider .slide-inner {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 48px; padding-bottom: 48px; min-height: 100%;
}
.hero-slider .slide-top { text-align: left; }
.hero-slider .slide-inner h2 {
  color: #fff; font-family: var(--font-display); letter-spacing: -.02em;
  font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; max-width: 720px; margin: 0;
  text-shadow: 0 2px 20px rgba(8,18,34,.55);
}
.hero-slider .slide-inner .eyebrow { text-shadow: 0 1px 10px rgba(8,18,34,.5); margin-bottom: 12px; }
.hero-slider .slide-inner .btn { align-self: flex-start; margin-top: 26px; }
.hero-slider .slide::before {
  background: linear-gradient(90deg, rgba(8,18,34,.7) 0%, rgba(8,18,34,.45) 50%, rgba(8,18,34,.25) 100%);
}
.slide.is-active h2 { animation: slideUp .7s .30s both; }

/* Badge NexaVM: logo a colori su chip bianca, ben visibile sull'hero scuro */
.partner-badge .nexa-chip {
  display: inline-flex; align-items: center; background: #fff;
  padding: 9px 16px; border-radius: 10px; box-shadow: 0 6px 18px rgba(8,18,34,.25);
}
.partner-badge .nexa-chip img { height: 34px; width: auto; }

/* ===== Easytac: dispositivi, screenshot, download, FAQ ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wrap.narrow { max-width: 820px; }
.device-card { text-align: center; }
.device-card .device-img {
  height: 120px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; background: var(--grey); border-radius: 12px; padding: 12px;
}
.device-card .device-img img { max-height: 96px; max-width: 100%; width: auto; object-fit: contain; }
.device-card h3 { margin-bottom: 8px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots .shot { margin: 0; background: #fff; border: 1px solid #eef2f7; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.shots .shot img { width: 100%; height: auto; display: block; border-bottom: 1px solid #eef2f7; }
.shots .shot figcaption { padding: 12px 16px; font-size: .92rem; color: var(--muted); }

.dl-grid { display: flex; flex-direction: column; gap: 10px; }
.dl-btn {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  background: #fff; border: 1px solid var(--grey-2); border-radius: 10px;
  color: var(--navy); font-weight: 600; transition: all .2s ease;
}
.dl-btn:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-1px); }
.dl-btn .ti { color: var(--orange); font-size: 1.2rem; line-height: 1; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--grey-2); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy);
  list-style: none; position: relative; padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--orange); font-weight: 400; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--grey-2); }
.faq-a { padding: 16px 22px 20px; color: var(--text); }
.faq-a p { margin: 0 0 10px; }
.faq-a ul { margin: 6px 0 0; padding-left: 20px; }
.faq-a li { margin-bottom: 6px; color: var(--muted); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .shots { grid-template-columns: 1fr; }
}

/* ---------- Vetrina prodotti Suprema ---------- */
.prod-cat { margin-top: 42px; }
.prod-cat .cat-lbl { display:flex; align-items:center; gap:10px; font-weight:600; color:var(--navy); font-size:1.12rem; margin-bottom:18px; }
.prod-cat .cat-lbl::before { content:""; width:22px; height:3px; background:var(--orange); border-radius:2px; }
.prod-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; }
.prod-card { flex:0 1 232px; max-width:252px; background:#fff; border:1px solid #eef2f7; border-radius:14px; padding:16px; text-align:center; transition: box-shadow .25s ease, transform .25s ease; }
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prod-card .ph { background:#f4f7fb; border-radius:10px; height:150px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; padding:12px; }
.prod-card .ph img { max-width:100%; max-height:122px; width:auto; object-fit:contain; }
.prod-card h4 { color:var(--navy); font-size:1rem; margin:0 0 4px; }
.prod-card p { color:var(--muted); font-size:.85rem; line-height:1.5; margin:0; }
.biostar-shots { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.biostar-shots img { width:100%; border-radius:12px; box-shadow: var(--shadow); display:block; }
@media (max-width:720px){ .biostar-shots{ grid-template-columns:1fr; } }

/* Testata pagina in stile banner (come lo slider): alta, testo bianco a sinistra, con pulsante */
.page-hero.has-photo {
  min-height: clamp(360px, 48vh, 480px);
  display: flex; align-items: center; text-align: left; padding: 54px 0;
}
.page-hero.has-photo .wrap { width: 100%; }
.page-hero.has-photo .breadcrumb { justify-content: flex-start; }
.page-hero.has-photo h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.1; max-width: 780px; }
.page-hero.has-photo p { margin: 14px 0 0; max-width: 620px; }
.page-hero.has-photo .hero-cta { margin-top: 24px; display: inline-flex; }
html { scroll-behavior: smooth; }

/* Slider: testo allineato più a sinistra */
.hero-slider .slide-inner {
  max-width: none; width: 100%; margin: 0;
  padding-left: clamp(30px, 5vw, 96px); padding-right: clamp(24px, 4vw, 64px);
}

/* Video incorporato responsive 16:9 */
.video-embed { position: relative; width: 100%; max-width: 900px; margin: 34px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Tabella comparativa — stile premium, colonna NexaVM evidenziata */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 0 10px; }
.compare { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--muted); border-bottom: 2px solid var(--grey-2); }
.compare .crit-h { color: var(--navy); width: 24%; }
.compare .crit { font-weight: 600; color: var(--navy); }
.compare tbody td { border-bottom: 1px solid var(--grey-2); font-size: .96rem; color: var(--text); }
.compare .trad, .compare .trad-h { color: var(--muted); width: 34%; }
.compare .trad::before { content: "\2013"; color: #c2cbd8; font-weight: 700; margin-right: 10px; }

/* colonna NexaVM come "card" evidenziata */
.compare .col-nexa { background: rgba(20,46,82,.05); }
.compare thead th.col-nexa.head { background: var(--navy); color: #fff; text-align: left; border-bottom: 0; border-top-left-radius: 12px; border-top-right-radius: 12px; font-size: 1.15rem; padding: 18px 20px; }
.compare thead th.col-nexa .badge { display: inline-block; background: var(--orange); color: #fff; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 3px 9px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }
.compare td.col-nexa { color: var(--navy); font-weight: 500; }
.compare td.col-nexa.yes::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--orange); color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 800; margin-right: 10px; }
.compare td.col-nexa.last:nth-child(2) { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.compare tbody tr:hover td { background-color: #f6f8fb; }
.compare tbody tr:hover td.col-nexa { background: rgba(255,105,0,.08); }
.compare-note { font-size: .82rem; color: var(--muted); margin-top: 16px; font-style: italic; }

/* Icona grande centrata (pagine prodotto senza foto) */
.icon-hero { background: var(--grey); border-radius: 16px; min-height: 220px; display: flex; align-items: center; justify-content: center; }

/* Tagline sotto il logo */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-tag { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; white-space: nowrap; }
.site-header.shrink .brand-tag { font-size: .55rem; margin-top: 3px; }

/* Footer ridisegnato: dati societari a sinistra, contatti a destra */
.footer-main { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-company .footer-logo { height: 42px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 16px; }
.fc-name { font-weight: 700; color: #fff; font-size: 1.15rem; margin: 0 0 12px; }
.fc-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.fc-lines li { display: flex; align-items: flex-start; gap: 9px; color: rgba(255,255,255,.82); margin-bottom: 7px; font-size: .95rem; }
.fc-tag { color: rgba(255,255,255,.62); font-size: .9rem; max-width: 500px; line-height: 1.6; margin: 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 20px; }
.footer-contacts h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 9px; }
.footer-contacts ul { list-style: none; margin: 0; padding: 0; }
.footer-contacts li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); margin-bottom: 7px; }
.footer-contacts a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s; }
.footer-contacts a:hover { color: #fff; }
.fc-ic { display: inline-flex; align-items: center; color: var(--orange); flex: 0 0 18px; }
.fc-ic .ic-svg { width: 18px; height: 18px; }
.footer-contacts .btn { align-self: flex-start; margin-top: 2px; }
.footer-links h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--orange); }
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr; gap: 30px; } }

/* Form candidatura: consenso privacy e captcha */
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; margin: 6px 0 14px; cursor: pointer; }
.consent input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: var(--orange-d); }
.captcha-field { max-width: 320px; }
.form-err { color: #c0392b; font-size: .9rem; font-weight: 600; margin: 0 0 12px; min-height: 1em; }

/* Pagina contatti: colonna informazioni a sinistra */
.contact-intro h2 { margin-top: 6px; }
.contact-intro > p { color: var(--muted); max-width: 460px; }
.ci-rows { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.ci-row { display: flex; align-items: flex-start; gap: 15px; }
.ci-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--grey); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.ci-ic .ic-svg { width: 22px; height: 22px; }
.ci-row strong { color: var(--navy); }
.ci-row, .ci-row a { color: var(--text); text-decoration: none; }
.ci-row a:hover { color: var(--orange-d); }
.ci-sub { color: var(--muted); font-size: .88rem; }
.form-card input, .form-card select, .form-card textarea { background: #fff; }

/* Home: quattro pilastri in linea */
@media (min-width: 981px) { .grid-4.pillars { grid-template-columns: repeat(4, 1fr); } }

/* Footer: Tax ID allineato sotto l'indirizzo */
.fc-lines .fc-taxid { padding-left: 27px; }

/* Contatti: foto sede piccola nella colonna informazioni */
.ci-sede { margin-top: 26px; }
.ci-sede img { width: 100%; max-width: 420px; border-radius: 12px; box-shadow: var(--shadow); display: block; }
.ci-sede a { display: inline-block; margin-top: 10px; font-size: .88rem; color: var(--orange-d); text-decoration: none; }
.ci-sede a:hover { text-decoration: underline; }

/* Footer: icone social */
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); transition: background .15s, color .15s, transform .15s; }
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }

/* Pagina "Materiale informativo" — tre colonne */
.mat-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; }
.mat-col h3 { font-size: 1.5rem; color: var(--navy); font-weight: 700; padding-bottom: 12px; border-bottom: 3px solid var(--orange); margin: 0; }
.mat-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--grey-2); border-radius: 10px; padding: 16px 18px; margin-top: 18px; color: var(--navy); text-decoration: none; font-weight: 500; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.mat-card:hover { box-shadow: 0 10px 26px rgba(20,46,82,.1); transform: translateY(-2px); color: var(--orange-d); }
.mat-list { list-style: none; margin: 6px 0 0; padding: 0; }
.mat-list a { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; padding: 14px 4px; font-weight: 500; border-bottom: 1px solid var(--grey-2); transition: color .15s; }
.mat-list a:hover { color: var(--orange-d); }
.mat-list img { flex: 0 0 30px; }
.mat-list.arrows a::before { content: "\203A"; width: 30px; height: 30px; border: 1.5px solid #cfd8e6; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.2rem; line-height: 1; flex: 0 0 30px; }
@media (max-width: 820px) { .mat-cols { grid-template-columns: 1fr; gap: 30px; } }

/* CRM SecurGest: bottone secondario e liste nelle card */
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.card ul { margin: .7rem 0 0; padding-left: 1.1rem; }
.card li { margin: .28rem 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* CRM SecurGest: badge hero e righe funzione */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-badges span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 6px 13px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.feature-row + .feature-row { margin-top: 56px; }
.feature-row .eyebrow { margin-bottom: 6px; }
.feature-row h3 { font-size: 1.5rem; margin: 0 0 12px; }

/* CRM SecurGest: filigrana logo nell'hero */
.crm-hero { position: relative; overflow: hidden; }
.crm-hero .wrap { position: relative; z-index: 1; }
.hero-watermark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: 50%; max-width: 720px; opacity: .13; pointer-events: none; user-select: none; z-index: 0; }
@media (max-width: 820px) { .hero-watermark { width: 90%; opacity: .08; } }

/* CRM SecurGest: lightbox screenshot cliccabili */
img.zoomable { cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
img.zoomable:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(10,22,40,.22); }
.lightbox { position: fixed; inset: 0; background: rgba(10,18,32,.92); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-out; }
.lb-close { position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; border-radius: 50%; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.24); }

/* CRM SecurGest: galleria screenshot */
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.gallery figcaption { margin-top: 10px; text-align: center; font-size: .92rem; font-weight: 600; color: var(--muted); }

/* Logo footer: proporzioni sempre corrette */
.site-footer .footer-logo,
.footer-company .footer-logo {
  height: 42px;
  width: auto !important;
  max-width: none;
  object-fit: contain;
  align-self: flex-start;
}

/* Elenco con spunta (pagina Forensic e altre) */
.check-list { list-style: none; margin: 16px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--muted); line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 8px; height: 14px; border: solid var(--orange); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* IA Adoption: pilastri e fasi del metodo */
.pillars { gap: 20px; }
.pillar { background: var(--grey); border-radius: var(--radius); padding: 22px 24px; border-left: 3px solid var(--orange); }
.pillar strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 5px; }
.pillar span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.card.step { position: relative; }
.step-num { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.card .eyebrow { display: block; margin-bottom: 8px; }
.check-list li strong { color: var(--navy); }

/* Sezione Card e Tag in home: immagine prodotto più grande e d'impatto */
.two-col.img-lead { grid-template-columns: .78fr 1.22fr; gap: 52px; }
.two-col.img-lead img { width: 100%; }
@media (max-width: 900px) { .two-col.img-lead { grid-template-columns: 1fr; gap: 28px; } }

/* Loghi partner nelle card descrittive */
.partner-logo-sm { height: 42px; width: auto; max-width: 170px; object-fit: contain; margin-bottom: 16px; display: block; }

/* Form valutazione NexaVM: sottotitoli, consensi, messaggi di esito */
.form-sect { font-size: 1.02rem; color: var(--navy); margin: 26px 0 14px; padding-bottom: 9px; border-bottom: 2px solid #e6ecf5; }
.form-sect:first-of-type { margin-top: 0; }
.field.consent { margin-top: 22px; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; font-size: .93rem; line-height: 1.5; color: var(--muted); cursor: pointer; font-weight: 400; }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--orange); flex: 0 0 auto; }
.checkbox a { color: var(--orange); text-decoration: underline; }
.form-msg { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; font-size: .95rem; }
.form-msg.ok { background: #e8f6ed; color: #1c6b3a; border: 1px solid #b8e0c6; }
.form-msg.err { background: #fdecea; color: #9c2c20; border: 1px solid #f3c2bc; }

/* Datasheet: pulsanti lingua affiancati */
.dl-lang { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.dl-lang .btn { padding: 8px 18px; font-size: .88rem; min-width: 56px; text-align: center; }

/* Partner con link esterno (pagina Virtualizzazione) */
.partner-box.partner-link { flex-direction: column; gap: 12px; text-decoration: none; padding: 30px 24px; height: auto; min-height: 250px; flex: 0 1 290px; justify-content: flex-start; }
.partner-box.partner-link img { max-height: 52px; margin-bottom: 4px; }
.partner-box.partner-link .pname { font-size: 1.12rem; margin-top: 2px; }
.partner-box.partner-link .pdesc { font-size: .92rem; color: var(--muted); text-align: center; line-height: 1.5; }
.partner-box.partner-link .pgo { font-size: .88rem; font-weight: 700; color: var(--orange); margin-top: 4px; }
.partner-box.partner-link:hover .pgo { text-decoration: underline; }

/* Consenso obbligatorio: evidenziato quando manca la spunta */
.checkbox input:invalid { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.field.consent { scroll-margin-top: 120px; }
