
:root {
  --ink: #14213d;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-blue: #eef6ff;
  --blue: #0f4c81;
  --blue-dark: #0b3157;
  --orange: #ff9900;
  --orange-dark: #d97800;
  --shadow: 0 22px 60px rgba(15, 23, 42, .10);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 24px;
  --radius-small: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 20px; top: 20px; z-index: 999; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.85);
}
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 196px; height: auto; }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s ease; }
.nav-menu { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 13px; color: var(--ink-soft); font-weight: 650; font-size: 15px; border-radius: 999px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); background: var(--surface-blue); }
.nav-menu a.cta { color: #fff; background: var(--blue); padding-inline: 18px; }
.nav-menu a.cta:hover { background: var(--blue-dark); }
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3157 0%, #0f4c81 50%, #0d9488 130%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(255,153,0,.24), transparent 28%), radial-gradient(circle at 20% 80%, rgba(255,255,255,.18), transparent 22%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { min-height: 640px; padding: 130px 0 88px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 74px); line-height: .98; letter-spacing: -0.055em; }
.hero p { margin: 24px 0 0; color: rgba(255,255,255,.84); font-size: clamp(18px, 2vw, 22px); max-width: 700px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.13); color: rgba(255,255,255,.88); font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.hero-actions, .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 750; border: 1px solid transparent; cursor: pointer; transition: .18s ease; }
.button.primary { background: var(--orange); color: #1f2937; box-shadow: 0 12px 26px rgba(255,153,0,.22); }
.button.primary:hover { background: #ffab26; color: #111827; transform: translateY(-1px); }
.button.secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.button.secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
.button.blue { background: var(--blue); color: #fff; }
.button.blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.button.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.button.ghost:hover { background: var(--surface-soft); color: var(--blue); }
.hero-card { padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: calc(var(--radius) + 10px); background: rgba(255,255,255,.10); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-card img { border-radius: 26px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-card .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.hero-card .mini span { padding: 12px 10px; border-radius: 16px; text-align: center; font-size: 13px; font-weight: 750; color: rgba(255,255,255,.9); background: rgba(255,255,255,.12); }
.section { padding: 96px 0; }
.section.soft { background: var(--surface-soft); }
.section.blue-soft { background: linear-gradient(180deg, #f8fbff, #eef6ff); }
.section-header { max-width: 800px; margin: 0 0 42px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { margin: 0 0 10px; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .09em; font-size: 13px; font-weight: 850; }
h1, h2, h3, h4 { color: inherit; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
h3 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.section-header p, .lead { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.card.pad { padding: 28px; }
.card.media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #f1f5f9; }
.card .content { padding: 28px; }
.card p { color: var(--muted); margin: 12px 0 0; }
.card ul, .feature-list { margin: 18px 0 0; padding: 0; list-style: none; }
.card li, .feature-list li { position: relative; padding-left: 24px; margin: 10px 0; color: var(--ink-soft); }
.card li::before, .feature-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.solution-card { min-height: 100%; }
.solution-card .icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-blue); color: var(--blue); font-size: 22px; margin-bottom: 18px; }
.product-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; align-items: center; }
.product-card img { width: 100%; height: 100%; min-height: 330px; object-fit: contain; padding: 28px; background: linear-gradient(145deg, #fff, #f1f5f9); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.stat { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); }
.stat strong { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 14px; }
.band { padding: 46px; border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; box-shadow: var(--shadow); }
.band p { color: rgba(255,255,255,.82); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-tile { min-height: 88px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.logo-tile img { max-height: 50px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: .18s ease; }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }
.page-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; padding: 128px 0 78px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,153,0,.24), transparent 26%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; max-width: 900px; font-size: clamp(40px, 6vw, 70px); line-height: 1; letter-spacing: -0.055em; }
.page-hero p { margin: 20px 0 0; color: rgba(255,255,255,.84); max-width: 760px; font-size: 20px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.sticky-aside { position: sticky; top: 110px; }
.aside-box { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-soft); }
.aside-box ul { list-style: none; padding: 0; margin: 16px 0 0; }
.aside-box a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 650; }
.aside-box li:last-child a { border-bottom: 0; }
.feature-block { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.feature-block h3 { color: var(--blue-dark); }
.feature-block p { color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); color: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f1f5f9; }
.gallery span { display: block; padding: 12px 14px; font-weight: 750; font-size: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.video-card h3 { font-size: 20px; margin-bottom: 14px; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #0f172a; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.resource-list { display: grid; gap: 14px; }
.resource { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.resource span { color: var(--muted); }
.faq { display: grid; gap: 14px; }
details { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 850; color: var(--ink); }
details .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.legal { max-width: 940px; margin: 0 auto; }
.legal h2 { font-size: 32px; margin-top: 44px; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li, .legal blockquote { color: var(--ink-soft); }
.legal blockquote { margin: 24px 0; padding: 22px; border-left: 4px solid var(--orange); background: var(--surface-soft); border-radius: 0 18px 18px 0; }
.site-footer { background: #081e36; color: rgba(255,255,255,.78); padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.footer-logo { width: 150px; margin-bottom: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.notice { padding: 16px 18px; border-radius: 18px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; left: 20px; right: 20px; top: 88px; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-menu a { border-radius: 12px; }
  .hero-grid, .product-card, .split { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 96px; }
  .sticky-aside { position: static; }
  .grid.three, .grid.four, .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { width: 164px; }
  .navbar { min-height: 70px; }
  .hero-grid { padding: 78px 0 64px; }
  .section { padding: 68px 0; }
  .grid.two, .grid.three, .grid.four, .logos, .stats, .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 30px; }
  .product-card img { min-height: 0; }
  .resource { display: block; }
  .resource .button { margin-top: 14px; }
}


/* Refinement 2026-06: hero con immagini di sfondo, gallerie navigabili e loghi trasparenti */
.brand img { width: 196px; max-height: 54px; object-fit: contain; }
.footer-logo { width: 150px; height: auto; object-fit: contain; }
.hero-showcase { min-height: 740px; position: relative; display: grid; align-items: center; background: #07182b; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.035); transition: opacity .7s ease, transform 5.5s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,39,.90) 0%, rgba(7,24,43,.72) 46%, rgba(7,24,43,.34) 100%), radial-gradient(circle at 82% 22%, rgba(255,153,0,.32), transparent 27%); }
.hero-showcase-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .58fr); gap: 48px; align-items: end; padding: 150px 0 120px; color: #fff; }
.hero-copy h1 { margin: 0; max-width: 940px; font-size: clamp(44px, 7vw, 86px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.hero-copy p { max-width: 760px; }
.hero-focus { align-self: end; padding: 30px; border: 1px solid rgba(255,255,255,.20); border-radius: 28px; background: rgba(255,255,255,.13); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.hero-focus span { display: inline-flex; margin-bottom: 14px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .09em; font-weight: 850; font-size: 12px; }
.hero-focus h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; }
.hero-focus p { color: rgba(255,255,255,.82); margin: 14px 0 0; }
.hero-focus .button.ghost { margin-top: 22px; background: rgba(255,255,255,.92); }
.hero-controls { position: absolute; left: 50%; bottom: 34px; z-index: 2; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 16px; }
.hero-arrow { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); }
.hero-arrow:hover { background: rgba(255,255,255,.22); }
.hero-dots { display: flex; gap: 9px; padding: 12px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); backdrop-filter: blur(12px); }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dot.active { width: 28px; background: var(--orange); }
.visual-section { padding-top: 92px; padding-bottom: 92px; background: #f8fafc; }
.visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.visual-card { min-height: 360px; position: relative; overflow: hidden; border-radius: 28px; background-size: cover; background-position: center; box-shadow: var(--shadow-soft); color: #fff; }
.visual-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,39,.16), rgba(5,20,39,.86)); }
.visual-card > div { position: absolute; inset: auto 0 0 0; padding: 28px; z-index: 1; }
.visual-card span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,153,0,.95); color: #111827; font-weight: 900; margin-bottom: 18px; }
.visual-card h3 { color: #fff; font-size: 28px; }
.visual-card p { color: rgba(255,255,255,.82); margin: 10px 0 18px; }
.visual-card a { color: #fff; font-weight: 850; border-bottom: 2px solid var(--orange); }
.visual-card:hover { transform: translateY(-2px); transition: transform .18s ease; }
.logo-tile { background: linear-gradient(145deg, #ffffff, #f8fafc); }
.logo-tile img { max-width: 150px; max-height: 54px; filter: grayscale(.15); opacity: .88; }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }
.gallery a { position: relative; cursor: zoom-in; }
.gallery a::after { content: "Apri galleria"; position: absolute; right: 10px; bottom: 48px; padding: 7px 10px; border-radius: 999px; background: rgba(8,30,54,.86); color: #fff; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(4px); transition: .18s ease; }
.gallery a:hover::after { opacity: 1; transform: translateY(0); }
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(5,20,39,.92); }
.lightbox.open { display: flex; }
.lightbox-dialog { width: min(1180px, 100%); max-height: calc(100vh - 56px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; }
.lightbox-title { font-weight: 850; font-size: 18px; }
.lightbox-close, .lightbox-nav { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; cursor: pointer; }
.lightbox-close { width: 44px; height: 44px; font-size: 26px; }
.lightbox-image-wrap { position: relative; min-height: 240px; display: grid; place-items: center; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 185px); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 36px; line-height: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-count { color: rgba(255,255,255,.72); font-size: 14px; text-align: center; }
body.lightbox-lock { overflow: hidden; }
@media (max-width: 980px) {
  .hero-showcase { min-height: auto; }
  .hero-showcase-content { grid-template-columns: 1fr; padding: 118px 0 116px; }
  .hero-focus { max-width: 620px; }
  .visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .brand img { width: 164px; }
  .hero-showcase-content { padding: 98px 0 116px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-focus { padding: 22px; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-card { min-height: 310px; }
  .hero-controls { bottom: 24px; }
  .hero-arrow { width: 40px; height: 40px; }
  .lightbox { padding: 14px; }
  .lightbox-nav { width: 44px; height: 44px; }
}


/* Refinement 2026-06 v3: Home meno ridondante e titolo hero più leggibile */
#soluzioni .visual-grid { margin-top: 34px; }
#soluzioni .visual-card { min-height: 330px; }
.hero-copy h1 { word-spacing: 0.035em; }
@media (max-width: 620px) {
  .hero-copy h1 { line-height: 1.04; letter-spacing: -0.025em; word-spacing: 0.02em; }
}

/* Refinement 2026-06 v4: allineamento menu mobile, SEO/GEO package */
@media (max-width: 980px) {
  .site-header .container.navbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .navbar {
    justify-content: flex-start;
    gap: 16px;
  }
  .nav-toggle {
    margin-left: auto;
    flex: 0 0 44px;
  }
  .site-header nav {
    margin-left: 0;
  }
  .nav-menu {
    left: 16px;
    right: 16px;
    top: 82px;
    text-align: left;
  }
  .nav-menu li,
  .nav-menu a {
    width: 100%;
  }
  .nav-menu a {
    justify-content: flex-start;
    text-align: left;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 620px) {
  .site-header .container.navbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav-menu {
    left: 12px;
    right: 12px;
    top: 76px;
  }
  .hero-copy h1 {
    letter-spacing: -0.018em;
    word-spacing: 0.055em;
  }
}
