/* =========================================================================
   SYSNEX — Foglio di stile condiviso
   Colori brand: --navy #123459, --cyan #2DB6EA
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root, body.sysnex-root {
  --navy: #123459;
  --navy-900: #0a2038;
  --navy-700: #1c4c80;
  --cyan: #2DB6EA;
  --cyan-dark: #1B93C4;
  --cyan-soft: #E3F6FD;
  --ink: #13233a;
  --muted: #58697d;
  --paper: #F6F9FC;
  --line: #E1E9F1;
  --white: #FFFFFF;
  font-family: 'Roboto', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body {margin:0;}
body.sysnex-root * { box-sizing: border-box; }
body.sysnex-root a { color: inherit; text-decoration: none; }
body.sysnex-root button { font-family: inherit; cursor: pointer; }
body.sysnex-root ul { list-style: none; margin: 0; padding: 0; }
body.sysnex-root h1, body.sysnex-root h2, body.sysnex-root h3, body.sysnex-root p { margin: 0; }
body.sysnex-root :focus-visible { outline: 2.5px solid var(--cyan); outline-offset: 3px; }

.sx-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.sx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-dark);
}
.sx-eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--cyan); display: inline-block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Keyframes ---------- */
@keyframes sx-float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px,-22px); } }
@keyframes sx-float-slow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px,18px); } }
@keyframes sx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes sx-spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes sx-pulse { 0%,100% { opacity: .35; r: 4; } 50% { opacity: 1; r: 6; } }
@keyframes sx-dash { to { stroke-dashoffset: -200; } }
@keyframes sx-glow { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sx-shine { 0% { transform: translateX(-130%) skewX(-15deg); } 100% { transform: translateX(230%) skewX(-15deg); } }
@keyframes sx-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes sx-bounce-x { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  body.sysnex-root * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .sx-title-line { opacity: 1 !important; transform: none !important; }
  .sx-title-accent { background: none !important; color: var(--cyan) !important; -webkit-text-fill-color: var(--cyan) !important; }
}

/* ---------- Header ---------- */
.sx-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 100; transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.sx-header.is-top { background: transparent; padding: 22px 0; }
.sx-header.is-scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); box-shadow: 0 2px 24px rgba(18,52,89,0.08); padding: 12px 0; }
.sx-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sx-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; letter-spacing: -0.01em; color: var(--navy); }
.sx-header.is-top .sx-logo { color: var(--white); }
.sx-logo-accent { color: var(--cyan); }
.sx-nav { display: flex; align-items: center; gap: 6px; }
.sx-navlink { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--navy); border-radius: 8px; display: flex; align-items: center; gap: 4px; background: none; border: none; transition: color .2s ease; }
.sx-header.is-top .sx-navlink { color: rgba(255,255,255,0.92); }
.sx-navlink::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sx-navlink:hover::after, .sx-navlink.active::after { transform: scaleX(1); }
.sx-navlink:hover { color: var(--cyan-dark); }
.sx-header.is-top .sx-navlink:hover { color: var(--cyan); }
.sx-dropdown { position: relative; }
.sx-dropdown-panel { position: absolute; top: calc(100% + 10px); left: 0; width: 320px; background: var(--white); border-radius: 14px; box-shadow: 0 20px 50px rgba(10,32,56,0.18); border: 1px solid var(--line); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.sx-dropdown.open .sx-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.sx-dropdown-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .18s ease; }
.sx-dropdown-item:hover { background: var(--cyan-soft); }
.sx-dropdown-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--cyan); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sx-dropdown-item-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.sx-dropdown-item-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.sx-header-right { display: flex; align-items: center; gap: 10px; }
.sx-langtoggle { display: flex; border: 1.5px solid rgba(18,52,89,0.18); border-radius: 999px; overflow: hidden; }
.sx-header.is-top .sx-langtoggle { border-color: rgba(255,255,255,0.4); }
.sx-langbtn { padding: 6px 12px; font-size: 12.5px; font-weight: 700; background: none; border: none; color: var(--navy); letter-spacing: .03em; }
.sx-header.is-top .sx-langbtn { color: rgba(255,255,255,0.85); }
.sx-langbtn.active { background: var(--cyan); color: var(--navy-900); }
.sx-cta-btn, body.sysnex-root a.sx-cta-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: 999px; border: none; white-space: nowrap; }
.sx-cta-btn:hover .sx-shine { animation: sx-shine .9s ease; }
.sx-shine { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent); transform: translateX(-130%) skewX(-15deg); }
.sx-menubtn { display: none; background: none; border: none; color: var(--navy); }
.sx-header.is-top .sx-menubtn { color: var(--white); }
.sx-menubtn .icon-close { display: none; }

.sx-mobile-panel { display: none; }

@media (max-width: 900px) {
  .sx-nav, .sx-header-right .sx-cta-btn, body.sysnex-root .sx-header-right a.sx-cta-btn, .sx-header-right .sx-langtoggle { display: none; }
  .sx-header-inner { flex-wrap: nowrap; }
  .sx-logo { flex-shrink: 0; }
  .sx-menubtn { flex-shrink: 0; }
  .sx-menubtn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; cursor: pointer; }
  .sx-header.is-top { background: var(--navy); padding: 16px 0; }
  .sx-header.is-top .sx-logo, .sx-header.is-top .sx-menubtn { color: var(--white); }
  .sx-mobile-panel.open { display: block; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10,32,56,0.12); max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; animation: sx-mobile-in .2s ease; }
  .sx-mobile-link { display: flex; justify-content: space-between; align-items: center; padding: 15px 28px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); cursor: pointer; }
  .sx-mobile-link .chev { transition: transform .2s ease; }
  .sx-mobile-sub { padding: 4px 28px 14px 40px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); }
  .sx-mobile-sub a { padding: 9px 0; font-size: 13.5px; color: var(--muted); font-weight: 500; }
  .sx-mobile-langrow { display: flex; gap: 10px; padding: 16px 28px 8px; align-items: center; }
  .sx-mobile-panel .sx-langtoggle { display: flex; border-color: rgba(18,52,89,0.18); }
  .sx-header .sx-mobile-panel .sx-langbtn { color: var(--navy); }
  .sx-header .sx-mobile-panel .sx-langbtn.active { background: var(--cyan); color: var(--navy-900); }
  .sx-mobile-cta { padding: 8px 28px 22px; }
  .sx-mobile-cta .sx-cta-btn, body.sysnex-root .sx-mobile-cta a.sx-cta-btn { display: flex; justify-content: center; width: 100%; padding: 14px 20px; font-size: 14.5px; }
}
@keyframes sx-mobile-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 901px) { .sx-mobile-panel { display: none !important; } }

/* ---------- Hero ---------- */
.sx-hero { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy) 45%, var(--navy-700)); background-size: 200% 200%; animation: sx-gradient 16s ease infinite; padding: 168px 0 130px; overflow: hidden; }
.sx-hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.sx-hero-blob.b1 { width: 420px; height: 420px; background: var(--cyan); top: -140px; right: -80px; animation: sx-float 13s ease-in-out infinite; }
.sx-hero-blob.b2 { width: 300px; height: 300px; background: #1c6ea8; bottom: -120px; left: -60px; animation: sx-float-slow 15s ease-in-out infinite; }
.sx-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.sx-hero-eyebrow { color: var(--cyan); }
.sx-hero-eyebrow::before { background: var(--cyan); }
.sx-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); margin: 18px 0 20px; }
.sx-title-line { display: block; opacity: 0; transform: translateY(24px); animation: sx-title-in .8s cubic-bezier(.16,.84,.44,1) forwards; animation-delay: var(--in-delay, 0s); }
.sx-title-accent { background: linear-gradient(90deg, var(--cyan), #eafcff 45%, var(--cyan)); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: sx-title-in .8s cubic-bezier(.16,.84,.44,1) forwards, sx-shimmer-text 5s linear infinite; animation-delay: var(--in-delay, 0s), 1.4s; }
@keyframes sx-title-in { to { opacity: 1; transform: none; } }
@keyframes sx-shimmer-text { to { background-position: -250% center; } }
.sx-hero-sub { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.78); max-width: 540px; }
.sx-hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.sx-btn-primary, body.sysnex-root a.sx-btn-primary { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; background: var(--cyan); color: var(--white); font-weight: 700; font-size: 15px; padding: 15px 26px; border-radius: 999px; border: none; }
.sx-btn-primary svg { transition: transform .25s ease; }
.sx-btn-primary:hover svg { animation: sx-bounce-x .6s ease infinite; }
.sx-btn-primary:hover .sx-shine { animation: sx-shine .9s ease; }
.sx-btn-ghost, body.sysnex-root a.sx-btn-ghost { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.06); color: var(--white); font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.35); transition: background .2s ease, border-color .2s ease; }
.sx-btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--cyan); }

/* ---------- Network signature visual ---------- */
.sx-net-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.sx-net-ring { animation: sx-spin 34s linear infinite; transform-origin: center; }
.sx-net-ring-rev { animation: sx-spin-rev 26s linear infinite; transform-origin: center; }
.sx-net-line { stroke-dasharray: 8 10; animation: sx-dash 5s linear infinite; }
.sx-net-node { animation: sx-pulse 2.6s ease-in-out infinite; }
.sx-net-shield { filter: drop-shadow(0 0 18px rgba(45,182,234,0.55)); }
.sx-net-glow { animation: sx-glow 3.4s ease-in-out infinite; }

/* ---------- Sections ---------- */
.sx-section { padding: 96px 0; }
.sx-section.paper { background: var(--paper); }
.sx-section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 680px; }
.sx-section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -0.015em; color: var(--navy); line-height: 1.2; }
.sx-section-head p { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Trust */
.sx-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.sx-trust-points { display: flex; flex-direction: column; gap: 16px; }
.sx-trust-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.sx-trust-point:hover { transform: translateX(6px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(45,182,234,0.14); }
.sx-trust-point svg { color: var(--cyan-dark); flex-shrink: 0; margin-top: 2px; }
.sx-trust-point span { font-size: 14.5px; font-weight: 600; color: var(--navy); }

/* Services grid */
.sx-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sx-service-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; transition: transform .3s cubic-bezier(.16,.84,.44,1), box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.sx-service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--cyan-soft), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.sx-service-card:hover { transform: translateY(-8px); border-color: var(--cyan); box-shadow: 0 22px 50px rgba(18,52,89,0.14); }
.sx-service-card:hover::before { opacity: 1; }
.sx-service-icon { position: relative; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background .3s ease, transform .3s ease; }
.sx-service-card:hover .sx-service-icon { background: var(--cyan); color: var(--navy-900); transform: rotate(-6deg) scale(1.06); }
.sx-service-card h3 { position: relative; font-size: 18.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sx-service-card p { position: relative; font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.sx-service-more { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--cyan-dark); }
.sx-service-more svg { transition: transform .25s ease; }
.sx-service-card:hover .sx-service-more svg { transform: translateX(5px); }

/* Clients */
.sx-clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sx-client-logo { aspect-ratio: 3/2; border: 1px dashed var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); background: var(--paper); filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease, transform .3s ease, border-color .3s ease; }
.sx-client-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); border-color: var(--cyan); color: var(--cyan-dark); }
.sx-clients-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); font-style: italic; }

/* CTA banner */
.sx-ctabanner { position: relative; background: var(--navy); border-radius: 26px; padding: 56px 48px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sx-ctabanner::after { content: ""; position: absolute; width: 260px; height: 260px; background: var(--cyan); opacity: .25; filter: blur(70px); border-radius: 50%; top: -80px; right: -40px; animation: sx-float 10s ease-in-out infinite; }
.sx-ctabanner h3 { position: relative; font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.sx-ctabanner p { position: relative; color: rgba(255,255,255,0.75); font-size: 15px; }

/* Breadcrumb */
.sx-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 18px; flex-wrap: wrap; }
.sx-breadcrumb a:hover { color: var(--cyan); }
.sx-breadcrumb .sep { opacity: .5; }
.sx-breadcrumb .current { color: var(--cyan); font-weight: 600; }

/* Service page hero (smaller) */
.sx-page-hero { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%); padding: 130px 0 76px; overflow: hidden; }
.sx-page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--white); line-height: 1.15; letter-spacing: -0.015em; max-width: 760px; margin: 14px 0 16px; }
.sx-page-hero p { color: rgba(255,255,255,0.78); font-size: 16.5px; max-width: 620px; line-height: 1.6; }
.sx-page-hero-icon { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); opacity: .16; }

/* Feature list */
.sx-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sx-feature-card { display: flex; gap: 14px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s ease, transform .25s ease; }
.sx-feature-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.sx-feature-card svg { color: var(--cyan-dark); flex-shrink: 0; margin-top: 3px; }
.sx-feature-card h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sx-feature-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Process */
.sx-process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.sx-process-item { position: relative; padding: 0 18px; }
.sx-process-num { font-size: 42px; font-weight: 900; color: var(--cyan-soft); -webkit-text-stroke: 1.5px var(--cyan); line-height: 1; margin-bottom: 14px; }
.sx-process-item h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sx-process-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.sx-process-connector { position: absolute; top: 22px; left: -10%; width: 20%; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 12px); }

/* Benefits */
.sx-benefits-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-benefit-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--cyan-soft); color: var(--navy); font-weight: 600; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(45,182,234,0.35); }
.sx-benefit-chip svg { color: var(--cyan-dark); }

/* Contact form */
.sx-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: 0 30px 70px rgba(18,52,89,0.08); }
.sx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sx-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.sx-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.sx-field .req { color: var(--cyan-dark); }
.sx-field input, .sx-field textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.sx-field input:focus, .sx-field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(45,182,234,0.16); background: var(--white); }
.sx-field textarea { resize: vertical; min-height: 110px; }
.sx-checkrow { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.sx-checkrow input { margin-top: 3px; accent-color: var(--cyan-dark); width: 16px; height: 16px; flex-shrink: 0; }
.sx-checkrow label { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sx-submit { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 14.5px; padding: 14px 28px; border-radius: 999px; border: none; margin-top: 6px; }
.sx-submit:disabled { opacity: .7; cursor: not-allowed; }
.sx-submit:hover:not(:disabled) .sx-shine { animation: sx-shine .9s ease; }
.sx-msg { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-top: 16px; }
.sx-msg.ok { background: #E6F8ED; color: #1a7a41; }
.sx-msg.err { background: #FDEBEA; color: #B4231F; }
.spin { animation: sx-spin .8s linear infinite; }

/* Contact page layout */
.sx-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.sx-info-card { display: flex; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; transition: border-color .25s ease, transform .25s ease; }
.sx-info-card:hover { border-color: var(--cyan); transform: translateX(4px); }
.sx-info-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: var(--cyan); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sx-info-card h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.sx-info-card p { font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.sx-map-wrap-full { grid-column: 1 / -1; margin-top: 10px; }
.sx-map-frame { width: 100%; height: 400px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sx-map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.05); }

/* Footer */
.sx-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 64px 0 26px; }
.sx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.sx-footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--white); margin-bottom: 14px; }
.sx-footer h5 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 16px; }
.sx-footer ul li { margin-bottom: 10px; font-size: 13.5px; }
.sx-footer ul li a { transition: color .2s ease; }
.sx-footer ul li a:hover { color: var(--cyan); }
.sx-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
.sx-footer p { font-size: 13.5px; line-height: 1.6; }

@media (max-width: 900px) {
  .sx-hero-grid, .sx-trust-grid, .sx-contact-grid { grid-template-columns: 1fr; }
  .sx-services-grid, .sx-features-grid { grid-template-columns: repeat(2, 1fr); }
  .sx-process-list { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .sx-process-connector { display: none; }
  .sx-footer-grid { grid-template-columns: 1fr 1fr; }
  .sx-clients-grid { grid-template-columns: repeat(3, 1fr); }
  .sx-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sx-services-grid, .sx-features-grid, .sx-footer-grid { grid-template-columns: 1fr; }
  .sx-process-list { grid-template-columns: 1fr; }
  .sx-hero { padding: 140px 0 90px; }
  .sx-form-wrap { padding: 26px; }
}

/* ---------- Chat widget ---------- */
.sx-chat-fab { position: fixed; right: 26px; bottom: 26px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(45,182,234,0.45); transition: transform .25s ease, box-shadow .25s ease; }
.sx-chat-fab:hover { transform: translateY(-3px) scale(1.05); }
.sx-chat-fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: sx-chat-ping 2.6s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes sx-chat-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

.sx-chat-panel { position: fixed; right: 26px; bottom: 100px; z-index: 200; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: 72vh; background: var(--white); border-radius: 20px; box-shadow: 0 30px 70px rgba(10,32,56,0.28); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(0.92) translateY(12px); opacity: 0; pointer-events: none; transition: transform .25s cubic-bezier(.16,.84,.44,1), opacity .2s ease; }
.sx-chat-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.sx-chat-head { background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sx-chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sx-chat-head-title { font-size: 14.5px; font-weight: 800; }
.sx-chat-head-sub { font-size: 11.5px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.sx-chat-head-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #45d17c; display: inline-block; }
.sx-chat-close { margin-left: auto; background: rgba(255,255,255,0.1); border: none; color: var(--white); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.sx-chat-close:hover { background: rgba(255,255,255,0.22); }
.sx-chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.sx-chat-bubble { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; }
.sx-chat-bubble.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.sx-chat-bubble.user { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.sx-chat-bubble a { color: var(--cyan-dark); text-decoration: underline; overflow-wrap: anywhere; }
.sx-chat-bubble a:hover { text-decoration: none; }
.sx-chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.sx-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-dark); opacity: .5; animation: sx-chat-bounce 1.1s ease-in-out infinite; }
.sx-chat-typing span:nth-child(2) { animation-delay: .15s; }
.sx-chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sx-chat-bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.sx-chat-disclaimer { font-size: 10.5px; color: var(--muted); text-align: center; padding: 6px 14px 0; flex-shrink: 0; }
.sx-chat-inputrow { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--white); flex-shrink: 0; }
.sx-chat-input { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 13px; font-family: inherit; font-size: 13.5px; max-height: 90px; background: var(--paper); transition: border-color .2s ease; }
.sx-chat-input:focus { outline: none; border-color: var(--cyan); background: var(--white); }
.sx-chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s ease, opacity .2s ease; }
.sx-chat-send:hover:not(:disabled) { transform: scale(1.07); }
.sx-chat-send:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 480px) {
  .sx-chat-panel { right: 16px; left: 16px; bottom: 92px; width: auto; height: 66vh; }
  .sx-chat-fab { right: 18px; bottom: 18px; }
}


/* ---------- Multilingua (toggle IT/EN via attributo su <html>) ---------- */
html[data-lang="it"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-it { display: none !important; }

/* ---------- Logo (immagine reale, due varianti chiaro/scuro) ---------- */
.sx-logo-img { height: 34px; width: auto; display: block; }
.sx-logo-dark { display: block; }
.sx-logo-light { display: none; }
.sx-header.is-top .sx-logo-dark { display: none; }
.sx-header.is-top .sx-logo-light { display: block; }
.sx-footer-logo img { height: 30px; width: auto; }
@media (max-width: 900px) {
  .sx-header.is-top .sx-logo-dark { display: none; }
  .sx-header.is-top .sx-logo-light { display: block; }
}

/* ---------- Client logos placeholder ---------- */
.sx-client-logo { text-decoration: none; }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Cookie banner (Silktide) ---------- */
html #stcm-wrapper {
  --primaryColor: #FFFFFF;
  --backgroundColor: #123459;
  --textColor: #FFFFFF;
  --iconColor: #123459;
  --iconBackgroundColor: #FFFFFF;
}
