/* source-sans-3-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-cyrillic-ext-400-normal.BwJdxs7r.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-ext-400-normal.BqOlcezh.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-sans-3-cyrillic-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-cyrillic-400-normal.DjhbW-4D.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-400-normal.DkNBMcYd.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-sans-3-greek-ext-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-greek-ext-400-normal.CpIwTHMM.woff2) format('woff2'), url(/_astro/source-sans-3-greek-ext-400-normal.CN4VBqpr.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* source-sans-3-greek-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-greek-400-normal.DZReXJla.woff2) format('woff2'), url(/_astro/source-sans-3-greek-400-normal.DyO2Yfz5.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-sans-3-vietnamese-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-vietnamese-400-normal.CwtaIDr2.woff2) format('woff2'), url(/_astro/source-sans-3-vietnamese-400-normal.eMQk7hmk.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-sans-3-latin-ext-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-latin-ext-400-normal.UNsKFIBq.woff2) format('woff2'), url(/_astro/source-sans-3-latin-ext-400-normal.D5P-Ud2J.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-sans-3-latin-400-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/source-sans-3-latin-400-normal.DQi5PRDE.woff2) format('woff2'), url(/_astro/source-sans-3-latin-400-normal.RR2C27NP.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* source-sans-3-cyrillic-ext-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-cyrillic-ext-600-normal.6AhwUnSr.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-ext-600-normal.Cjpx_pje.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-sans-3-cyrillic-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-cyrillic-600-normal.BnFu5nHC.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-600-normal.CloKWf-q.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-sans-3-greek-ext-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-greek-ext-600-normal.DynePNDL.woff2) format('woff2'), url(/_astro/source-sans-3-greek-ext-600-normal.CnpzyT-3.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* source-sans-3-greek-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-greek-600-normal.BSO157bq.woff2) format('woff2'), url(/_astro/source-sans-3-greek-600-normal.B42bzTIr.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-sans-3-vietnamese-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-vietnamese-600-normal.B2sTNYey.woff2) format('woff2'), url(/_astro/source-sans-3-vietnamese-600-normal.BzH4Q14_.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-sans-3-latin-ext-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-latin-ext-600-normal.AEyhgUpm.woff2) format('woff2'), url(/_astro/source-sans-3-latin-ext-600-normal.D2VZAM8_.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-sans-3-latin-600-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/_astro/source-sans-3-latin-600-normal.DeckBYAU.woff2) format('woff2'), url(/_astro/source-sans-3-latin-600-normal.Ck0n4g8U.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* source-sans-3-cyrillic-ext-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-cyrillic-ext-700-normal.BhUSqjb8.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-ext-700-normal.COA7LiPB.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-sans-3-cyrillic-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-cyrillic-700-normal.CIuudVLB.woff2) format('woff2'), url(/_astro/source-sans-3-cyrillic-700-normal.D_p3L75o.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-sans-3-greek-ext-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-greek-ext-700-normal.Dd6uIcuy.woff2) format('woff2'), url(/_astro/source-sans-3-greek-ext-700-normal.KTP46hTS.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* source-sans-3-greek-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-greek-700-normal.C8Tp2qRF.woff2) format('woff2'), url(/_astro/source-sans-3-greek-700-normal.C-sAg5NG.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-sans-3-vietnamese-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-vietnamese-700-normal.Bgamivog.woff2) format('woff2'), url(/_astro/source-sans-3-vietnamese-700-normal.W-J7ohm4.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-sans-3-latin-ext-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-latin-ext-700-normal.6Xi0A2be.woff2) format('woff2'), url(/_astro/source-sans-3-latin-ext-700-normal.C1ecyfgK.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-sans-3-latin-700-normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/_astro/source-sans-3-latin-700-normal.CkzU-mV9.woff2) format('woff2'), url(/_astro/source-sans-3-latin-700-normal.B-h9tW5h.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ibm-plex-mono-cyrillic-ext-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.xuaO2J-f.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-ext-400-normal.DMdlQ8Kv.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ibm-plex-mono-cyrillic-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-cyrillic-400-normal.BSMlKf0J.woff2) format('woff2'), url(/_astro/ibm-plex-mono-cyrillic-400-normal.CEL4l2ZJ.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ibm-plex-mono-vietnamese-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-vietnamese-400-normal.BulugwFq.woff2) format('woff2'), url(/_astro/ibm-plex-mono-vietnamese-400-normal.DDuiU_S-.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

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

/* ibm-plex-mono-latin-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/_astro/ibm-plex-mono-latin-400-normal.DMJ8VG8y.woff2) format('woff2'), url(/_astro/ibm-plex-mono-latin-400-normal.CvHOgSBP.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0B1622; }
a { color: #5CCBF0; }
a:hover { opacity: .85; }
:focus-visible { outline: 2px solid #99DAA2; outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }
summary { list-style-position: outside; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: #99DAA2; color: #06121D; font-weight: 600; text-decoration: none; border-radius: 4px; }
.skip:focus { left: 8px; }

/* Testata */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 14px 5%; border-bottom: 1px solid rgba(233,238,242,.12); background: rgba(11,22,34,.94); backdrop-filter: blur(8px); }
.hdr-logo img { display: block; height: 52px; width: auto; }
.hdr-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 16px; font-weight: 600; }
.hdr-nav a { color: #E9EEF2; text-decoration: none; padding: 4px 0; }
.hdr-nav a[aria-current="page"] { color: #5CCBF0; box-shadow: inset 0 -2px 0 #99DAA2; }
.hdr-side { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.hdr-side a.lnk { color: #9DAEBD; text-decoration: none; font-weight: 600; }
.hdr-cta { display: inline-block; padding: 10px 18px; border-radius: 4px; background: linear-gradient(90deg,#5CCBF0,#99DAA2); color: #06121D !important; font-weight: 600; text-decoration: none; }
.hdr-menu { display: none; }

/* Sottomenu Servizi: si apre al passaggio del mouse o con la tastiera (focus) */
.hdr-dd { position: relative; }
.hdr-nav a[aria-current="true"] { color: #5CCBF0; box-shadow: inset 0 -2px 0 #99DAA2; }
.hdr-caret { display: inline-block; font-size: 12px; margin-left: 2px; transition: transform .25s ease; }
.hdr-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 330px;
  background: rgba(14, 27, 41, .98); border: 1px solid rgba(233,238,242,.14); border-radius: 8px; box-shadow: 0 20px 44px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease, visibility 0s .22s; z-index: 60; }
.hdr-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.hdr-sub li a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 600; font-size: 16px; line-height: 22px; color: #E9EEF2; box-shadow: none !important; }
.hdr-sub li a:hover, .hdr-sub li a:focus-visible { background: rgba(92, 203, 240, .1); color: #5CCBF0; opacity: 1; }
.hdr-sub li a[aria-current="page"] { color: #5CCBF0; }
.hdr-sub .hdr-sub-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(233,238,242,.12); }
.hdr-sub .hdr-sub-all a { color: #99DAA2; font-weight: 600; }
.hdr-dd:hover .hdr-sub, .hdr-dd:focus-within .hdr-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
.hdr-dd:hover .hdr-caret, .hdr-dd:focus-within .hdr-caret { transform: rotate(180deg); }
.hdr-ddbtn { font: inherit; font-weight: 600; color: #E9EEF2; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.hdr-ddbtn[data-on] { color: #5CCBF0; box-shadow: inset 0 -2px 0 #99DAA2; }
.hdr-dd:hover .hdr-ddbtn, .hdr-dd:focus-within .hdr-ddbtn { color: #5CCBF0; }
.hdr-grp { color: #E9EEF2; font-weight: 600; padding: 4px 0; }
.hdr-sub-m { list-style: none; margin: 0 0 6px; padding: 0 0 0 16px; border-left: 2px solid rgba(153,218,162,.4); display: flex; flex-direction: column; gap: 2px; }
.hdr-sub-m a { font-size: 16px !important; font-weight: 400; color: #9DAEBD !important; }
.hdr-menu summary { cursor: pointer; list-style: none; padding: 8px 12px; border: 1px solid rgba(233,238,242,.4); border-radius: 4px; color: #E9EEF2; font-weight: 600; font-size: 16px; }
.hdr-menu summary::-webkit-details-marker { display: none; }

@media (max-width: 1040px) {
  .hdr { flex-wrap: wrap; }
  .hdr-desk { display: none !important; }
  .hdr-menu { display: block; }
  .hdr-menu[open] { width: 100%; order: 3; }
  .hdr-menu[open] summary { display: inline-block; }
  .hdr-menu .hdr-nav { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0 8px; font-size: 18px; }
  .hdr-menu .hdr-side { flex-wrap: wrap; padding-bottom: 8px; }
}
@media (max-width: 640px) {
  .hdr-logo img { height: 42px; }
  section { padding-left: 20px !important; padding-right: 20px !important; }
  h1 { font-size: 34px !important; }
  h2 { font-size: 28px !important; line-height: 34px !important; }
  dl[style*="max-content"] { grid-template-columns: 1fr !important; }
}

.legal h2 { margin: 40px 0 8px; font-size: 26px; line-height: 32px; font-weight: 600; color: #E9EEF2; }
.legal p { color: #9DAEBD; margin: 0 0 12px; }

/* ---------- Movimento (sobrio: 0,3–0,9 s; il testo è sempre nell'HTML) ---------- */

/* Passaggio tra pagine: dissolvenza, testata ferma (View Transitions native, nessun JS) */
@view-transition { navigation: auto; }
.hdr { view-transition-name: testata; }
::view-transition-old(root) { animation: 220ms ease-out both vt-out; }
::view-transition-new(root) { animation: 360ms ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Hero: entrata a cascata */
.hero h1, .hero p, .hero .fig, .hero h1 + p + div { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero p:first-child { animation-delay: .05s; }
.hero h1 { animation-delay: .12s; }
.hero h1 + p { animation-delay: .22s; }
.hero h1 + p + div { animation-delay: .32s; }
.hero .fig { animation: draw 1.2s .25s cubic-bezier(.4,0,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

/* Aloni che respirano */
.glow { animation: breathe 9s ease-in-out infinite alternate; }
.glow:nth-of-type(2) { animation-duration: 12s; animation-delay: -4s; }
@keyframes breathe { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }

/* ---------- Comparsa allo scorrimento ----------
   Entrata: JavaScript (IntersectionObserver) aggiunge .in quando l'elemento entra per ~15% nello schermo;
   si ripete se si torna su e si riscende. Ritardo a cascata tra box vicini (--d).
   Uscita: dissolvenza legata allo scorrimento (CSS, scroll-driven) sul contenitore della sezione.
   Senza JavaScript o con "riduci movimento" tutto resta visibile. */
.js .rv { opacity: 0; transform: translateY(56px) scale(.97); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.from-left { transform: translateX(-56px); }
.js .rv.in { opacity: 1; transform: none; }
.js .ecg.rv { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.4,0,.2,1); }
.js .ecg.rv.in { clip-path: inset(0 0 0 0); }
@keyframes sv-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-40px); } }
@supports (animation-timeline: view()) {
  main section:not(.hero) > div, main section > dl {
    animation: sv-out linear forwards; animation-timeline: view(); animation-range: exit 0% exit 85%;
  }
}

/* Reti di nodi sullo sfondo: le linee si tracciano da sinistra a destra (come il tracciato ECG)
   quando la sezione entra nello schermo; poi i nodi si accendono e pulsano. Senza JS restano disegnate. */
.js .net line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1); transition-delay: calc(var(--t, 0) * 1.8s); }
.js .net.in line { stroke-dashoffset: 0; }
.js .net circle { transform-box: fill-box; transform-origin: center; scale: 0; transition: scale .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--t, 0) * 1.8s + .6s); }
.js .net.in circle { scale: 1; }
@keyframes nxtw { 0% { opacity: .25; } 100% { opacity: 1; } }
.net circle { animation: nxtw 4.5s ease-in-out infinite alternate; }
.net circle:nth-of-type(3n) { animation-duration: 6s; animation-delay: -2s; }
.net circle:nth-of-type(3n+1) { animation-duration: 7.5s; animation-delay: -4s; }

/* Schede: sollevamento e linea che si allunga */
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card .bar { transition: width .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); border-color: rgba(92, 203, 240, .45) !important; }
.card:hover .bar { width: 96px !important; }
article.card:hover { box-shadow: 0 2px 4px rgba(11,37,64,.1), 0 18px 40px rgba(11,37,64,.18) !important; }
.row-h span { transition: box-shadow .3s ease, transform .3s ease; }
.row-h:hover span, div:hover > .row-h span { transform: scale(1.35); box-shadow: 0 0 18px rgba(153, 218, 162, .9) !important; }
.step span:first-child { transition: letter-spacing .3s ease; }
.step:hover span:first-child { letter-spacing: .08em; }

/* Pulsanti */
main a[style*="linear-gradient(90deg"], .hdr-cta, button[type="submit"] { transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
main a[style*="linear-gradient(90deg"]:hover, .hdr-cta:hover, button[type="submit"]:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 30px rgba(92, 203, 240, .35) !important; opacity: 1; }
main a[style*="border: 1px solid rgba(233, 238, 242, 0.4)"] { transition: border-color .2s ease, background-color .2s ease; }
main a[style*="border: 1px solid rgba(233, 238, 242, 0.4)"]:hover { border-color: #5CCBF0 !important; background-color: rgba(92, 203, 240, .08); opacity: 1; }

/* Domande frequenti: apertura animata (browser recenti; negli altri si apre e basta) */
:root { interpolate-size: allow-keywords; }
.faq::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
.faq[open]::details-content { height: auto; }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: #5CCBF0 !important; }

/* Menu mobile */
.hdr-menu[open] .hdr-nav, .hdr-menu[open] .hdr-side { animation: rise .3s ease both; }

/* Movimento ridotto: tutto fermo e visibile */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
