@font-face{
  font-family:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  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;
}

:root{
    --magenta:#FD24BF;
    --magenta-dark:#d40f9c;
    --indigo:#3E46C9;
    --ink:#0e0f11;
    --dark:#0b0b0d;
    --dark-2:#2C3338;
    --footer:#252525;
    --paper:#ffffff;
    --tint:#FCE3F5;
    --tint-light:#FDF1FA;
    --gray:#6b6f76;
    --green:#1fae54;
    --radius:26px;
    --maxw:1380px;
    --site-gutter:clamp(48px,6.875vw,110px);
  }
  /* ---- TYPOGRAPHY ----
     Plus Jakarta Sans per titoli e UI.
     Helvetica Neue Light per descrizioni e body copy editoriale. */
  :root{
    --sans:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
    --serif:'Helvetica Neue',Helvetica,Arial,sans-serif;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;scroll-padding-top:130px;}
  body{background:var(--paper);font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased;}
  .demo-page-backdrop{
    position:fixed;z-index:80;inset:0;border:0;background:rgba(3,5,16,.76);
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
    opacity:0;pointer-events:none;cursor:pointer;transition:opacity .38s ease;
  }
  body.demo-overlay-open .demo-page-backdrop{opacity:1;pointer-events:auto;}
  h1,h2,h3,h4,h5,.num,.btn{font-family:var(--sans);font-weight:800;letter-spacing:-0.02em;}

  /* Paragrafi lunghi, descrizioni e approfondimenti */
  .lead,
  .why p,
  .fmt p,
  .step p,
  .phase p,
  .story p,
  .pt p,
  .kpi-cell p,
  .geo .prose,
  .final p,
  .hero .sub,
  .foot-desc,
  .gw-feats div{
    font-family:var(--serif);
    font-weight:300;
    letter-spacing:0;
  }
  img{max-width:100%;display:block;}
  section{padding:96px 26px;}
  .wrap{max-width:var(--maxw);margin:0 auto;}
  .center{text-align:center;}
  .kicker{
    font-family:var(--sans);font-weight:700;font-size:14px;letter-spacing:.14em;
    text-transform:uppercase;color:var(--magenta);margin-bottom:14px;
  }
  .h2{font-size:clamp(32px,4vw,52px);font-weight:800;line-height:1.08;letter-spacing:-0.01em;}
  .reveal-title .reveal-word{display:inline-block;white-space:nowrap;}
  .reveal-title .reveal-char{
    display:inline-block;will-change:transform,opacity;
  }
  .lead{font-size:22px;line-height:1.3;color:#000;margin-top:18px;max-width:640px;}
  .center .lead{margin-left:auto;margin-right:auto;}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--magenta);color:#fff;border:none;cursor:pointer;
    font-weight:700;font-size:15px;letter-spacing:.04em;text-transform:uppercase;
    padding:18px 36px;border-radius:12px;text-decoration:none;transition:.2s;
  }
  .btn:focus{outline:0;}
  .btn:focus-visible{box-shadow:0 0 0 3px rgba(255,255,255,.78),0 0 0 5px rgba(253,36,191,.82);}
  .btn:hover{background:#000;color:#fff;transform:translateY(-2px);}
  .btn.ghost{background:transparent;border:2px solid var(--magenta);color:var(--magenta);}
  .btn.ghost:hover{background:var(--magenta);color:#fff;}

  /* ================= NAV ================= */
  .topbar{
    position:fixed;top:0;left:0;right:0;z-index:90;background:transparent;
    opacity:1;transform:translateY(0);pointer-events:none;
    transition:top .65s cubic-bezier(.16,1,.3,1),opacity .28s ease,transform .5s cubic-bezier(.16,1,.3,1);
  }
  .topbar.is-hidden{opacity:0;transform:translateY(calc(-100% - 36px));pointer-events:none;}
  .topbar.is-hidden .nav-in{pointer-events:none;}
  body.demo-overlay-open .topbar{opacity:0;transform:translateY(-24px);pointer-events:none;}
  body.demo-overlay-open .topbar .nav-in{pointer-events:none;}
  .nav-in{
    position:relative;width:100%;max-width:none;height:96px;margin:0 auto;display:grid;
    grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:24px;
    padding:20px var(--site-gutter);
    background:transparent;border:1px solid transparent;
    border-radius:0;box-shadow:none;
    pointer-events:auto;
    transition:max-width .9s cubic-bezier(.16,1,.3,1),padding .65s cubic-bezier(.16,1,.3,1),
      border-radius .65s cubic-bezier(.16,1,.3,1),box-shadow .65s ease;
  }
  .nav-brand{display:block;justify-self:start;}
  .nav-brand img{width:auto;}
  .nav-in img{height:55px;transition:height .65s cubic-bezier(.16,1,.3,1);}

  /* tab centrati dentro un contenitore chiaro */
  .tabs{
    position:relative;display:flex;align-items:center;gap:2px;
    background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.58);border-radius:16px;padding:5px;
    box-shadow:0 10px 30px rgba(3,5,16,.13);
    backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);
    transition:padding .65s cubic-bezier(.16,1,.3,1),border-radius .65s cubic-bezier(.16,1,.3,1);
  }
  .tabs a,
  .tabs .menu-trigger{
    display:block;padding:13px 22px;border-radius:11px;
    font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;
    white-space:nowrap;transition:background .18s,color .18s,padding .65s cubic-bezier(.16,1,.3,1),
      font-size .65s cubic-bezier(.16,1,.3,1);
  }
  .tabs .menu-trigger{appearance:none;border:0;background:transparent;font-family:var(--sans);cursor:pointer;}
  .tabs a:hover,
  .tabs .menu-trigger:hover,
  .menu-group:focus-within .menu-trigger{background:#edf5ff;}
  .tabs a.on{background:var(--ink);color:#fff;}
  .tabs a.on:hover{background:var(--ink);}
  /* Current area is baked into each page, including direct visits and reloads. */
  .topbar .tabs > a[aria-current],
  .topbar .tabs > .menu-group > .menu-trigger[aria-current]{
    background:#000;color:#fff;
  }
  @media(max-width:1080px){
    .topbar .tabs > a[aria-current],
    .topbar .tabs > .menu-group > .menu-trigger[aria-current]{
      box-shadow:inset 0 0 0 1px rgb(255 255 255 / .35);
    }
  }
  .menu-group{position:relative;}
  .mega-menu{
    position:absolute;z-index:12;left:50%;top:calc(100% + 16px);display:grid;
    grid-template-columns:repeat(2,minmax(180px,1fr));gap:8px;width:430px;padding:12px;
    border:1px solid rgba(14,15,17,.14);border-radius:18px;background:rgba(255,255,255,.98);
    box-shadow:0 24px 64px rgba(14,15,17,.16);backdrop-filter:blur(18px);
    opacity:0;visibility:hidden;transform:translate(-50%,-8px);pointer-events:none;
    transition:opacity .22s,transform .35s cubic-bezier(.16,1,.3,1),visibility .22s;
  }
  .mega-menu::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
  .mega-menu a{display:flex;flex-direction:column;gap:7px;padding:18px!important;border-radius:13px!important;white-space:normal;}
  .mega-menu a strong{font-size:1rem;line-height:1.1;}
  .mega-menu a span{font-family:var(--serif);font-size:.82rem;font-weight:300;line-height:1.45;color:#000;opacity:1;}
  .menu-group:hover .mega-menu,
  .menu-group:focus-within .mega-menu,
  .menu-group.is-open .mega-menu{opacity:1;visibility:visible;transform:translate(-50%,0);pointer-events:auto;}

  .menu-toggle{
    display:none;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(14,15,17,.12);
    border-radius:12px;background:rgba(255,255,255,.72);color:var(--ink);cursor:pointer;
    gap:5px;align-content:center;
    box-shadow:0 8px 24px rgba(3,5,16,.12);
    backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%);
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after{content:"";display:block;width:20px;height:2px;border-radius:2px;background:currentColor;
    transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .18s;}
  .topbar.menu-open .menu-toggle span{opacity:0;}
  .topbar.menu-open .menu-toggle::before{transform:translateY(7px) rotate(45deg);}
  .topbar.menu-open .menu-toggle::after{transform:translateY(-7px) rotate(-45deg);}
  /* a menu aperto il pulsante prende il nero del pannello */
  .topbar.menu-open .menu-toggle{background:var(--ink);border-color:var(--ink);color:#fff;}

  .nav-actions{justify-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:18px;}
  .language-selector{position:relative;display:inline-flex;font-family:var(--sans);}
  .language-toggle{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 10px;
    border:1px solid rgba(255,255,255,.58);border-radius:999px;background:rgba(255,255,255,.68);color:var(--ink);
    font:700 11px/1 var(--sans);cursor:pointer;box-shadow:0 10px 30px rgba(3,5,16,.13);opacity:1;
    backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%);
    transition:opacity .2s ease,background .2s ease,border-color .2s ease;
  }
  .language-toggle:hover,.language-selector.is-open .language-toggle{background:rgba(255,255,255,.88);border-color:rgba(255,255,255,.8);}
  .language-toggle:focus{outline:0;}
  .language-toggle:focus-visible{box-shadow:0 0 0 2px var(--magenta);}
  .language-selector--header .language-toggle{width:40px;padding:0;}
  .language-globe{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .language-flag{display:block;width:18px;height:18px;overflow:hidden;border:1px solid rgba(11,11,13,.09);border-radius:50%;background-color:#fff;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:0 1px 3px rgba(0,0,0,.1);}
  .language-flag--it{background-image:url("../flag-it.svg?v=20260914-1");}
  .language-flag--en{background-image:url("../flag-en.svg?v=20260914-1");}
  .language-chevron{display:block;width:12px;height:8px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 50%;transition:transform .2s ease;}
  .language-selector.is-open .language-chevron{transform:rotate(180deg);}
  .language-menu{
    position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:62px;padding:6px;
    border:1px solid rgba(14,15,17,.1);border-radius:14px;background:#fff;color:var(--ink);
    box-shadow:0 18px 45px rgba(3,5,16,.16);
  }
  .language-menu[hidden]{display:none;}
  .language-option{
    display:grid;grid-template-columns:20px 14px;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px;
    border:0;border-radius:9px;background:transparent;color:inherit;font:700 12px/1 var(--sans);text-align:left;text-decoration:none;cursor:pointer;
  }
  .language-option:hover,.language-option:focus-visible{background:#edf5ff;outline:0;}
  .language-check{position:relative;display:block;width:14px;height:14px;opacity:0;color:var(--ink);text-decoration:none;}
  .language-check::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);}
  .language-option.is-selected .language-check{opacity:1;}

  /* CTA testuale con freccia, allineata a destra */
  .nav-cta{
    justify-self:end;display:inline-flex;align-items:center;gap:10px;padding:9px 13px;
    border:1px solid transparent;border-radius:12px;background:transparent;
    font-size:15px;font-weight:600;color:#FD24BF;text-decoration:none;white-space:nowrap;
    transition:border-color .2s ease,color .2s ease;
  }
  .nav-cta i{
    display:inline-flex;align-items:center;justify-content:center;color:inherit;font-style:normal;
  }
  .nav-cta:hover{border-color:var(--magenta);color:var(--magenta);}

  /* Allo scroll la fascia si ricompatta in una card centrale. */
  .topbar.is-compact{
    top:12px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  .topbar.is-compact .nav-in{
    max-width:1040px;height:auto;min-height:0;padding:10px 22px;border:1px solid rgba(255,255,255,.58);border-radius:15px;
    background:rgba(255,255,255,.76);box-shadow:0 10px 30px rgba(3,5,16,.13);
    backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);
  }
  .topbar.is-compact .nav-in img{height:44px;}
  .topbar.is-compact .tabs{padding:4px;border-radius:13px;}
  .topbar.is-compact .tabs a,
  .topbar.is-compact .tabs .menu-trigger{padding:10px 15px;font-size:14px;}
  .topbar.is-compact .nav-cta{gap:9px;padding:8px 12px;font-size:14px;}

  /* ================= HERO + FAN CAROUSEL ================= */
  .hero{background:linear-gradient(135deg,#edf5ff 0%,#ffeff9 100%);color:var(--ink);padding:170px 0 0;overflow:hidden;}
  .hero .kicker{text-align:center;}
  .hero h1{
    font-size:clamp(36px,4.6vw,62px);font-weight:800;line-height:1.08;text-align:center;
    max-width:900px;margin:0 auto;letter-spacing:-0.01em;
  }
  .hero .sub{
    text-align:center;color:var(--gray);font-size:19px;line-height:1.6;
    max-width:620px;margin:22px auto 30px;
  }
  .hero-cta{position:relative;z-index:4;text-align:center;margin-bottom:26px;transition:opacity .3s,transform .45s cubic-bezier(.16,1,.3,1);}
  .hero .hero-cta .btn:is(:hover,:focus-visible){background:#fff;color:#000;transform:none;outline:0;}
  .hero.demo-is-open .hero-cta{opacity:0;transform:translateY(-8px);pointer-events:none;}

  /* --- LENS CAROUSEL: nastro continuo di card deformate da una lente.
         Ogni card usa una matrice proiettiva (matrix3d) che riproduce
         l'ingrandimento crescente verso i bordi e il profilo curvo. --- */
  .stage{
    position:relative;height:620px;width:100%;margin:-140px auto 0;overflow:hidden;
    cursor:grab;touch-action:pan-y;perspective:1800px;
    user-select:none;-webkit-user-select:none;
    /* Initial JS sizing must not move the hero for another 900 ms. */
    transition:none;
  }
  .stage.dragging{cursor:grabbing;}
  .ring{position:absolute;inset:0;}
  .hero .ring{visibility:hidden;}
  .hero .ring.is-layout-ready{visibility:visible;}
  .fan-card{
    position:absolute;left:50%;top:50%;
    border-radius:26px;overflow:hidden;pointer-events:none;background:#15151a;
    transform-origin:50% 50%;will-change:transform;
    contain:layout paint style;isolation:isolate;backface-visibility:hidden;
  }
  .fan-card video,.fan-card img,.fan-card .ph{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;backface-visibility:hidden;
  }
  .fan-card.has-static-image::after{
    content:"";position:absolute;z-index:2;inset:-12%;pointer-events:none;
    background:linear-gradient(112deg,transparent 26%,rgba(255,255,255,.08) 39%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.08) 61%,transparent 74%);
    opacity:.2;transform:translate3d(-46%,0,0);animation:fan-image-light 6.2s ease-in-out infinite alternate;
    will-change:transform,opacity;
  }
  .fan-card.has-static-image img{
    transform:scale(1.04) translate3d(-1.4%,.5%,0);
    animation:fan-image-drift 7.5s cubic-bezier(.45,0,.55,1) infinite alternate;
    will-change:transform;
  }
  @keyframes fan-image-drift{
    to{transform:scale(1.12) translate3d(1.4%,-1.1%,0);}
  }
  @keyframes fan-image-light{
    to{opacity:.52;transform:translate3d(46%,0,0);}
  }
  @media (prefers-reduced-motion:reduce){
    .fan-card.has-static-image::after,.fan-card.has-static-image img{animation:none;}
    .fan-card.has-static-image img{transform:none;}
  }
  .fan-card .ph{display:flex;align-items:center;justify-content:center;}
  .fan-card .ph svg{width:48px;height:48px;opacity:.45;}

  .demo-form-panel{
    position:fixed;z-index:84;top:10px;left:50%;width:min(760px,calc(100% - 44px));
    height:min(570px,calc(100svh - 20px));overflow:hidden;
    padding:24px 30px;border:1px solid rgba(11,11,13,.10);border-radius:28px;
    background:#fff;color:var(--ink);box-shadow:0 34px 90px rgba(5,16,44,.24);
    opacity:0;transform:translateX(-50%) scale(.985);pointer-events:none;user-select:text;
    transition:opacity .26s ease,transform .5s cubic-bezier(.16,1,.3,1);
  }
  .demo-form-panel.is-demo-ready{
    opacity:1;transform:translateX(-50%) scale(1);pointer-events:auto;cursor:default;
    transition-delay:.06s;
  }
  .demo-trigger-morph{
    position:fixed;z-index:83;display:flex;align-items:center;justify-content:center;gap:12px;
    overflow:hidden;white-space:nowrap;pointer-events:none;will-change:left,top,width,height,border-radius;
    transition:left .9s cubic-bezier(.76,0,.24,1),top .9s cubic-bezier(.76,0,.24,1),
      width .9s cubic-bezier(.76,0,.24,1),height .9s cubic-bezier(.76,0,.24,1),
      border-radius .9s cubic-bezier(.76,0,.24,1),background-color .34s ease,
      border-color .62s ease,box-shadow .7s ease,color .3s ease;
  }
  .demo-trigger-morph > *,.demo-trigger-morph::before{
    transition:color .18s ease,opacity .18s ease .28s,transform .38s cubic-bezier(.16,1,.3,1) .18s;
  }
  .demo-trigger-morph.is-expanded > *,.demo-trigger-morph.is-expanded::before{opacity:0;color:var(--magenta);transform:translateY(-6px);}
  .demo-trigger-morph.is-expanded{background:#fff!important;border-color:rgba(11,11,13,.10)!important;box-shadow:0 34px 90px rgba(5,16,44,.24);color:transparent!important;}
  .demo-origin-hidden{visibility:hidden!important;}
  .demo-form-head{display:flex;align-items:center;justify-content:space-between;gap:24px;}
  .demo-form-close{
    position:relative;flex:0 0 auto;display:block;width:40px;height:40px;padding:0;
    border:1px solid rgba(11,11,13,.16);border-radius:50%;background:#fff;color:var(--ink);
    font-size:0;cursor:pointer;transition:.25s;
  }
  .demo-form-close::before,.demo-form-close::after{
    content:"";position:absolute;left:50%;top:50%;width:15px;height:1.8px;border-radius:2px;
    background:currentColor;transform:translate(-50%,-50%) rotate(45deg);
  }
  .demo-form-close::after{transform:translate(-50%,-50%) rotate(-45deg);}
  .demo-form-close:hover{background:var(--ink);color:#fff;transform:rotate(6deg);}
  .demo-form-intro{margin-bottom:14px;}
  .demo-form-intro h2{font-size:clamp(27px,2.45vw,36px);line-height:1.04;}
  .demo-form-intro p{max-width:640px;margin-top:7px;font:300 14px/1.35 var(--serif);color:#000;}
  .demo-form{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;}
  .demo-field{display:block;grid-column:1/-1;}
  .demo-field span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
  .demo-field input,.demo-field textarea,.demo-field select{
    width:100%;border:1px solid rgba(11,11,13,.24);border-radius:14px;background:#fff;color:var(--ink);
    padding:11px 15px;font:300 15px/1.3 var(--serif);outline:0;transition:border-color .2s,box-shadow .2s;
  }
  .demo-field input,.demo-field select{min-height:46px;}
  .demo-field textarea{min-height:76px;resize:none;}
  .demo-field input::placeholder,.demo-field textarea::placeholder{color:#8b8d93;opacity:1;}
  .demo-field input:focus,.demo-field textarea:focus,.demo-field select:focus{border-color:var(--magenta);box-shadow:0 0 0 4px rgba(253,36,191,.12);}
  .demo-schedule{display:grid;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px 14px;}
  .demo-schedule .demo-field{grid-column:auto;}
  .demo-schedule .demo-field > span{
    position:static;display:block;width:auto;height:auto;margin:0 0 4px;overflow:visible;clip:auto;
    white-space:normal;font:600 12px/1.25 var(--sans);color:var(--ink);
  }
  .demo-field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#0b0b0d 50%),linear-gradient(135deg,#0b0b0d 50%,transparent 50%);background-position:calc(100% - 19px) 21px,calc(100% - 14px) 21px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:36px;}
  .demo-field select:invalid{color:#8b8d93;}
  .demo-field select option{color:var(--ink);}
  .demo-date-trigger{
    display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;
    padding:11px 15px;border:1px solid rgba(11,11,13,.24);border-radius:14px;background:#fff;
    color:#8b8d93;font:300 15px/1.3 var(--serif);text-align:left;cursor:pointer;
    transition:border-color .2s,box-shadow .2s;
  }
  .demo-date-trigger:hover,.demo-date-trigger[aria-expanded="true"]{border-color:var(--magenta);box-shadow:0 0 0 4px rgba(253,36,191,.10);}
  .demo-date-trigger.has-value{color:var(--ink);}
  .demo-date-trigger .demo-date-label{
    position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;
  }
  .demo-date-trigger svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;}
  .demo-date-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
  .demo-calendar{
    position:absolute;z-index:8;top:68px;left:50%;width:min(360px,calc(100% - 36px));
    padding:20px 20px 0;border:1px solid rgba(11,11,13,.10);border-radius:22px;background:#fff;
    box-shadow:0 28px 80px rgba(3,5,16,.24);opacity:0;visibility:hidden;pointer-events:none;
    transform:translate(-50%,8px) scale(.98);transform-origin:50% 0;
    transition:opacity .2s,visibility .2s,transform .3s cubic-bezier(.16,1,.3,1);
  }
  .demo-calendar.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0) scale(1);}
  .demo-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;}
  .demo-calendar-title{font:700 20px/1.2 var(--sans);text-transform:capitalize;}
  .demo-calendar span{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;border:0;}
  .demo-calendar-nav{display:flex;gap:6px;}
  .demo-calendar-nav button{
    display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#fff;
    color:var(--ink);font:400 29px/1 var(--sans);cursor:pointer;transition:.2s;
  }
  .demo-calendar-nav button:hover{background:#edf5ff;color:var(--magenta);}
  .demo-calendar-nav button:disabled{opacity:.22;pointer-events:none;}
  .demo-calendar-weekdays,.demo-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
  .demo-calendar-weekdays{margin-bottom:7px;}
  .demo-calendar-weekdays span{text-align:center;font:700 10px/1.2 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#a0a2a8;}
  .demo-calendar-days{min-height:222px;align-content:start;}
  .demo-calendar-days .calendar-empty{aspect-ratio:1;}
  .demo-calendar-day{
    display:grid;place-items:center;aspect-ratio:1;border:0;border-radius:50%;background:transparent;
    color:var(--ink);font:500 14px/1 var(--sans);cursor:pointer;transition:.18s;
  }
  .demo-calendar-day:hover:not(:disabled){background:#edf5ff;color:var(--magenta);}
  .demo-calendar-day:disabled{color:#c9cbd0;cursor:not-allowed;}
  .demo-calendar-day.is-selected{background:var(--magenta)!important;color:#fff!important;font-weight:700;box-shadow:0 8px 20px rgba(253,36,191,.28);}
  .demo-calendar-actions{display:flex;align-items:center;justify-content:space-between;margin:14px -20px 0;padding:14px 20px;border-top:1px solid rgba(11,11,13,.10);}
  .demo-calendar-actions button{border:0;background:transparent;color:var(--magenta);font:700 14px/1 var(--sans);cursor:pointer;}
  .demo-calendar-actions button:hover{color:var(--ink);}
  .demo-form-close{z-index:10;}
  .demo-consent{display:grid;grid-column:1/-1;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;margin:2px 0 0;font:300 12.5px/1.32 var(--serif);color:#000;}
  .demo-consent input{width:18px;height:18px;margin-top:0;accent-color:var(--magenta);}
  .demo-consent a{color:inherit;text-underline-offset:3px;}
  .demo-form .btn{grid-column:1;justify-self:start;min-width:150px;}
  .demo-form-status{grid-column:2;align-self:center;min-height:0;font:600 14px/1.4 var(--sans);color:var(--magenta);}

  /* ================= LOGO SWITCHER ================= */
  .logos{padding:56px 26px;border-bottom:1px solid #f1f1f3;overflow:hidden;}
  .logos p{text-align:center;font-size:12.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gray);margin-bottom:34px;}
  .brand-switcher{position:relative;max-width:1120px;height:58px;margin:0 auto;}
  .brand-logo-layer{
    position:absolute;inset:0;
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(24px,4vw,64px);
    align-items:center;width:100%;pointer-events:none;
  }
  .brand-logo-slot{
    display:flex;align-items:center;justify-content:center;height:58px;min-width:0;
    visibility:hidden;opacity:0;transform:translate3d(0,44px,0);
  }
  .brand-logo-layer.is-active,.brand-logo-layer.is-leaving{pointer-events:auto;}
  .brand-logo-layer.is-active .brand-logo-slot,
  .brand-logo-layer.is-leaving .brand-logo-slot{
    visibility:visible;will-change:transform,opacity;
    transition:transform .38s ease-in-out,opacity .3s ease-in-out;
    transition-delay:calc(var(--brand-index) * 100ms);
  }
  .brand-logo-layer.is-active .brand-logo-slot{opacity:1;transform:translate3d(0,0,0);}
  .brand-logo-layer.is-leaving .brand-logo-slot{opacity:0;transform:translate3d(0,-44px,0);}
  .brand-logo-image{
    display:block;width:100%;max-width:150px;height:42px;object-fit:contain;
    filter:none;opacity:1;transition:filter .2s,opacity .2s;
  }
  /* La superficie, non la sola altezza, determina il peso ottico: i marchi
     compatti ricevono piu' spazio dei wordmark orizzontali. */
  .brand-logo-image.is-compact{height:54px;max-width:164px;}
  .brand-logo-image.is-tall{height:58px;}
  .brand-logo-image.is-garofalo{height:54px;max-width:174px;}
  .brand-logo-image.is-valenza{height:66px;max-width:184px;}
  .brand-logo-image:hover{filter:none;opacity:1;}

  @media (prefers-reduced-motion:reduce){
    .brand-logo-layer:not(:first-child){display:none;}
    .brand-logo-layer:first-child .brand-logo-slot{visibility:visible;opacity:1;transform:none;}
    .topbar,.nav-in,.nav-in img,.tabs,.tabs a,.nav-cta,.nav-cta i{transition:none;}
    .demo-trigger-morph,.demo-trigger-morph > *,.demo-form-panel,.stage{transition:none;}
  }

  /* ================= WHY ================= */
  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px;}
  .why{background:linear-gradient(135deg,#edf5ff 0%,#ffeff9 100%);border-radius:var(--radius);padding:34px;}
  .why .ic{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
  .why:nth-child(1) .ic{background:var(--tint);}
  .why:nth-child(2) .ic{background:#e6e8fb;}
  .why:nth-child(3) .ic{background:#e2f6ea;}
  .why .ic svg{width:24px;height:24px;stroke-width:2;fill:none;}
  .why:nth-child(1) svg{stroke:var(--magenta);}
  .why:nth-child(2) svg{stroke:var(--indigo);}
  .why:nth-child(3) svg{stroke:var(--green);}
  .why h3{font-size:22px;font-weight:800;margin-bottom:8px;}
  .why p{font-size:18px;color:#000;line-height:1.4;}

  /* ================= GIVEAWAI ================= */
  .giveawai{background:var(--tint-light);}
  .gw-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;}
  .receipt{
    background:#fff;border-radius:18px;box-shadow:0 30px 70px rgba(23,24,28,.14);
    padding:30px;max-width:390px;margin:0 auto;position:relative;font-size:13.5px;
  }
  .receipt h4{font-size:15px;text-align:center;letter-spacing:.1em;margin-bottom:16px;}
  .receipt .row{display:flex;justify-content:space-between;padding:7px 6px;border-radius:8px;color:#3c3f45;}
  .receipt .row.hit{background:var(--tint);outline:1.5px dashed var(--magenta);color:var(--ink);font-weight:600;}
  .receipt .tot{border-top:1.5px dashed #d9dade;margin-top:10px;padding-top:12px;font-weight:700;}
  .validated{
    position:absolute;top:-22px;right:-18px;background:var(--green);color:#fff;
    font-family:var(--sans);font-weight:700;font-size:14px;border-radius:8px;
    padding:11px 20px;box-shadow:0 14px 30px rgba(31,174,84,.35);display:flex;gap:8px;align-items:center;transform:rotate(4deg);
  }
  .gw-feats{margin-top:30px;display:grid;gap:14px;}
  .gw-feats div{display:flex;gap:7px;align-items:flex-start;font-size:16px;line-height:1.5;font-weight:500;}
  .gw-feats svg{width:20px;height:20px;flex:none;margin-top:2px;stroke:var(--magenta);stroke-width:2.4;fill:none;}

  /* ================= KPI ================= */
  .kpis{background:#fff;color:var(--ink);text-align:center;}
  .kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:56px;max-width:1100px;margin-left:auto;margin-right:auto;}
  .kpi-cell .num{font-size:clamp(60px,7vw,96px);font-weight:800;color:var(--magenta);line-height:1;}
  .kpi-cell :is(h3,h4){font-size:18px;font-weight:700;margin:14px 0 8px;}
  .kpi-cell p{font-size:20px;color:#000;line-height:1.4;max-width:280px;margin:0 auto;}

  /* ================= EXPERT-LED ================= */
  .expert{background:#fff;}
  .phases{position:relative;margin-top:64px;}
  .phase-line{position:absolute;top:15px;left:0;right:0;height:1px;background:#e5e7ea;}
  .phase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;position:relative;}
  .phase .tag{
    display:inline-block;background:#fff;border:1px solid #d9dbdf;border-radius:8px;
    font-size:12.5px;font-weight:600;padding:6px 14px;color:var(--ink);margin-bottom:22px;
  }
  .phase :is(h3,h4){font-size:17px;font-weight:800;margin-bottom:8px;}
  .phase p{font-size:18px;color:#000;line-height:1.4;}

  /* ================= FORMATS ================= */
  .formats{background:linear-gradient(135deg,#edf5ff 0%,#ffeff9 100%);}
  .formats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px;}
  .fmt{
    border:1.5px solid #eef0f3;border-radius:var(--radius);padding:26px;transition:.25s;
    display:flex;flex-direction:column;gap:12px;background:#fff;
  }
  .fmt:hover{border-color:var(--magenta);transform:translateY(-4px);box-shadow:0 20px 44px rgba(253,36,191,.10);}
  .fmt h3{font-size:21px;font-weight:800;}
  .fmt .tag{
    align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
    color:var(--magenta);background:var(--tint);border-radius:8px;padding:5px 12px;
  }
  .fmt p{font-size:18px;color:#000;line-height:1.4;flex:1;}
  .fmt .ex{font-size:13px;color:var(--ink);background:#edf5ff;border-radius:12px;padding:12px 14px;line-height:1.5;}
  .fmt .ex b{color:var(--magenta);}
  .fmt a{font-family:var(--sans);font-weight:700;font-size:14px;color:var(--magenta);text-decoration:none;}

  /* ================= STORIES ================= */
  .stories-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px;}
  .story{background:var(--tint-light);border-radius:var(--radius);padding:34px;display:flex;flex-direction:column;gap:14px;}
  .story .num{font-size:56px;color:var(--magenta);line-height:1;}
  .story img{height:30px;width:auto;align-self:flex-start;}
  .story p{font-size:18px;color:#000;line-height:1.4;flex:1;}
  .story a{font-family:var(--sans);font-weight:700;font-size:14px;color:var(--ink);text-decoration:none;}
  .story a:hover{color:var(--magenta);}

  /* ================= INDUSTRIES ================= */
  .ind-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:52px;}
  .ind{
    border:1.5px solid #eef0f3;border-radius:18px;padding:22px;display:flex;align-items:center;gap:14px;
    font-family:var(--sans);font-weight:700;font-size:16px;cursor:pointer;transition:.2s;text-decoration:none;color:var(--ink);
  }
  .ind:hover{border-color:var(--magenta);color:var(--magenta);transform:translateY(-2px);}
  .ind svg{width:22px;height:22px;stroke:var(--magenta);stroke-width:2;fill:none;flex:none;}

  /* ================= PARTNERSHIP ================= */
  .partners{background:linear-gradient(135deg,#efe1f7 0%,#c8def9 100%);}
  .pt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px;}
  .pt{
    border-radius:var(--radius);padding:34px;background:#fff;border:1.5px solid #eef0f3;
    display:flex;flex-direction:column;gap:12px;
  }
  .pt.featured{background:linear-gradient(150deg,var(--magenta),#a01bd6);color:#fff;border:none;}
  .pt h3{font-size:20px;font-weight:800;line-height:1.25;}
  .pt p{font-size:18px;line-height:1.4;color:#000;flex:1;}
  .pt.featured p{color:rgba(255,255,255,.9);}
  .pt img{height:56px;width:auto;align-self:flex-start;margin-top:8px;background:#fff;border-radius:12px;padding:8px;}
  .pt a{font-family:var(--sans);font-weight:700;font-size:14px;color:var(--magenta);text-decoration:none;}
  .pt.featured a{color:#fff;}

  /* ================= FINAL CTA ================= */
  .final{background:var(--magenta);color:#fff;text-align:center;padding:110px 26px;}
  .final h2{font-size:clamp(34px,4.5vw,58px);font-weight:800;line-height:1.1;}
  .final p{font-size:18px;margin:18px auto 34px;max-width:560px;opacity:.92;line-height:1.6;}
  .final .btn{background:#fff;color:var(--magenta);}
  .final .btn:hover{background:var(--ink);color:#fff;}

  /* ================= FOOTER ================= */
  footer{position:relative;background:var(--footer);color:#fff;padding:26px 26px 20px;font-size:13.5px;}
  .foot-grid{width:100%;max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.3fr) repeat(5,minmax(0,1fr));gap:24px 28px;}
  /* 13/10 sera: il blocco di apertura torna di fianco alle colonne di link,
     non piu' una riga sua. Cosi' il footer rientra nell'altezza del sipario. */
  .foot-grid > .footer-about{max-width:none;}
  /* le colonne di link scendono di quanto e' alto il logo (52px) piu' lo
     stacco verso il testo (16px): cosi' il titolo di ogni colonna parte dalla
     stessa riga del testo sotto al logo, e il logo resta in cima senza sporgere */
  .foot-grid > div:not(.footer-about){margin-top:68px;}
  footer h5{font-family:var(--sans);color:#fff;font-size:15px;margin-bottom:12px;}
  footer a{color:#aaa;text-decoration:none;display:block;margin-bottom:4px;line-height:1.32;}
  footer a:hover{color:#fff;}
  .foot-desc{line-height:1.6;margin:16px 0 0;color:#a8a8a8;}
  .foot-logo{display:block;width:auto;height:52px;margin-right:auto;margin-left:0;filter:none;}
  .footer-faq{
    width:100%;max-width:var(--maxw);margin:26px auto 0;padding-top:20px;border-top:1px solid #3e3e3e;
    display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:44px;
  }
  .footer-faq > h5{margin:2px 0 0;}
  .footer-faq-list{grid-column:2/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;align-items:start;}
  .footer-faq details{border-bottom:1px solid #3e3e3e;}
  .footer-faq summary{
    position:relative;padding:12px 28px 12px 0;color:#d7d7d7;font:600 13px/1.4 var(--sans);
    cursor:pointer;list-style:none;
  }
  .footer-faq summary::-webkit-details-marker{display:none;}
  .footer-faq summary::after{
    content:"";position:absolute;right:4px;top:50%;width:7px;height:7px;
    border-right:1.5px solid #888;border-bottom:1.5px solid #888;
    transform:translateY(-70%) rotate(45deg);transition:transform .2s ease,border-color .2s ease;
  }
  .footer-faq summary:hover,.footer-faq summary:focus-visible{color:#fff;outline:0;}
  .footer-faq summary:hover::after,.footer-faq summary:focus-visible::after{border-color:#fff;}
  .footer-faq details[open] summary::after{transform:translateY(-25%) rotate(225deg);}
  .footer-faq details p{max-width:62ch;padding:0 28px 15px 0;color:#999;font:300 12.5px/1.55 var(--serif);}
  .footer-credentials{
    width:100%;max-width:var(--maxw);margin:30px auto 0;display:grid;
    grid-template-columns:1.3fr repeat(4,1fr);gap:44px;min-height:44px;
  }
  .footer-credentials-inner{
    grid-column:2/-1;display:flex;align-items:center;justify-content:flex-start;
    gap:clamp(22px,2.4vw,36px);
  }
  .footer-credential{display:block;width:auto;height:auto;max-height:38px;object-fit:contain;}
  .footer-credential--iso{width:min(143px,18vw);}
  .footer-credential--meta{width:min(126px,16vw);}
  .footer-credential--iab{width:min(76px,10vw);}
  .footer-credential--manychat{width:min(102px,13vw);}
  .footer-credential--assoconcorsi{width:min(131px,17vw);}
  .legal{
    width:100%;max-width:var(--maxw);margin:20px auto 0;padding-top:20px;border-top:1px solid #444;
    display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:44px;
    font-size:12px;color:#aaa;line-height:1.7;
  }
  .legal-inner{grid-column:2/-1;}
  .language-selector--footer{align-self:start;justify-self:start;}
  .language-selector--footer .language-toggle{min-width:122px;border-color:#3a3a3a;background:rgba(255,255,255,.025);color:#bbb;box-shadow:none;}
  .language-selector--footer .language-toggle:hover,.language-selector--footer.is-open .language-toggle{border-color:#555;background:rgba(255,255,255,.07);color:#fff;}
  .language-selector--footer .language-menu{top:auto;right:auto;bottom:calc(100% + 8px);left:0;}

  /* Tutti i testi descrittivi usano nero pieno. */
  .step p,
  .kpi-cell p,
  .geo .prose,
  .final p,
  .hero .sub,
  .foot-desc,
  .gw-feats div{
    color:#000;
    opacity:1;
  }

  /* ================= RESPONSIVE ================= */
  @media (max-width:1080px){
    .why-grid,.formats-grid,.stories-grid,.pt-grid,.kpi-grid,.phase-grid{grid-template-columns:1fr 1fr;}
    .ind-grid{grid-template-columns:1fr 1fr;}
    .gw-grid{grid-template-columns:1fr;gap:44px;}
    .foot-grid{grid-template-columns:1fr 1fr;}
    .foot-grid > .footer-about{grid-column:1 / -1;max-width:560px;}
    .foot-grid > div:not(.footer-about){margin-top:0;}
    .footer-faq{grid-template-columns:1fr 1fr;}
    .footer-faq-list{grid-column:2;grid-template-columns:1fr;}
    .footer-credentials{grid-template-columns:1fr 1fr;}
    .footer-credentials-inner{grid-column:2;flex-wrap:wrap;}
    .legal{grid-template-columns:1fr 1fr;}
    .legal-inner{grid-column:2;}
    .menu-toggle{display:grid;}
    /* Il menu aperto era una lastra semitrasparente e il testo ci si perdeva
       sopra: ora e' nero pieno, voci grandi, nessuna sfocatura. 14/10. */
    .tabs{
      position:absolute;left:0;right:0;top:calc(100% + 12px);display:none;
      flex-direction:column;align-items:stretch;gap:2px;padding:10px;border:0;
      border-radius:22px;background:var(--ink);box-shadow:0 30px 80px rgba(3,5,16,.42);
      backdrop-filter:none;-webkit-backdrop-filter:none;
    }
    .topbar.menu-open .tabs{display:flex;}
    .tabs a,.tabs .menu-trigger{width:100%;padding:16px 18px;text-align:left;border-radius:15px;
      font-size:17px;font-weight:700;color:#fff;}
    .tabs a:hover,.tabs .menu-trigger:hover,
    .menu-group:focus-within .menu-trigger{background:rgba(255,255,255,.09);}
    .tabs a.on,.tabs a.on:hover{background:#fff;color:var(--ink);}
    .menu-group{width:100%;}
    .mega-menu{
      position:static;display:none;grid-template-columns:1fr;width:100%;padding:4px 0 0;
      border:0;box-shadow:none;background:transparent;opacity:1;visibility:visible;
      transform:none!important;pointer-events:auto;
    }
    .menu-group.is-open .mega-menu{display:grid;}
    .mega-menu a{padding:14px 18px 14px 34px!important;background:rgba(255,255,255,.07);color:#fff;}
    .mega-menu a:hover{background:rgba(255,255,255,.13);}
    .mega-menu a strong{color:#fff;}
    .mega-menu a span{color:rgba(255,255,255,.62);}
    .topbar{top:16px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;}
    .topbar.is-compact{top:8px;}
    .nav-in{width:calc(100% - 32px);height:auto;min-height:0;grid-template-columns:1fr auto;gap:12px;padding:14px 22px;}
    .nav-actions{justify-self:end;justify-content:flex-end;gap:8px;}
    .topbar.is-compact .nav-in{width:calc(100% - 96px);max-width:760px;padding:9px 18px;}
    .fan-card{border-radius:20px;}
    .hero{padding-top:150px;}
    /* il rientro del carosello sotto i 1080 finiva sopra il pulsante.
       La card centrale si alza man mano che la finestra si allarga: lo
       stacco cresce con la stessa pendenza e tiene sempre ~28px di aria. */
    .stage{margin-top:clamp(58px,calc(18.8vw - 85px),118px);}
  }
  @media (max-width:640px){
    .nav-cta span{display:none;}
    .nav-cta{width:42px;height:42px;padding:0;justify-content:center;}
    .nav-in img{height:45px;}
    .topbar.is-compact .nav-in{width:calc(100% - 24px);}
    .topbar.is-compact .nav-in img{height:38px;}
    .hero{padding-top:132px;}
    .stage{margin-top:0;}
    .demo-form-panel{top:6px;width:calc(100% - 12px);height:min(578px,calc(100svh - 12px));padding:18px 14px;border-radius:24px;}
    .demo-form-head{gap:12px;align-items:flex-start;}
    .demo-form-close{width:36px;height:36px;}
    .demo-form-intro{margin-bottom:11px;}
    .demo-form-intro h2{font-size:clamp(23px,7.2vw,29px);}
    .demo-form-intro p{margin-top:5px;font-size:13px;line-height:1.3;}
    .demo-form{gap:7px 10px;}
    .demo-field input,.demo-field textarea,.demo-field select{padding:10px 12px;font-size:14px;}
    .demo-field input,.demo-field select{min-height:43px;}
    .demo-field textarea{min-height:66px;}
    .demo-schedule{gap:7px 9px;}
    .demo-schedule .demo-field > span{font-size:11px;margin-bottom:3px;}
    .demo-date-trigger{min-height:43px;padding:10px 12px;font-size:14px;}
    .demo-consent{grid-template-columns:18px minmax(0,1fr);gap:8px;font-size:11.5px;line-height:1.28;}
    .demo-consent input{width:17px;height:17px;}
    .demo-calendar{top:62px;width:calc(100% - 28px);padding:18px 16px 0;border-radius:20px;}
    .demo-calendar-actions{margin:12px -16px 0;padding:13px 16px;}
    .demo-form .btn{width:auto!important;min-width:124px;padding:13px 25px;}
  }
  @media (max-width:640px){
    .why-grid,.formats-grid,.stories-grid,.pt-grid,.kpi-grid,.phase-grid,.ind-grid{grid-template-columns:1fr;}
    .fan-card{border-radius:16px;}
    .footer-credentials{
      display:block;margin-top:30px;
    }
    .footer-faq{display:block;margin-top:32px;padding-top:22px;}
    .footer-faq-list{margin-top:10px;}
    .footer-credentials-inner{
      display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;justify-items:start;
      gap:16px 30px;
    }
    /* su tre righe i marchi occupavano quanto una fisarmonica intera */
    .footer-credential{max-height:32px;}
    .legal{display:block;}
    .language-selector--footer{margin-bottom:24px;}
    .footer-credential--iso{width:min(143px,100%);}
    .footer-credential--meta{width:min(126px,100%);}
    .footer-credential--iab{width:min(76px,100%);}
    .footer-credential--manychat{width:min(102px,100%);}
    .footer-credential--assoconcorsi{width:min(131px,100%);}
    .logos{padding-left:18px;padding-right:18px;}
    .brand-switcher{height:128px;}
    .brand-logo-layer{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;}
    .brand-logo-slot{height:58px;}
    .brand-logo-image{height:36px;max-width:112px;}
    .brand-logo-image.is-compact{height:46px;max-width:124px;}
    .brand-logo-image.is-tall{height:50px;}
    .brand-logo-image.is-garofalo{height:45px;max-width:132px;}
    .brand-logo-image.is-valenza{height:55px;max-width:140px;}
  }

  /* ================= DESIGN SYSTEM / CARD APPLICATION ================= */
  .home-card-system{
    --ds-sky:#edf5ff;
    --ds-white:#fff;
    --ds-ink:#0b0b0d;
    --ds-blue:#98c4ff;
    --ds-lilac:#eee1f7;
    --ds-periwinkle:#dbdff8;
    --ds-line:rgba(11,11,13,.10);
    --ds-card-radius:32px;
    --ds-section-radius:clamp(32px,4.5vw,72px);
    --ds-control-radius:14px;
    --ds-card-pad:clamp(28px,3.7vw,52px);
    --ds-gap:clamp(14px,1.7vw,24px);
    --ds-card-shadow:0 1px 2px rgba(11,11,13,.04),0 22px 65px rgba(11,11,13,.07);
    --ds-radiant:linear-gradient(135deg,#edf5ff 0%,#ffeff9 100%);
    --ds-radiant-alt:linear-gradient(135deg,#efe1f7 0%,#c8def9 100%);
    --ds-gradient-hero:linear-gradient(to bottom right,#a338c2 0%,#003c8d 100%);
    --ds-brand-haze:url("../background-2026.jpg"),linear-gradient(90deg,#eee1f7 0%,#dbdff8 50%,#c8def9 100%);
    --ds-gradient-official:url("../../design-system/assets/webing-official-gradient.png");
    background:var(--ds-white);
  }
  .home-card-system .logos{background:var(--ds-white);}
  .home-card-system .brand-positioning{
    position:relative;overflow:hidden;
    padding-top:clamp(88px,9vw,140px);padding-bottom:clamp(88px,9vw,140px);
    border-radius:var(--ds-section-radius);background:var(--ds-ink);color:#fff;
  }
  .home-card-system .brand-positioning-grid{
    display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    gap:clamp(48px,7vw,104px);align-items:center;
  }
  .home-card-system .brand-positioning .h2{
    max-width:820px;margin:0;font-size:clamp(2rem,3.3vw,3rem);line-height:1.04;
    letter-spacing:-.04em;text-align:left;
  }
  .home-card-system .brand-certification{
    position:absolute;z-index:2;left:max(26px,calc((100% - var(--maxw))/2));
    bottom:clamp(20px,2.5vw,36px);display:inline-flex;align-items:center;color:#fff;
  }
  .home-card-system .brand-certification img{
    display:block;width:clamp(67px,6.3vw,88px);height:auto;object-fit:contain;
  }
  .home-card-system .brand-certification strong{font-size:.92rem;line-height:1.1;letter-spacing:-.01em;}
  .home-card-system .brand-positioning-proof{min-width:0;max-width:560px;text-align:center;}
  .home-card-system .brand-positioning .lead{max-width:560px;margin:22px auto 0;color:#fff;}
  .home-card-system .expert-cloud{position:relative;width:380px;height:240px;margin:0 auto;isolation:isolate;}
  .home-card-system .expert-avatar,
  .home-card-system .webingplus-mark{
    position:absolute;display:block;opacity:0;filter:blur(5px);
    transform:translate3d(0,18px,0) scale(.78) rotate(var(--expert-rotate,0deg));
    transform-origin:center;will-change:transform,opacity,filter;
  }
  .home-card-system .expert-avatar{
    overflow:hidden;border:3px solid rgba(255,255,255,.94);border-radius:50%;
    background:#d9e6ff;box-shadow:0 13px 34px rgba(0,0,0,.28);
  }
  .home-card-system .expert-avatar--back{--expert-opacity:.82;z-index:1;width:70px;height:70px;}
  .home-card-system .expert-avatar--front{--expert-opacity:1;z-index:2;width:70px;height:70px;}
  .home-card-system .expert-avatar--1{top:0;left:155px;}
  .home-card-system .expert-avatar--2{top:43px;left:229px;}
  .home-card-system .expert-avatar--3{top:128px;left:229px;}
  .home-card-system .expert-avatar--4{top:170px;left:155px;}
  .home-card-system .expert-avatar--5{top:128px;left:81px;}
  .home-card-system .expert-avatar--6{top:43px;left:81px;}
  .home-card-system .expert-avatar img,
  .home-card-system .avatar-placeholder{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover;}
  .home-card-system .avatar-placeholder{
    background:
      radial-gradient(circle at 50% 37%,rgba(255,238,224,.98) 0 17%,transparent 18%),
      radial-gradient(ellipse at 50% 94%,rgba(20,24,41,.9) 0 40%,transparent 41%),
      linear-gradient(145deg,#ffb9e8 0%,#8eaaff 100%);
  }
  .home-card-system .expert-avatar--2 .avatar-placeholder,
  .home-card-system .expert-avatar--5 .avatar-placeholder{background:
    radial-gradient(circle at 50% 37%,#f1c6a7 0 17%,transparent 18%),
    radial-gradient(ellipse at 50% 94%,#7c2f90 0 40%,transparent 41%),
    linear-gradient(145deg,#f9d6a1 0%,#ef68b9 100%);}
  .home-card-system .expert-avatar--3 .avatar-placeholder,
  .home-card-system .expert-avatar--6 .avatar-placeholder{background:
    radial-gradient(circle at 50% 37%,#d7a27f 0 17%,transparent 18%),
    radial-gradient(ellipse at 50% 94%,#07448a 0 40%,transparent 41%),
    linear-gradient(145deg,#8bd6ff 0%,#7564da 100%);}
  .home-card-system .webingplus-mark{
    top:70px;left:140px;z-index:4;width:100px;height:100px;border-radius:50%;background:#fff;
    box-shadow:0 16px 38px rgba(0,0,0,.3);align-items:center;justify-content:center;
  }
  .home-card-system .webingplus-mark img{display:block;width:74%;height:auto;}
  .home-card-system .brand-positioning-proof.is-visible .expert-avatar,
  .home-card-system .brand-positioning-proof.is-visible .webingplus-mark{
    display:flex;animation:expert-mark-in 1.05s cubic-bezier(.16,1,.3,1) var(--expert-delay) both;
  }
  @keyframes expert-mark-in{
    to{opacity:var(--expert-opacity,1);filter:blur(0);transform:translate3d(0,0,0) scale(1) rotate(var(--expert-rotate,0deg));}
  }
  .home-card-system .brand-positioning + #why{padding-top:clamp(72px,8vw,112px);}
  .home-card-system #why{background:var(--ds-white);}
  .home-card-system .hero{
    background-color:#061321;
    background-image:url("../hero-dark-waves.jpg");
    background-size:cover;background-position:center top;background-repeat:no-repeat;
    color:#fff;
    border-radius:0 0 var(--ds-section-radius) var(--ds-section-radius);
    background-clip:padding-box;
  }
  .home-card-system .hero .kicker,
  .home-card-system .hero .sub{color:#fff;}
  /* Pink text on light surfaces needs the darker brand tone to stay legible. */
  .home-card-system :is(.smart-data,.kpis,#formats,#industries,.partners) .kicker{color:#aa087f;}
  .home-card-system .smart-data{background:var(--ds-radiant-alt);}
  .home-card-system .giveawai,
  .home-card-system .expert,
  .home-card-system #stories,
  .home-card-system .partners{background:var(--ds-white);}
  .home-card-system .kpis{background:var(--ds-radiant);}
  .home-card-system .formats{background:var(--ds-radiant-alt);}
  .home-card-system #industries{background:transparent;}
  .home-card-system .smart-data,
  .home-card-system .kpis,
  .home-card-system .formats,
  .home-card-system #industries{
    position:relative;overflow:hidden;border-radius:var(--ds-section-radius);
    background-clip:padding-box;
  }
  .home-card-system .gw-grid,
  .home-card-system .kpi-grid,
  .home-card-system .phase-grid,
  .home-card-system .formats-grid,
  .home-card-system .stories-grid,
  .home-card-system .pt-grid{gap:var(--ds-gap);align-items:stretch;}

  .home-card-system .why,
  .home-card-system .why-creative-card,
  .home-card-system .gw-copy-card,
  .home-card-system .gw-creative-card,
  .home-card-system .kpi-cell,
  .home-card-system .phase,
  .home-card-system .fmt,
  .home-card-system .story,
  .home-card-system .pt{
    position:relative;isolation:isolate;overflow:hidden;min-width:0;
    padding:var(--ds-card-pad);border:1px solid var(--ds-line);
    border-radius:var(--ds-card-radius);background:var(--ds-white);
    box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .why,
  .home-card-system .kpi-cell,
  .home-card-system .phase,
  .home-card-system .fmt,
  .home-card-system .story,
  .home-card-system .pt{display:flex;flex-direction:column;align-items:flex-start;}

  /* Card small: coppie compatte centrate, impilate con ritmo alternato. */
  .home-card-system .why-grid{
    display:grid;grid-template-columns:1fr;gap:var(--ds-gap);
    width:min(100%,calc(790px + var(--ds-gap)));margin:52px auto 0;
  }
  .home-card-system .why-row{
    display:grid;grid-template-columns:repeat(2,minmax(0,395px));
    justify-content:center;gap:var(--ds-gap);min-width:0;
  }
  .home-card-system .why,
  .home-card-system .why-creative-card{width:100%;min-height:420px;}
  .home-card-system .why-creative-card{
    display:flex;flex-direction:column;justify-content:space-between;
    color:#fff;border-color:transparent;box-shadow:none;
    background-position:center;background-size:cover;
  }
  .home-card-system .why-creative-card img,
  .home-card-system .why-creative-card video,
  .home-card-system .why-creative-card canvas{
    position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;
  }
  .home-card-system .why-creative-card span{
    font-size:.75rem;font-weight:700;line-height:1;letter-spacing:.14em;text-transform:uppercase;
  }
  .home-card-system .why-creative-card strong{
    max-width:8ch;font-size:clamp(2.5rem,5vw,4.75rem);font-weight:800;
    line-height:.86;letter-spacing:-.065em;text-transform:uppercase;
  }
  .home-card-system .why-creative-card--1{
    background-image:linear-gradient(145deg,rgba(11,11,13,.04),rgba(81,71,229,.12)),var(--ds-brand-haze);
    color:var(--ds-ink);
  }
  .home-card-system .why-creative-card--2{background:linear-gradient(145deg,#fd24bf 0%,#9d3ee8 52%,#5147e5 100%);}
  .home-card-system .why-creative-card--3{background:linear-gradient(145deg,#0b0b0d 8%,#3b1933 58%,#fd24bf 140%);}
  .home-card-system .why-row:nth-child(even) .why-creative-card{order:1;}
  .home-card-system .why-row:nth-child(even) .why{order:2;}
  .home-card-system .why h3,
  .home-card-system .fmt h3,
  .home-card-system .story h3,
  .home-card-system .pt h3{
    font-size:clamp(1.65rem,2.25vw,2.25rem);line-height:1.04;
    letter-spacing:-.03em;margin-top:auto;
  }
  .home-card-system .fmt p,
  .home-card-system .story p,
  .home-card-system .pt p{margin-top:18px;font-size:18px;line-height:1.4;color:#000;}
  .home-card-system .why p{margin-top:18px;}
  .home-card-system .why-row:nth-child(1) .why,
  .home-card-system .kpi-cell:nth-child(1),
  .home-card-system .story:nth-child(2){background:var(--ds-blue);border-color:transparent;box-shadow:none;}
  .home-card-system .why-row:nth-child(2) .why,
  .home-card-system .kpi-cell:nth-child(2){background:var(--ds-lilac);border-color:transparent;box-shadow:none;}
  .home-card-system .why-row:nth-child(3) .why,
  .home-card-system .kpi-cell:nth-child(3),
  .home-card-system .story:nth-child(3){
    background-color:var(--ds-periwinkle);background-image:var(--ds-brand-haze);
    background-position:center;background-size:cover;border-color:transparent;box-shadow:none;
  }
  .home-card-system .why .ic{
    width:54px;height:54px;margin-bottom:clamp(48px,7vw,92px);
    border:1px solid currentColor;border-radius:50%;background:transparent!important;
  }
  .home-card-system .why-row:nth-child(1) .why svg{stroke:var(--magenta);}
  .home-card-system .why-row:nth-child(2) .why svg{stroke:var(--indigo);}
  .home-card-system .why-row:nth-child(3) .why svg{stroke:var(--green);}

  /* Smart Dashboard: una data story editoriale, un indicatore alla volta. */
  .home-card-system .smart-data-head{
    max-width:880px;margin:0 auto clamp(34px,4vw,50px);text-align:center;
  }
  .home-card-system .smart-data-head .lead{max-width:700px;margin:18px auto 0;}
  .home-card-system .data-story{
    position:relative;isolation:isolate;overflow:visible;
    width:min(100%,940px);margin:0 auto;padding:0;color:var(--ds-ink);
    background:transparent;box-shadow:none;
  }
  .home-card-system .data-story::before,
  .home-card-system .data-story::after,
  .home-card-system .data-story-top{display:none;}
  .home-card-system .data-story-brand,
  .home-card-system .data-story-live{
    font:700 12px/1 var(--sans);letter-spacing:.13em;text-transform:uppercase;
  }
  .home-card-system .data-story-live{display:inline-flex;align-items:center;gap:9px;}
  .home-card-system .data-story-live::before{
    content:"";width:9px;height:9px;border-radius:50%;background:#fff;
    box-shadow:0 0 0 6px rgba(255,255,255,.14);
  }
  .home-card-system .data-story-scroll-scene{
    --dashboard-title-y:48px;--dashboard-title-opacity:0;
    --dashboard-card-y:118px;--dashboard-card-rotate-x:13deg;--dashboard-card-rotate-y:-3.2deg;
    --dashboard-card-scale:.875;--dashboard-card-opacity:0;
    position:relative;height:auto;min-height:0;
  }
  .home-card-system .data-story-scroll-stage{
    position:relative;top:auto;height:auto;min-height:0;
  }
  .home-card-system .data-story-main{
    position:relative;z-index:1;width:100%;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;align-items:stretch;
  }
  .home-card-system .data-story-copy,
  .home-card-system .data-story-stage{
    opacity:0;transform:translate3d(0,34px,0) scale(.975);
    transition:opacity .7s ease,transform 1.05s cubic-bezier(.16,1,.3,1);
  }
  .home-card-system .data-story-stage{transition-delay:110ms;}
  .home-card-system .data-story-main.is-in-view .data-story-copy,
  .home-card-system .data-story-main.is-in-view .data-story-stage{opacity:1;transform:none;}
  .home-card-system .dashboard-reveal-group{
    position:relative;z-index:2;top:auto;display:flex;flex-direction:column;align-items:center;width:100%;
    perspective:1800px;perspective-origin:50% 35%;
  }
  .home-card-system .data-story-copy{
    min-height:0;aspect-ratio:620/390;padding:28px;display:flex;flex-direction:column;
    border:1px solid var(--ds-line);border-radius:26px;background:#fff;
    box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .data-story-copy-stack{position:relative;min-height:170px;margin-top:0;}
  .home-card-system .data-story-copy-item{
    position:absolute;inset:0 0 auto;opacity:0;pointer-events:none;
    transform:translateX(-18px);transition:opacity .75s ease,transform .9s cubic-bezier(.16,1,.3,1);
  }
  .home-card-system .data-story-copy-item.is-active{opacity:1;transform:none;pointer-events:auto;}
  .home-card-system .data-story-copy-item h3{
    max-width:12ch;font-size:clamp(2rem,3.2vw,3.35rem);line-height:.96;letter-spacing:-.05em;
  }
  .home-card-system .data-story-copy-item p{
    max-width:390px;margin-top:17px;font-size:clamp(1rem,1.2vw,1.1rem);
    line-height:1.42;color:#000;
  }
  .home-card-system .data-story-stage{
    position:relative;min-height:0;aspect-ratio:620/390;overflow:hidden;border:0;border-radius:26px;
    background:transparent;box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .smart-dashboard-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;}
  .home-card-system .data-story-stage .data-story-visual{display:none;}
  .home-card-system .data-story-visual{
    position:absolute;inset:0;padding:clamp(22px,3vw,40px);display:grid;place-items:center;
    opacity:0;transform:translateX(26px) scale(.985);pointer-events:none;
    transition:opacity .75s ease,transform 1s cubic-bezier(.16,1,.3,1);
  }
  .home-card-system .data-story-visual.is-active{opacity:1;transform:none;}
  .home-card-system .data-story-art{width:100%;height:100%;max-width:620px;max-height:100%;overflow:visible;}
  .home-card-system .data-story-art .panel{fill:rgba(255,255,255,.11);stroke:rgba(255,255,255,.55);stroke-width:1.4;}
  .home-card-system .data-story-art .soft{fill:rgba(255,255,255,.16);}
  .home-card-system .data-story-art .solid{fill:#fff;}
  .home-card-system .data-story-art .accent{fill:#fd24bf;}
  .home-card-system .data-story-art .line{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;}
  .home-card-system .data-story-art .fine{fill:none;stroke:rgba(255,255,255,.58);stroke-width:2;stroke-linecap:round;}
  .home-card-system .data-story-visual.is-active .data-story-art .line{
    stroke-dasharray:900;stroke-dashoffset:900;animation:data-line-draw 1.8s .12s cubic-bezier(.16,1,.3,1) forwards;
  }
  @keyframes data-line-draw{to{stroke-dashoffset:0;}}
  .home-card-system .data-story-close{
    display:block;width:100%;padding:34px 12px 28px;text-align:center;
    opacity:var(--dashboard-title-opacity);transform:translate3d(0,var(--dashboard-title-y),0);
    will-change:transform,opacity;
  }
  .home-card-system .data-story-close strong{
    display:block;max-width:680px;margin:0 auto;font-size:clamp(1.45rem,2.4vw,2.2rem);
    line-height:1.08;letter-spacing:-.035em;color:#000;
  }
  .home-card-system .data-story-close span{display:none;}
  .home-card-system .dashboard-full-reveal{
    width:100%;margin:0 auto 6px;padding:14px;overflow:hidden;
    border:1px solid rgba(11,11,13,.08);border-radius:36px;background:#fff;
    box-shadow:0 30px 80px rgba(41,38,93,.15);
    opacity:var(--dashboard-card-opacity);
    transform:translate3d(0,var(--dashboard-card-y),0) rotateX(var(--dashboard-card-rotate-x)) rotateY(var(--dashboard-card-rotate-y)) scale(var(--dashboard-card-scale));
    transform-origin:50% 8%;transform-style:preserve-3d;will-change:transform,opacity;
  }
  .home-card-system .dashboard-reveal-group.is-revealed .data-story-close,
  .home-card-system .dashboard-reveal-group.is-revealed .dashboard-full-reveal{
    opacity:1;transform:none;will-change:auto;
  }
  /* Replica HTML leggera della dashboard: nessun framework, iframe o font aggiuntivo. */
  .home-card-system .dashboard-demo{
    container-type:inline-size;position:relative;display:grid;grid-template-columns:18.5% minmax(0,1fr);
    gap:1cqi;width:100%;aspect-ratio:1200/690;padding:1cqi;overflow:hidden;border-radius:24px;
    background:#fff;color:#111;font-family:var(--sans);font-size:1cqi;line-height:1.2;
    text-align:left;pointer-events:none;user-select:none;-webkit-user-select:none;
  }
  .home-card-system .dashboard-demo *,
  .home-card-system .dashboard-demo *::before,
  .home-card-system .dashboard-demo *::after{box-sizing:border-box;}
  .home-card-system .dashboard-demo section{padding:0;}
  .home-card-system .dash-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;}
  .home-card-system .dash-sidebar{
    position:relative;min-width:0;padding:1.6cqi 1.2cqi;border-radius:1.35cqi;
    background:radial-gradient(circle at 0 0,#e9e2fb 0,#eff4ff 58%,#fff1fa 100%);
  }
  .home-card-system .dash-plus-logo{width:8.1cqi;height:auto;margin:.4cqi auto 3.2cqi;}
  .home-card-system .dash-search{
    display:flex;align-items:center;gap:.7cqi;height:3.3cqi;padding:0 1cqi;margin-bottom:1.45cqi;
    border:1px solid rgba(27,29,39,.08);border-radius:2cqi;background:#fff;color:#707583;
    box-shadow:0 .25cqi .8cqi rgba(28,32,62,.04);font-size:.94cqi;
  }
  .home-card-system .dash-search span{font-size:1.55cqi;line-height:0;transform:rotate(-18deg);}
  .home-card-system .dash-nav-label{
    margin:.9cqi .35cqi .65cqi;color:#74798a;font-size:.67cqi;font-weight:800;
    letter-spacing:.08em;text-transform:uppercase;
  }
  .home-card-system .dash-nav-item{
    display:flex;align-items:center;gap:.75cqi;height:2.65cqi;padding:0 .75cqi;margin:.08cqi 0;
    border-radius:1.35cqi;font-size:.93cqi;font-weight:650;white-space:nowrap;
  }
  .home-card-system .dash-nav-icon{
    display:block;width:1.25cqi;height:1.25cqi;flex:0 0 1.25cqi;
    fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  .home-card-system .dash-nav-item.is-current{
    background:linear-gradient(90deg,#fd24bf 0%,#694be7 100%);color:#fff;
    box-shadow:0 .45cqi 1.2cqi rgba(91,66,222,.18);
  }
  .home-card-system .dash-nav-divider{height:1px;margin:1.1cqi 0;background:rgba(29,32,47,.06);}
  .home-card-system .dash-support{
    position:absolute;left:1.1cqi;bottom:1.1cqi;display:grid;place-items:center;width:3.15cqi;height:3.15cqi;
    border-radius:50%;background:linear-gradient(135deg,#fd24bf,#315be2);color:#fff;font-size:1.35cqi;
    box-shadow:0 .6cqi 1.5cqi rgba(50,51,101,.2);
  }

  .home-card-system .dash-content{min-width:0;overflow:hidden;}
  .home-card-system .dash-header{
    display:flex;align-items:center;justify-content:space-between;height:6cqi;padding:0 2cqi;
    border-radius:1.2cqi;background:radial-gradient(circle at 0 0,#edf5ff 0,#fff0f9 100%);
    box-shadow:0 .3cqi 1cqi rgba(56,48,111,.06);
  }
  .home-card-system .dash-header > div:first-child{display:flex;flex-direction:column;gap:.24cqi;}
  .home-card-system .dash-header > div:first-child strong{font-size:1.38cqi;letter-spacing:-.035em;}
  .home-card-system .dash-header > div:first-child strong span{color:#bd25c6;}
  .home-card-system .dash-header small{display:block;font-size:.76cqi;font-weight:500;}
  .home-card-system .dash-profile{display:flex;align-items:center;gap:.8cqi;}
  .home-card-system .dash-profile > span:nth-last-child(2){display:flex;flex-direction:column;gap:.15cqi;min-width:8.5cqi;}
  .home-card-system .dash-profile b{font-size:.76cqi;}
  .home-card-system .dash-profile small{color:#737887;font-size:.57cqi;}
  .home-card-system .dash-header-icon,
  .home-card-system .dash-language{display:grid;place-items:center;width:1.85cqi;height:1.85cqi;color:#687080;font-size:1cqi;}
  .home-card-system .dash-profile-avatar{
    display:grid;place-items:center;width:2.85cqi;height:2.85cqi;border-radius:50%;
    background:#e1e8fb;color:#3755a3;font-weight:800;
  }
  .home-card-system .dash-overview-grid{
    display:grid;grid-template-columns:minmax(0,1fr) 29%;gap:1cqi;height:37.8cqi;margin-top:.9cqi;
  }
  .home-card-system .dash-primary-column{display:grid;grid-template-rows:12.8cqi 24cqi;gap:1cqi;min-width:0;}
  .home-card-system .dash-campaign-card,
  .home-card-system .dash-performance-card,
  .home-card-system .dash-bottom-grid article{
    min-width:0;border:1px solid rgba(45,43,82,.06);border-radius:1.25cqi;
    background:radial-gradient(circle at 0 0,#edf5ff 0,#fff0f9 100%);
    box-shadow:0 .3cqi 1.25cqi rgba(46,44,92,.055);
  }
  .home-card-system .dashboard-demo section.dash-campaign-card{padding:1.6cqi 2.1cqi;}
  .home-card-system .dash-campaign-title{display:flex;align-items:center;gap:.8cqi;}
  .home-card-system .dash-campaign-logo{
    display:grid;place-items:center;width:3.1cqi;height:3.1cqi;flex:0 0 auto;border-radius:50%;
    background:#fff;color:#111;font-size:1.4cqi;font-weight:900;box-shadow:0 .25cqi .7cqi rgba(0,0,0,.06);
  }
  .home-card-system .dash-campaign-logo sup{color:#fd24bf;font-size:.65cqi;}
  .home-card-system .dash-campaign-title > span:nth-child(2){display:flex;flex-direction:column;gap:.28cqi;min-width:0;}
  .home-card-system .dash-campaign-title strong{font-size:1.32cqi;letter-spacing:-.035em;white-space:nowrap;}
  .home-card-system .dash-campaign-title strong em{color:#c72abb;font-style:normal;}
  .home-card-system .dash-campaign-title small{font-size:.74cqi;}
  .home-card-system .dash-campaign-actions{display:flex;align-items:center;gap:1cqi;margin-left:auto;font-size:1.25cqi;}
  .home-card-system .dash-campaign-actions b{
    padding:.8cqi 1cqi;border:1px solid rgba(25,27,34,.08);border-radius:.75cqi;background:#fff;
    font-size:.8cqi;font-weight:700;box-shadow:0 .2cqi .6cqi rgba(0,0,0,.035);
  }
  .home-card-system .dash-campaign-meta{display:flex;align-items:center;gap:.7cqi;margin:1.1cqi 0 .65cqi;font-size:.74cqi;}
  .home-card-system .dash-campaign-meta b{padding:.27cqi .65cqi;border-radius:1cqi;background:#0d0e10;color:#fff;font-size:.68cqi;}
  .home-card-system .dash-ended{display:block;margin-bottom:.45cqi;color:#b423c6;font-size:.77cqi;}
  .home-card-system .dash-progress{display:block;height:.62cqi;overflow:hidden;border-radius:1cqi;background:#eadff0;}
  .home-card-system .dash-progress i{display:block;width:100%;height:100%;border-radius:inherit;background:#f12fbb;transform-origin:left;transform:scaleX(0);}
  .home-card-system .dashboard-demo.is-live .dash-progress i{animation:dash-progress-in 1.1s .2s cubic-bezier(.16,1,.3,1) forwards;}
  .home-card-system .dash-channel{display:block;margin-top:.45cqi;color:#ef9955;font-size:.69cqi;font-weight:650;}

  .home-card-system .dashboard-demo section.dash-performance-card{position:relative;padding:1.6cqi 1.8cqi 1.05cqi;overflow:hidden;}
  .home-card-system .dash-chart-heading{display:flex;flex-direction:column;gap:.45cqi;}
  .home-card-system .dash-chart-heading strong{font-size:1.05cqi;}
  .home-card-system .dash-chart-heading span{display:flex;align-items:center;gap:.45cqi;font-size:.72cqi;font-weight:650;}
  .home-card-system .dash-chart-heading i{display:inline-block;width:.9cqi;height:.14cqi;border-radius:1cqi;}
  .home-card-system .dash-chart-heading i.is-blue{background:#145bc7;}
  .home-card-system .dash-chart-heading i.is-pink{margin-left:.45cqi;background:#fd24bf;}
  .home-card-system .dash-main-chart{display:block;width:100%;height:17.7cqi;margin-top:.3cqi;overflow:visible;}
  .home-card-system .dash-chart-grid path{fill:none;stroke:#2e3866;stroke-width:1;opacity:.08;}
  .home-card-system .dash-chart-area.is-blue{fill:url(#dash-blue-area);}
  .home-card-system .dash-chart-area.is-pink{fill:url(#dash-pink-area);}
  .home-card-system .dash-chart-line{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;}
  .home-card-system .dash-chart-line.is-blue{stroke:#145bc7;}
  .home-card-system .dash-chart-line.is-pink{stroke:#fd24bf;}
  .home-card-system .dashboard-demo.is-live .dash-chart-line{animation:dash-line-in 1.6s .3s cubic-bezier(.16,1,.3,1) forwards;}
  .home-card-system .dashboard-demo.is-live .dash-chart-line.is-pink{animation-delay:.48s;}
  .home-card-system .dash-axis-labels{fill:#74798a;font:500 10px var(--sans);}
  .home-card-system .dash-chart-summary{position:absolute;left:1.8cqi;bottom:1cqi;display:flex;gap:1.6cqi;font-size:.76cqi;}
  .home-card-system .dash-chart-summary b{color:#e135a9;}

  .home-card-system .dash-kpi-column{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:1cqi;}
  .home-card-system .dash-kpi-card{
    position:relative;min-width:0;overflow:hidden;padding:1.25cqi 1.35cqi;border-radius:1.35cqi;color:#fff;
    box-shadow:0 .9cqi 1.65cqi rgba(28,35,92,.18);opacity:0;transform:translateY(1cqi) scale(.98);
  }
  .home-card-system .dashboard-demo.is-live .dash-kpi-card{
    animation:dash-card-in .85s var(--dash-delay) cubic-bezier(.16,1,.3,1) forwards;
  }
  .home-card-system .dash-kpi-blue{background:linear-gradient(135deg,#0754c7,#3542ce);}
  .home-card-system .dash-kpi-pink{background:linear-gradient(135deg,#ef26a5,#e33d60);}
  .home-card-system .dash-kpi-purple{background:linear-gradient(135deg,#7921d4,#1669ee);}
  .home-card-system .dash-kpi-card p{font-size:1.05cqi;font-weight:750;}
  .home-card-system .dash-kpi-card > strong{display:block;margin-top:.55cqi;font-size:1.75cqi;letter-spacing:-.03em;}
  .home-card-system .dash-kpi-badge{
    position:absolute;top:3.45cqi;right:1cqi;padding:.35cqi .65cqi;border-radius:1cqi;
    background:rgba(255,255,255,.18);font-size:.68cqi;
  }
  .home-card-system .dash-kpi-split{display:flex;gap:1.2cqi;margin-top:.55cqi;color:rgba(255,255,255,.7);font-size:.6cqi;text-transform:uppercase;}
  .home-card-system .dash-kpi-split span{display:flex;flex-direction:column;gap:.16cqi;}
  .home-card-system .dash-kpi-split b{color:#fff;font-size:.75cqi;}
  .home-card-system .dash-kpi-card svg{position:absolute;left:1.2cqi;right:1.2cqi;bottom:.65cqi;width:calc(100% - 2.4cqi);height:4.5cqi;overflow:visible;}
  .home-card-system .dash-spark-area{fill:rgba(255,255,255,.09);}
  .home-card-system .dash-spark-line{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;}
  .home-card-system .dashboard-demo.is-live .dash-spark-line{animation:dash-line-in 1.2s calc(var(--dash-delay) + 180ms) cubic-bezier(.16,1,.3,1) forwards;}

  .home-card-system .dash-date-chip{
    display:inline-flex;align-items:center;height:2.5cqi;margin-top:.7cqi;padding:0 .9cqi;border:1px solid rgba(25,27,34,.08);
    border-radius:.65cqi;background:#fff;font-size:.7cqi;box-shadow:0 .2cqi .6cqi rgba(0,0,0,.025);
  }
  .home-card-system .dash-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1cqi;height:7cqi;margin-top:.7cqi;}
  .home-card-system .dash-bottom-grid article{position:relative;display:flex;align-items:center;gap:1cqi;padding:1cqi 1.4cqi;}
  .home-card-system .dash-bottom-icon{display:grid;place-items:center;width:2.7cqi;height:2.7cqi;border-radius:50%;background:#f2daf8;color:#ca2cbd;font-size:1.25cqi;}
  .home-card-system .dash-bottom-grid article > div{flex:1;min-width:0;}
  .home-card-system .dash-bottom-grid p{font-size:.83cqi;font-weight:750;}
  .home-card-system .dash-bottom-grid strong{font-size:1.45cqi;}
  .home-card-system .dash-bottom-grid strong small{font-size:.75cqi;}
  .home-card-system .dash-bottom-grid i{display:block;height:.35cqi;margin-top:.45cqi;overflow:hidden;border-radius:1cqi;background:#eadff0;}
  .home-card-system .dash-bottom-grid i b{display:block;width:100%;height:100%;border-radius:inherit;background:#ee31b6;transform-origin:left;transform:scaleX(0);}
  .home-card-system .dashboard-demo.is-live .dash-bottom-grid i b{animation:dash-progress-in 1.1s .55s cubic-bezier(.16,1,.3,1) forwards;}
  .home-card-system .dash-bottom-grid em{font-size:.68cqi;font-style:normal;font-weight:750;}
  @keyframes dash-line-in{to{stroke-dashoffset:0;}}
  @keyframes dash-progress-in{to{transform:scaleX(1);}}
  @keyframes dash-card-in{to{opacity:1;transform:none;}}

  /* Due colonne: entrambe sono card, compresa la creative con il mockup ricevuta. */
  .home-card-system .gw-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-card-system .gw-copy-card,
  .home-card-system .gw-creative-card{min-height:620px;}
  .home-card-system .gw-copy-card{display:flex;flex-direction:column;align-items:flex-start;background:var(--ds-blue);border-color:transparent;box-shadow:none;}
  .home-card-system .gw-copy-card .lead{margin-left:0;margin-right:0;}
  .home-card-system .gw-copy-card .btn{margin-top:auto;}
  .home-card-system .gw-creative-card{
    display:grid;place-items:center;background-color:var(--ds-periwinkle);
    background-image:var(--ds-brand-haze);background-position:center;background-size:cover;
    border-color:transparent;box-shadow:none;
  }
  .home-card-system .receipt{width:min(100%,390px);margin:auto;}

  .home-card-system .kpi-grid{max-width:var(--maxw);}
  .home-card-system .kpi-cell{min-height:430px;text-align:left;}
  .home-card-system .kpi-cell .num{font-size:clamp(68px,8vw,118px);color:var(--ds-ink);letter-spacing:-.075em;}
  .home-card-system .kpi-cell :is(h3,h4){
    width:100%;min-height:2.1em;margin-top:auto;margin-bottom:8px;
    font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.05;
  }
  .home-card-system .kpi-cell p{
    width:100%;max-width:none;min-height:112px;margin:0;
    font-size:20px;color:#000;line-height:1.4;
  }

  .home-card-system .phase-line{display:none;}
  .home-card-system .phase{min-height:350px;}
  .home-card-system .phase .tag{
    margin:0;background:transparent;border-color:var(--ds-line);
    border-radius:999px;padding:8px 14px;
  }
  .home-card-system .phase :is(h3,h4){
    width:100%;min-height:2.16em;margin-top:clamp(28px,2.4vw,36px);
    font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.08;letter-spacing:-.025em;
  }
  .home-card-system .phase p{
    width:100%;min-height:126px;margin-top:16px;font-size:18px;line-height:1.4;color:#000;
  }

  .home-card-system .fmt{min-height:470px;gap:0;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s;}
  .home-card-system .fmt:hover{border-color:var(--ds-line);transform:translateY(-5px);box-shadow:0 2px 3px rgba(11,11,13,.04),0 30px 80px rgba(11,11,13,.11);}
  .home-card-system .fmt .tag{margin-bottom:clamp(52px,6vw,88px);border-radius:999px;padding:7px 13px;}
  .home-card-system .fmt h3{margin-top:0;}
  .home-card-system .fmt .ex{margin-top:24px;border-radius:14px;background:rgba(255,255,255,.55);}
  .home-card-system .fmt a,
  .home-card-system .story a,
  .home-card-system .pt a{margin-top:auto;padding-top:34px;}
  .home-card-system .fmt:nth-child(2){background:var(--magenta);border-color:transparent;box-shadow:none;}
  .home-card-system .fmt:nth-child(3){background:var(--ds-lilac);border-color:transparent;box-shadow:none;}
  .home-card-system .fmt:nth-child(5){background:var(--ds-blue);border-color:transparent;box-shadow:none;}

  .home-card-system .story{min-height:430px;gap:0;}
  .home-card-system .story:first-child{background:var(--magenta);border-color:transparent;box-shadow:none;}
  .home-card-system .story .num{color:var(--ds-ink);font-size:clamp(4rem,7vw,6.5rem);letter-spacing:-.075em;}
  .home-card-system .story img{margin-top:auto;}

  /* Browse by industry: una card split con menu editoriale e creative dinamica. */
  .home-card-system .industry-browser{
    display:grid;grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);
    height:700px;min-height:700px;margin-top:52px;overflow:hidden;text-align:left;
    border:1px solid var(--ds-line);border-radius:var(--ds-card-radius);
    background:var(--ds-white);box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .industry-menu{
    --industry-row-height:64px;--industry-active-height:174px;
    display:flex;flex-direction:column;justify-content:center;padding:24px clamp(28px,3.2vw,46px);
    background:var(--ds-white);
  }
  .home-card-system .industry-item{
    appearance:none;display:grid;grid-template-columns:28px minmax(0,1fr) 28px;
    flex:0 0 var(--industry-row-height);min-height:var(--industry-row-height);
    align-items:start;gap:16px;width:100%;padding:18px 0;
    border:0;border-bottom:1px solid var(--ds-line);background:transparent;
    color:var(--ds-ink);font:inherit;text-align:left;cursor:pointer;
  }
  .home-card-system .industry-item:last-child{border-bottom:0;}
  .home-card-system .industry-item-icon{
    display:grid;place-items:center;width:28px;height:28px;margin-top:-3px;
    color:var(--w-violet,#5147e5);border:1px solid currentColor;border-radius:50%;
    transition:background .5s,color .5s,border-color .5s;
  }
  .home-card-system .industry-item-icon svg{width:14px;height:14px;stroke:currentColor;stroke-width:2;fill:none;}
  .home-card-system .industry-item-title{
    display:block;font-size:clamp(1rem,1.42vw,1.25rem);font-weight:600;
    line-height:1.12;letter-spacing:-.025em;
  }
  .home-card-system .industry-item-description{
    display:block;max-height:0;margin-top:0;overflow:hidden;opacity:0;
    font-family:var(--serif);font-size:.92rem;font-weight:300;line-height:1.55;color:#000;
    transition:max-height .9s cubic-bezier(.16,1,.3,1),opacity .6s,margin .7s;
  }
  .home-card-system .industry-item-arrow{
    display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--ds-line);
    border-radius:50%;font-size:14px;opacity:0;transform:translateX(-6px);
    transition:opacity .5s,transform .5s,background .5s,color .5s;
  }
  .home-card-system .industry-item:is(:hover,:focus-visible) .industry-item-title{color:#aa087f;}
  .home-card-system .industry-item:focus-visible{outline:0;}
  .home-card-system .industry-item.is-active{
    flex-basis:var(--industry-active-height);min-height:var(--industry-active-height);
    padding-top:22px;padding-bottom:24px;
  }
  .home-card-system .industry-item.is-active .industry-item-icon{
    color:var(--ds-ink);background:var(--magenta);border-color:var(--magenta);
  }
  .home-card-system .industry-item.is-active .industry-item-description{
    max-height:96px;margin-top:12px;opacity:1;
  }
  .home-card-system .industry-item.is-active .industry-item-arrow{
    opacity:1;transform:none;background:var(--ds-ink);color:#fff;border-color:var(--ds-ink);
  }
  .home-card-system .industry-creative{
    --industry-accent:#fd24bf;position:relative;isolation:isolate;overflow:hidden;
    display:flex;flex-direction:column;justify-content:flex-start;min-width:0;padding:var(--ds-card-pad);
    background:linear-gradient(145deg,#efe1f7 0%,#c8def9 100%);color:var(--ds-ink);
    transition:background 1.1s cubic-bezier(.16,1,.3,1),color .7s;
  }
  .home-card-system .industry-creative[data-theme="automotive"]{--industry-accent:#fd24bf;}
  .home-card-system .industry-creative[data-theme="food"]{--industry-accent:#ff7a00;}
  .home-card-system .industry-creative[data-theme="beauty"]{--industry-accent:#fd24bf;}
  .home-card-system .industry-creative[data-theme="fashion"]{--industry-accent:#5147e5;}
  .home-card-system .industry-creative[data-theme="retail"]{--industry-accent:#168b72;}
  .home-card-system .industry-creative[data-theme="energy"]{--industry-accent:#4fd18b;}
  .home-card-system .industry-creative[data-theme="finance"]{--industry-accent:#98c4ff;}
  .home-card-system .industry-creative-meta{
    position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:20px;
    font-size:.72rem;font-weight:700;line-height:1;letter-spacing:.14em;text-transform:uppercase;
  }
  .home-card-system .industry-device{
    position:absolute;left:63%;top:47%;width:min(52%,340px);aspect-ratio:9/15.4;
    transform:translate(-50%,-50%) rotate(3deg);padding:12px;border:2px solid rgba(255,255,255,.55);
    border-radius:44px;background:#09090b;box-shadow:0 36px 80px rgba(11,11,13,.28);
    transition:opacity .44s ease;
  }
  .home-card-system .industry-creative.is-changing .industry-device{opacity:.68;}
  .home-card-system .industry-device::before{
    content:"";position:absolute;z-index:2;left:50%;top:20px;transform:translateX(-50%);
    width:34%;height:22px;border-radius:999px;background:#09090b;
  }
  .home-card-system .industry-device-screen{
    display:flex;flex-direction:column;height:100%;padding:52px 20px 20px;overflow:hidden;
    border-radius:32px;background:linear-gradient(160deg,color-mix(in srgb,var(--industry-accent) 35%,white),#fff 72%);color:#0b0b0d;
  }
  .home-card-system .industry-device-label{font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;}
  .home-card-system .industry-device-word{
    margin-top:12px;font-size:clamp(2.15rem,4.6vw,4rem);font-weight:800;
    line-height:.84;letter-spacing:-.07em;text-transform:uppercase;
  }
  .home-card-system .industry-device-card{
    margin-top:auto;padding:18px;border-radius:18px;background:rgba(255,255,255,.82);
    box-shadow:0 12px 34px rgba(11,11,13,.12);
  }
  .home-card-system .industry-device-card span{font-size:.72rem;font-weight:600;}
  .home-card-system .industry-device-progress{height:7px;margin-top:12px;overflow:hidden;border-radius:999px;background:rgba(11,11,13,.12);}
  .home-card-system .industry-device-progress::after{content:"";display:block;width:72%;height:100%;border-radius:inherit;background:var(--industry-accent);}
  .home-card-system .industry-media-stack{
    position:absolute;z-index:2;right:10%;top:48%;width:min(46%,330px);aspect-ratio:4/5;
    opacity:0;visibility:hidden;transform:translate3d(0,-47%,0) scale(.96);
    transition:opacity .38s ease,transform .52s cubic-bezier(.16,1,.3,1),visibility 0s linear .52s;
  }
  .home-card-system .industry-media-stack--automotive{right:6%;top:48%;width:min(62%,420px);aspect-ratio:4/3;}
  .home-card-system .industry-media-stack--device{
    right:7%;top:48%;width:min(39%,260px);aspect-ratio:436/902;
    isolation:isolate;background:url("../industries/device/iphone-mockup.png") center/contain no-repeat;
    background-image:image-set(
      url("../industries/device/iphone-mockup.avif") type("image/avif"),
      url("../industries/device/iphone-mockup.webp") type("image/webp"),
      url("../industries/device/iphone-mockup.png") type("image/png")
    );
    filter:drop-shadow(0 28px 34px rgba(3,5,18,.26));
  }
  .home-card-system .industry-phone-screen{
    position:absolute;z-index:1;inset:1.8% 4.15%;overflow:hidden;
    border-radius:clamp(24px,8.2%,42px);background:#000;
  }
  .home-card-system .industry-media-stack--device::after{
    content:"";position:absolute;z-index:7;left:50%;top:2.9%;width:29.4%;height:4%;
    transform:translateX(-50%);border-radius:999px;background:#020202;pointer-events:none;
  }
  .home-card-system .industry-creative:is([data-theme="automotive"],[data-theme="food"],[data-theme="beauty"],[data-theme="fashion"],[data-theme="retail"],[data-theme="energy"],[data-theme="finance"]) .industry-device{
    opacity:0;visibility:hidden;pointer-events:none;
  }
  .home-card-system .industry-creative[data-theme="automotive"] [data-industry-stack="automotive"],
  .home-card-system .industry-creative[data-theme="food"] [data-industry-stack="food"],
  .home-card-system .industry-creative[data-theme="beauty"] [data-industry-stack="beauty"],
  .home-card-system .industry-creative[data-theme="fashion"] [data-industry-stack="fashion"],
  .home-card-system .industry-creative[data-theme="retail"] [data-industry-stack="retail"],
  .home-card-system .industry-creative[data-theme="energy"] [data-industry-stack="energy"],
  .home-card-system .industry-creative[data-theme="finance"] [data-industry-stack="finance"]{
    opacity:1;visibility:visible;transform:translate3d(0,-50%,0) scale(1);
    transition-delay:.12s,0s,0s;
  }
  .home-card-system .industry-creative:is([data-theme="food"],[data-theme="beauty"],[data-theme="fashion"],[data-theme="retail"],[data-theme="energy"],[data-theme="finance"]) .industry-media-stack--device{
    transform:translate3d(0,-50%,0) rotate(3deg) scale(1);
    transform-origin:50% 52%;
  }
  .home-card-system .industry-media-card{
    position:absolute;inset:0;margin:0;overflow:hidden;border:1px solid rgba(255,255,255,.38);
    border-radius:28px;background:#fff;box-shadow:0 28px 68px rgba(3,5,18,.3);
    transform-origin:50% 92%;will-change:transform,opacity;
    transition:transform .42s cubic-bezier(.16,1,.3,1),opacity .26s ease;
  }
  .home-card-system .industry-media-card[data-stack-position="0"]{z-index:3;opacity:1;transform:translate3d(0,0,0) rotate(0deg) scale(1);}
  .home-card-system .industry-media-card[data-stack-position="1"]{z-index:2;opacity:.92;transform:translate3d(18px,13px,0) rotate(3.2deg) scale(.955);}
  .home-card-system .industry-media-card[data-stack-position="2"]{z-index:1;opacity:.72;transform:translate3d(34px,25px,0) rotate(6deg) scale(.91);}
  .home-card-system .industry-media-card[data-stack-position="3"]{z-index:0;opacity:.5;transform:translate3d(48px,36px,0) rotate(8deg) scale(.87);}
  .home-card-system .industry-media-card.is-exiting{z-index:4;opacity:0;transform:translate3d(-24px,-54px,0) rotate(-4deg) scale(1.025);}
  .home-card-system .industry-media-stack--device .industry-media-card{
    border:0;border-radius:inherit;background:#000;box-shadow:none;transform-origin:50% 50%;
  }
  .home-card-system .industry-media-stack--device .industry-media-card[data-stack-position="0"]{
    z-index:3;opacity:1;transform:translate3d(0,0,0) scale(1);
  }
  .home-card-system .industry-media-stack--device .industry-media-card:not([data-stack-position="0"]){
    opacity:0;transform:translate3d(0,12px,0) scale(.985);
  }
  .home-card-system .industry-media-stack--device .industry-media-card.is-exiting{
    z-index:4;opacity:0;transform:translate3d(0,-20px,0) scale(.992);
  }
  .home-card-system .industry-media-stack--adaptive{
    right:4%;top:48%;width:min(58%,390px);height:min(58%,410px);aspect-ratio:auto;
    isolation:isolate;filter:none;
  }
  .home-card-system .industry-gallery-stage{position:absolute;inset:0;}
  .home-card-system .industry-media-stack--adaptive .industry-media-card{
    inset:auto;left:50%;top:50%;height:auto;border:1px solid rgba(255,255,255,.82);
    border-radius:18px;background:transparent;box-shadow:0 24px 58px rgba(20,18,32,.24);
    transform-origin:50% 50%;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card--four-five{
    width:min(78%,300px);aspect-ratio:4/5;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card--square{
    width:min(78%,300px);aspect-ratio:1;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card--landscape{
    width:min(96%,360px);aspect-ratio:1000/643;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card--reel{
    width:min(59%,222px);aspect-ratio:563/1000;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card[data-stack-position="0"]{
    z-index:4;opacity:1;transform:translate3d(-50%,-50%,0) rotate(0deg) scale(1);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card[data-stack-position="1"]{
    z-index:3;opacity:.88;transform:translate3d(calc(-50% + 28px),calc(-50% + 17px),0) rotate(2.8deg) scale(.965);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card[data-stack-position="2"]{
    z-index:2;opacity:.58;transform:translate3d(calc(-50% + 48px),calc(-50% + 31px),0) rotate(5deg) scale(.925);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card[data-stack-position="3"]{
    z-index:1;opacity:.3;transform:translate3d(calc(-50% + 64px),calc(-50% + 42px),0) rotate(7deg) scale(.89);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card[data-stack-position="4"]{
    z-index:0;opacity:.14;transform:translate3d(calc(-50% + 76px),calc(-50% + 51px),0) rotate(8.5deg) scale(.86);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card:is([data-stack-position="5"],[data-stack-position="6"],[data-stack-position="7"]){
    z-index:-1;opacity:0;transform:translate3d(calc(-50% + 84px),calc(-50% + 58px),0) rotate(9deg) scale(.84);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card.is-exiting{
    z-index:5;opacity:0;transform:translate3d(calc(-50% - 42px),calc(-50% - 36px),0) rotate(-3deg) scale(1.015);
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card picture,
  .home-card-system .industry-media-stack--adaptive .industry-media-card img,
  .home-card-system .industry-media-stack--adaptive .industry-media-card video{
    border-radius:inherit;object-fit:cover;
  }
  .home-card-system .industry-media-stack--adaptive .industry-media-card video{object-fit:contain;background:#000;}
  .home-card-system .industry-media-card.is-resetting{transition:none!important;}
  .home-card-system .industry-media-card picture,
  .home-card-system .industry-media-card img,
  .home-card-system .industry-media-card video{display:block;width:100%;height:100%;}
  .home-card-system .industry-media-card img{object-fit:cover;}
  .home-card-system .industry-media-stack--automotive .industry-media-card img{object-fit:contain;}
  .home-card-system .industry-media-stack--device .industry-media-card img{object-fit:contain;background:#000;}
  .home-card-system .industry-media-stack--device .industry-media-card video{
    object-fit:contain!important;object-position:50% 50%;background:#000;transform:none;
  }
  .home-card-system .industry-media-progress{
    position:absolute;z-index:6;left:50%;bottom:-34px;display:flex;gap:6px;transform:translateX(-50%);
  }
  .home-card-system .industry-media-stack--device .industry-media-progress{bottom:-22px;}
  .home-card-system .industry-media-progress i{display:block;width:20px;height:3px;border-radius:999px;background:rgba(11,11,13,.24);}
  .home-card-system .industry-media-progress i.is-active{background:#0b0b0d;}
  .home-card-system .industry-creative-footer{
    position:relative;z-index:3;display:flex;align-items:end;justify-content:flex-start;gap:24px;margin-top:auto;
  }
  .home-card-system .industry-creative-actions{display:flex;align-items:center;gap:20px;}
  .home-card-system .industry-creative-title{
    position:relative;z-index:3;max-width:min(42%,9ch);margin-top:28px;
    font-size:clamp(2.35rem,4.4vw,4rem);font-weight:800;
    line-height:.91;letter-spacing:-.055em;text-wrap:balance;
  }
  .home-card-system .industry-creative:is([data-theme="beauty"],[data-theme="retail"]) .industry-creative-title{max-width:min(40%,7.2ch);}
  .home-card-system .industry-creative:is([data-theme="food"],[data-theme="fashion"],[data-theme="energy"],[data-theme="finance"]) .industry-creative-title{max-width:min(40%,8.2ch);}
  .home-card-system .industry-creative[data-theme="energy"] .industry-creative-title{
    max-width:min(46%,13ch);font-size:clamp(2.05rem,3.1vw,2.8rem);
    hyphens:none;overflow-wrap:normal;word-break:normal;
  }
  .home-card-system .industry-creative[data-theme="energy"] .industry-device{left:76%;width:44%;}
  .home-card-system .industry-creative-link{
    flex:none;display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:13px 18px;
    border-radius:var(--ds-control-radius);background:var(--ds-ink);color:#fff;
    font-size:.9rem;font-weight:700;text-decoration:none;transition:transform .2s,background .2s,color .2s;
  }
  .home-card-system .industry-creative:is([data-theme="energy"],[data-theme="finance"]) .industry-creative-link{background:#fff;color:var(--ds-ink);}
  .home-card-system .industry-creative-link:is(:hover,:focus-visible){transform:none;background:#fff;color:#000;outline:0;}
  .home-card-system .industry-creative:is([data-theme="energy"],[data-theme="finance"]) .industry-creative-link:is(:hover,:focus-visible){background:#000;color:#fff;}
  .home-card-system .industry-demo-link{
    flex:none;display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:12px 14px;
    border:1px solid transparent;border-radius:var(--ds-control-radius);background:transparent;color:var(--ds-ink);
    font-size:.9rem;font-weight:700;text-decoration:none;transition:border-color .2s ease;
  }
  .home-card-system .industry-demo-link:is(:hover,:focus-visible){border-color:currentColor;outline:0;}
  .home-card-system .industry-creative:is([data-theme="energy"],[data-theme="finance"]) .industry-demo-link{color:var(--ds-ink);}

  .home-card-system .pt{min-height:440px;gap:0;}
  .home-card-system .pt.featured{background:var(--magenta);color:var(--ds-ink);border:none;box-shadow:none;}
  .home-card-system .pt:nth-child(3){background:var(--ds-blue);border-color:transparent;box-shadow:none;}
  .home-card-system .pt.featured p,
  .home-card-system .pt.featured a{color:var(--ds-ink);}
  .home-card-system .pt.featured p{color:#000;}
  .home-card-system .pt img{margin-top:auto;border:1px solid var(--ds-line);}

  .home-card-system .btn{
    min-height:54px;padding:15px 24px;border-radius:var(--ds-control-radius);
    letter-spacing:-.015em;text-transform:none;
  }

  /* ================= STRUTTURA FINALE ================= */
  .home-card-system .smart-data + #why{padding-top:clamp(76px,8vw,116px);}
  .home-card-system #why,
  .home-card-system #stories,
  .home-card-system .expert,
  .home-card-system .security,
  .home-card-system #industries{
    position:relative;overflow:hidden;border-radius:var(--ds-section-radius);background-clip:padding-box;
  }
  .home-card-system .smart-data,
  .home-card-system .use-cases,
  .home-card-system .kpis,
  .home-card-system .formats,
  .home-card-system .partners{background:var(--ds-white);}
  .home-card-system #why{background:var(--ds-radiant);}
  .home-card-system #stories{
    min-height:0;padding-bottom:0;background:var(--ds-radiant);color:#fff;
  }
  .home-card-system #stories .kicker{color:#fd24bf;}
  .home-card-system .stories-heading{position:relative;z-index:8;}
  .home-card-system .stories-heading .h2{color:#000;}
  .home-card-system .success-carousel{
    position:relative;height:590px;margin-top:18px;overflow:hidden;outline:0;touch-action:pan-y;
  }
  .home-card-system .success-carousel-deck{position:absolute;inset:0;}
  .home-card-system .success-card{
    --story-x:0px;--story-y:100px;--story-scale:.72;--story-rotate:0deg;
    position:absolute;z-index:var(--story-z,1);left:50%;bottom:0;width:400px;height:500px;
    margin:0 0 0 -200px;padding:0;overflow:visible;border:0;border-radius:40px 40px 0 0;
    background:#17171a;box-shadow:0 34px 80px rgba(0,0,0,.38);cursor:pointer;
    opacity:0;transform:translate3d(var(--story-x),var(--story-y),0) scale(var(--story-scale)) rotate(var(--story-rotate));
    transform-origin:center;transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .45s ease,filter .6s ease;
    will-change:transform,opacity;
  }
  .home-card-system .success-carousel.is-ready .success-card{opacity:var(--story-opacity,1);}
  .home-card-system .success-card > a{
    position:relative;display:flex;flex-direction:column;width:100%;height:100%;padding:28px;
    overflow:hidden;border-radius:40px 40px 0 0;color:#fff;text-decoration:none;isolation:isolate;
  }
  .home-card-system .success-card > a::before{
    content:"";position:absolute;z-index:-2;inset:0;background:var(--story-background);
  }
  /* CSS backgrounds otherwise download even while these cards are off screen. */
  .home-card-system .success-carousel:not(.is-ready) .success-card > a::before{background-image:none;}
  .home-card-system .success-card > a::after{
    content:none;
  }
  .home-card-system .success-card--pupa{--story-background:image-set(url("../performance/success-stories/pupa-avvento-2024-960.avif") type("image/avif"),url("../performance/success-stories/pupa-avvento-2024-960.webp") type("image/webp")) center 22%/cover no-repeat;}
  .home-card-system .success-card--barilla{--story-background:radial-gradient(circle at 35% 22%,#8dc2ff 0,#2666d6 35%,#0d2d72 76%,#07152e 100%);}
  .home-card-system .success-card--loacker{
    --story-background:#e30613 image-set(
      url("../success-stories/loacker-break3.avif") type("image/avif"),
      url("../success-stories/loacker-break3.webp") type("image/webp"),
      url("../success-stories/loacker-break3.jpg") type("image/jpeg")
    ) center/contain no-repeat;
  }
  .home-card-system .success-card--melinda{
    --story-background:image-set(
      url("../success-stories/melinda-game-of-gods.avif") type("image/avif"),
      url("../success-stories/melinda-game-of-gods.webp") type("image/webp"),
      url("../success-stories/melinda-game-of-gods.jpg") type("image/jpeg")
    ) center/cover no-repeat;
  }
  .home-card-system .success-card--live-nation{--story-background:image-set(url("../performance/success-stories/live-nation-tickets-under-the-tree-800.avif") type("image/avif"),url("../performance/success-stories/live-nation-tickets-under-the-tree-800.webp") type("image/webp")) center/cover no-repeat;}
  .home-card-system .success-card--rowenta{--story-background:#111;}
  .home-card-system .success-card-video{
    position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  }
  /* Trattamento riutilizzabile per copy e loghi sopra creative fotografiche. */
  .home-card-system .success-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;min-height:0;}
  .home-card-system .media-logo-badge{display:flex;align-items:center;justify-content:center;min-height:0;}
  .home-card-system .media-logo-badge img{
    width:auto;height:28px;max-width:102px;margin:0;object-fit:contain;object-position:center;
    filter:brightness(0) invert(1);opacity:.96;
  }
  .home-card-system .success-card-wordmark{
    color:#fff;font-family:var(--sans);font-size:.82rem;font-weight:900;line-height:1;
    letter-spacing:-.035em;text-shadow:0 2px 10px rgba(0,0,0,.32);
  }
  .home-card-system .success-card-kpi-label{
    flex:0 0 auto;padding:9px 12px;border-radius:999px;background:#790cbd;color:#fff;
    font-family:var(--sans);font-size:.76rem;font-weight:800;line-height:1;letter-spacing:.035em;
    box-shadow:0 8px 22px rgba(121,12,189,.25);
  }
  .home-card-system .media-copy-panel{
    display:flex;flex-direction:column;gap:12px;margin:auto -28px -28px;padding:22px 28px 70px;
    border-radius:24px 24px 0 0;background:rgba(0,0,0,.8);
  }
  .home-card-system .success-card-copy p{
    max-width:320px;margin:0;font-family:var(--sans);font-size:1.03rem;font-weight:700;
    line-height:1.35;color:#fff;
  }
  .home-card-system .success-carousel-dots{
    position:absolute;z-index:20;left:50%;bottom:24px;display:flex;align-items:center;gap:8px;
    transform:translateX(-50%);
  }
  .home-card-system .success-carousel-dot{
    position:relative;width:24px;height:24px;padding:0;border:0;border-radius:999px;background:transparent;
    cursor:pointer;transition:width .3s ease,background .3s ease;
  }
  .home-card-system .success-carousel-dot::before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.6);transform:translate(-50%,-50%);transition:width .3s ease,background .3s ease;}
  .home-card-system .success-carousel-dot.is-active::before{width:24px;background:#fff;}
  .home-card-system .success-carousel-dot:focus-visible{outline:2px solid #fff;outline-offset:2px;}
  @media (max-width:700px){
    .home-card-system #stories{min-height:0;}
    .home-card-system .success-carousel{height:520px;margin-top:10px;}
    .home-card-system .success-card{
      width:min(76vw,350px);height:min(108vw,460px);
      margin-left:calc(min(76vw,350px) * -.5);margin-top:0;border-radius:32px 32px 0 0;
    }
    .home-card-system .success-card > a{padding:23px;border-radius:32px 32px 0 0;}
    .home-card-system .media-logo-badge img{height:24px;max-width:88px;}
    .home-card-system .success-card-kpi-label{padding:8px 10px;font-size:.68rem;}
    .home-card-system .media-copy-panel{margin-right:-23px;margin-bottom:-23px;margin-left:-23px;padding:19px 23px 60px;border-radius:20px 20px 0 0;}
    .home-card-system .success-carousel-dots{bottom:16px;}
  }
  .home-card-system .expert{background:var(--ds-radiant);}
  .home-card-system #industries{background:transparent;}
  .home-card-system #industries{padding-top:96px!important;padding-bottom:48px;}
  .home-card-system .partners{padding-top:48px;padding-bottom:48px;}

  /* Tre card autonome: copy e creative convivono nello stesso oggetto. */
  .home-card-system .why-integrated-grid{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-gap);margin-top:52px;text-align:left;
  }
  .home-card-system .why-integrated-card{
    position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;
    border:1px solid var(--ds-line);border-radius:var(--ds-card-radius);background:#fff;box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .why-integrated-copy{display:flex;flex:1 1 auto;flex-direction:column;padding:clamp(26px,3vw,42px);}
  .home-card-system .why-integrated-copy h3{min-height:2em;margin-top:0;font-size:clamp(1.65rem,2.3vw,2.35rem);line-height:1;letter-spacing:-.04em;}
  .home-card-system .why-integrated-copy p{margin-top:14px;font-size:17px;line-height:1.42;color:#000;}
  .home-card-system .why-integrated-creative{
    position:relative;display:flex;flex:0 0 140px;height:140px;min-height:140px;padding:3%;
    overflow:hidden;color:#fff;background:#000;
  }
  .home-card-system .why-integrated-creative::before,
  .home-card-system .why-integrated-creative::after{
    content:none;
  }
  .home-card-system .why-integrated-creative img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;}
  .home-card-system .compliance-viz{position:relative;width:100%;height:100%;}
  .home-card-system .why-integrated-creative .compliance-viz-base{
    position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:contain;
  }
  .home-card-system .compliance-viz-logo{
    position:absolute;z-index:2;top:50%;display:grid;place-items:center;
    width:clamp(34px,3.2vw,42px);height:clamp(34px,3.2vw,42px);
    opacity:0;transform:translate(-50%,-50%) scale(.62);
    animation:compliance-logo-reveal 5s ease-out infinite;
  }
  .home-card-system .compliance-viz-logo img{
    position:static;width:100%;height:100%;object-fit:contain;
  }
  .home-card-system .compliance-viz-logo--iso{left:59.5%;}
  .home-card-system .compliance-viz-logo--gdpr{left:77%;animation-delay:.45s;}
  .home-card-system .compliance-viz-logo--gdpr img{filter:none;}
  .home-card-system .compliance-viz-logo--uk{left:94.5%;animation-delay:.9s;}
  .home-card-system .compliance-viz-logo--uk{
    overflow:hidden;border-radius:50%;clip-path:circle(49.5%);
  }
  .home-card-system .compliance-viz-logo--uk img{object-fit:cover;transform:scale(1.015);}
  @keyframes compliance-logo-reveal{
    0%,30%{opacity:0;transform:translate(-50%,-50%) scale(.62)}
    42%,86%{opacity:1;transform:translate(-50%,-50%) scale(1)}
    96%,100%{opacity:0;transform:translate(-50%,-50%) scale(.62)}
  }
  @media (prefers-reduced-motion:reduce){
    .home-card-system .compliance-viz-logo{
      opacity:1;transform:translate(-50%,-50%);animation:none;
    }
  }
  .home-card-system .why-integrated-card--blue .why-integrated-creative,
  .home-card-system .why-integrated-card--violet .why-integrated-creative,
  .home-card-system .why-integrated-card--dark .why-integrated-creative{background:#fff;color:#000;}
  .home-card-system .why-integrated-creative > img,
  .home-card-system .why-integrated-creative .compliance-viz-base,
  .home-card-system .compliance-viz-logo--iso img{filter:invert(1);}

  /* Elenco editoriale ispirato al ritmo Papermark. */
  .home-card-system .use-cases{background:#184ECA;color:#fff;}
  .home-card-system .use-cases-layout{
    display:grid;grid-template-columns:minmax(150px,.42fr) minmax(420px,1.15fr) auto;align-items:center;gap:clamp(34px,5vw,88px);
    min-height:430px;padding-top:clamp(14px,2vw,26px);padding-bottom:clamp(14px,2vw,26px);
  }
  .home-card-system .use-cases-label{
    position:relative;width:100%;max-width:160px;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.82);
    color:#fff;font-size:clamp(1.05rem,1.35vw,1.25rem);font-weight:650;
    line-height:1.18;letter-spacing:-.025em;
  }
  .home-card-system .use-cases-label::before{content:none;}
  .home-card-system .use-cases-list{
    --use-case-row:clamp(52px,5vw,72px);
    position:relative;height:calc(var(--use-case-row) * 5);min-width:0;overflow:hidden;
  }
  .home-card-system .use-cases-track{
    will-change:transform;
    transition:transform .8s cubic-bezier(.22,.61,.36,1);
  }
  .home-card-system .use-cases-track.is-resetting{transition:none;}
  .home-card-system .use-cases-set{display:flex;flex-direction:column;align-items:flex-start;}
  .home-card-system .use-cases-source{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .home-card-system .use-case-item{
    display:flex;align-items:center;flex:0 0 var(--use-case-row);height:var(--use-case-row);max-width:100%;white-space:nowrap;
    color:rgba(255,255,255,.85);font-size:clamp(1.65rem,3.2vw,3.5rem);font-weight:500;line-height:1.02;letter-spacing:-.045em;
    opacity:1;transform:none;transition:color .4s;
  }
  .home-card-system .use-case-item.is-active{color:#fff;}
  .home-card-system .use-cases-cta{
    align-self:end;display:inline-flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #fff;
    border-radius:var(--ds-control-radius);color:#fff;font-size:.86rem;font-weight:700;text-decoration:none;background:transparent;
  }
  .home-card-system .use-cases-cta:hover{background:#fff;color:#000;border-color:#fff;}

  /* Browser dei format stagionali. */
  .home-card-system .format-rotating-title{display:grid;justify-items:center;gap:.03em;}
  .home-card-system .format-rotating-title-static{display:block;}
  .home-card-system .format-rotating-title-stage{display:grid;place-items:center;width:100%;height:1.08em;overflow:hidden;}
  .home-card-system .format-rotating-title-stage span{
    grid-area:1/1;display:block;white-space:nowrap;will-change:transform,opacity,filter;
    transition:transform .56s cubic-bezier(.16,1,.3,1),opacity .38s ease,filter .48s ease;
  }
  .home-card-system .format-rotating-title-stage span.is-leaving{opacity:0;filter:blur(7px);transform:translateY(-62%);}
  .home-card-system .format-rotating-title-stage span.is-entering{opacity:0;filter:blur(7px);transform:translateY(62%);transition:none;}
  .home-card-system .format-browser{
    display:grid;grid-template-columns:minmax(340px,.84fr) minmax(0,1.16fr);height:700px;min-height:700px;margin-top:52px;
    overflow:hidden;text-align:left;border:1px solid var(--ds-line);border-radius:var(--ds-card-radius);background:#fff;box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .format-menu{display:flex;flex-direction:column;justify-content:center;padding:28px clamp(28px,3.2vw,48px);background:#fff;}
  .home-card-system .format-item{
    appearance:none;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:16px;min-height:76px;padding:18px 0;
    border:0;border-bottom:1px solid var(--ds-line);background:transparent;color:var(--ds-ink);font:600 clamp(1rem,1.45vw,1.25rem)/1.14 var(--sans);
    letter-spacing:-.025em;text-align:left;cursor:pointer;transition:color .35s;
  }
  .home-card-system .format-item:last-child{border-bottom:0;}
  .home-card-system .format-item i{display:grid;place-items:center;width:29px;height:29px;border:1px solid currentColor;border-radius:50%;font-size:13px;font-style:normal;opacity:.35;transition:.35s;}
  .home-card-system .format-item:is(:hover,:focus-visible,.is-active){color:#aa087f;outline:0;}
  .home-card-system .format-item.is-active i{background:var(--magenta);border-color:var(--magenta);color:#111;opacity:1;transform:rotate(45deg);}
  .home-card-system .format-creative{
    --format-accent:#5147e5;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;
    padding:var(--ds-card-pad);overflow:hidden;background:linear-gradient(145deg,#10153c,#5147e5);color:#fff;transition:background .9s cubic-bezier(.16,1,.3,1);
  }
  .home-card-system .format-creative[data-theme="events"]{--format-accent:#fd24bf;background:linear-gradient(145deg,#1535a5,#6a37e6 62%,#fd24bf);}
  .home-card-system .format-creative[data-theme="photo-video"]{--format-accent:#62b8ff;background:linear-gradient(145deg,#071c44,#184eca 62%,#ef3340);}
  .home-card-system .format-creative[data-theme="black-friday"]{--format-accent:#fd24bf;background:linear-gradient(145deg,#050505,#251225 70%,#981173);}
  .home-card-system .format-creative[data-theme="advent"]{--format-accent:#fd24bf;background:linear-gradient(145deg,#741734,#d21b7d 52%,#5534d8);}
  .home-card-system .format-creative[data-theme="valentine"]{--format-accent:#ff5470;background:linear-gradient(145deg,#ef2ba7,#ff7184);}
  .home-card-system .format-creative[data-theme="launch"]{--format-accent:#98c4ff;background:linear-gradient(145deg,#0b0b0d,#243fb7 58%,#19a7f0);}
  .home-card-system .format-creative[data-theme="sanremo"]{--format-accent:#ffdd55;background:linear-gradient(145deg,#168dca,#35c5d1 48%,#ffb53f);}
  .home-card-system .format-creative-meta{display:flex;justify-content:space-between;gap:20px;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
  .home-card-system .format-creative-art{position:absolute;inset:16% 4% 24%;display:grid;place-items:center;transition:opacity .4s,transform .65s cubic-bezier(.16,1,.3,1);}
  .home-card-system .format-creative.is-changing .format-creative-art{opacity:.55;transform:scale(.96);}
  .home-card-system .format-creative-art i{position:absolute;border:1px solid rgba(255,255,255,.4);border-radius:50%;}
  .home-card-system .format-creative-art i:nth-child(1){width:66%;aspect-ratio:1;}
  .home-card-system .format-creative-art i:nth-child(2){width:48%;aspect-ratio:1;box-shadow:0 0 0 44px rgba(255,255,255,.055);}
  .home-card-system .format-creative-art i:nth-child(3){width:20%;aspect-ratio:1;background:var(--format-accent);border:0;filter:blur(1px);}
  .home-card-system .format-creative-word{position:relative;z-index:2;max-width:8ch;text-align:center;font-size:clamp(3.2rem,6vw,6.2rem);line-height:.8;letter-spacing:-.075em;text-transform:uppercase;}
  .home-card-system .format-phone{
    position:absolute;z-index:4;left:50%;top:50%;width:min(47%,230px);aspect-ratio:436/902;
    opacity:0;visibility:hidden;transform:translate3d(-50%,-47%,0) rotate(3deg) scale(.94);
    background:url("../industries/device/iphone-mockup.png") center/contain no-repeat;
    background-image:image-set(
      url("../industries/device/iphone-mockup.avif") type("image/avif"),
      url("../industries/device/iphone-mockup.webp") type("image/webp"),
      url("../industries/device/iphone-mockup.png") type("image/png")
    );
    filter:drop-shadow(0 28px 34px rgba(3,5,18,.28));
    transition:opacity .38s ease,transform .7s cubic-bezier(.16,1,.3,1),visibility 0s linear .7s;
  }
  .home-card-system .format-phone-screen{
    position:absolute;z-index:1;inset:1.8% 4.15%;overflow:hidden;
    border-radius:clamp(22px,8.2%,40px);background:#000;
  }
  .home-card-system .format-phone-screen video,
  .home-card-system .format-phone-screen img{display:block;width:100%;height:100%;object-fit:contain;background:#000;}
  .home-card-system .format-phone::after{
    content:"";position:absolute;z-index:7;left:50%;top:2.9%;width:29.4%;height:4%;
    transform:translateX(-50%);border-radius:999px;background:#020202;pointer-events:none;
  }
  .home-card-system .format-showcase{
    position:absolute;z-index:4;left:50%;top:50%;opacity:0;visibility:hidden;
    transform:translate3d(-50%,-47%,0) scale(.94);pointer-events:none;
    transition:opacity .38s ease,transform .7s cubic-bezier(.16,1,.3,1),visibility 0s linear .7s;
  }
  .home-card-system .format-showcase img{
    display:block;width:100%;height:100%;object-fit:cover;border-radius:18px;
    box-shadow:0 28px 54px rgba(3,5,18,.34);backface-visibility:hidden;
  }
  .home-card-system .format-showcase img.is-contain{object-fit:contain;background:#0d1218;}
  .home-card-system .format-showcase--halloween{top:43%;width:min(68%,360px);aspect-ratio:1;}
  .home-card-system .format-showcase--events,
  .home-card-system .format-showcase--sanremo,
  .home-card-system .format-showcase--launch{top:43%;width:min(58%,310px);aspect-ratio:4/5;}
  .home-card-system .format-media-stack{
    right:4%;top:43%;width:min(58%,390px);height:min(58%,410px);
  }
  .home-card-system .format-media-stack .industry-media-card--square{
    width:min(78%,300px);aspect-ratio:1;
  }
  .home-card-system .format-media-stack .industry-media-card--contain img{
    object-fit:contain;background:#0d1218;
  }
  .home-card-system .format-creative[data-theme="events"] [data-format-stack="events"],
  .home-card-system .format-creative[data-theme="photo-video"] [data-format-stack="photo-video"],
  .home-card-system .format-creative[data-theme="black-friday"] [data-format-stack="black-friday"],
  .home-card-system .format-creative[data-theme="advent"] [data-format-stack="advent"],
  .home-card-system .format-creative[data-theme="valentine"] [data-format-stack="valentine"],
  .home-card-system .format-creative[data-theme="sanremo"] [data-format-stack="sanremo"],
  .home-card-system .format-creative[data-theme="launch"] [data-format-stack="launch"]{
    opacity:1;visibility:visible;transform:translate3d(0,-50%,0) scale(1);
    transition-delay:.12s,0s,0s;
  }
  .home-card-system .format-showcase--events img,
  .home-card-system .format-showcase--sanremo img,
  .home-card-system .format-showcase--launch img{position:absolute;inset:0;}
  .home-card-system .format-showcase--sanremo img:nth-child(2){opacity:0;}
  .home-card-system .format-showcase--events img,
  .home-card-system .format-showcase--launch img{opacity:0;}
  .home-card-system .format-showcase--events img:first-child,
  .home-card-system .format-showcase--launch img:first-child{opacity:1;}
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events,
  .home-card-system .format-creative[data-theme="halloween"] .format-showcase--halloween,
  .home-card-system .format-creative[data-theme="sanremo"] .format-showcase--sanremo,
  .home-card-system .format-creative[data-theme="launch"] .format-showcase--launch{
    opacity:1;visibility:visible;transform:translate3d(-50%,-50%,0) scale(1);transition-delay:.1s,0s,0s;
  }
  .home-card-system .format-creative[data-theme="halloween"] .format-showcase--halloween img{
    animation:formatSoftFloat 7s ease-in-out infinite alternate;
  }
  .home-card-system .format-creative[data-theme="sanremo"] .format-showcase--sanremo img:first-child{
    animation:formatImageFirst 7.2s ease-in-out infinite;
  }
  .home-card-system .format-creative[data-theme="sanremo"] .format-showcase--sanremo img:nth-child(2){
    animation:formatImageSecond 7.2s ease-in-out infinite;
  }
  .home-card-system .format-creative[data-theme="launch"] .format-showcase--launch img{
    animation:formatImageCycle4 8.8s ease-in-out infinite;
  }
  .home-card-system .format-creative[data-theme="launch"] .format-showcase--launch img:nth-child(2){animation-delay:-6.6s;}
  .home-card-system .format-creative[data-theme="launch"] .format-showcase--launch img:nth-child(3){animation-delay:-4.4s;}
  .home-card-system .format-creative[data-theme="launch"] .format-showcase--launch img:nth-child(4){animation-delay:-2.2s;}
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events img{
    animation:formatImageCycle5 11s ease-in-out infinite;
  }
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events img:nth-child(2){animation-delay:-8.8s;}
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events img:nth-child(3){animation-delay:-6.6s;}
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events img:nth-child(4){animation-delay:-4.4s;}
  .home-card-system .format-creative[data-theme="events"] .format-showcase--events img:nth-child(5){animation-delay:-2.2s;}
  @keyframes formatSoftFloat{to{transform:scale(1.025) rotate(-.8deg);}}
  @keyframes formatImageFirst{0%,43%{opacity:1;transform:scale(1)}50%,93%{opacity:0;transform:scale(1.025)}100%{opacity:1;transform:scale(1)}}
  @keyframes formatImageSecond{0%,43%{opacity:0;transform:scale(1.025)}50%,93%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.025)}}
  @keyframes formatImageCycle4{0%,20%{opacity:1;transform:scale(1)}25%,95%{opacity:0;transform:scale(1.025)}100%{opacity:1;transform:scale(1)}}
  @keyframes formatImageCycle5{0%,16%{opacity:1;transform:scale(1)}20%,96%{opacity:0;transform:scale(1.025)}100%{opacity:1;transform:scale(1)}}
  .home-card-system .format-creative[data-theme="valentine"] .format-phone--video{
    left:66%;width:min(52%,250px);opacity:1;visibility:visible;
    transform:translate3d(-50%,-50%,0) rotate(3deg) scale(1);
    transition-delay:.1s,0s,0s;
  }
  .home-card-system .format-creative[data-theme="advent"] .format-phone--image,
  .home-card-system .format-creative[data-theme="advent"] .format-phone--video{
    width:min(40%,190px);opacity:1;visibility:visible;transition-delay:.1s,0s,0s;
  }
  .home-card-system .format-creative[data-theme="advent"] .format-phone--image{
    z-index:3;left:59%;transform:translate3d(-50%,-50%,0) rotate(-5deg) scale(.96);
  }
  .home-card-system .format-creative[data-theme="advent"] .format-phone--video{
    z-index:4;left:78%;transform:translate3d(-50%,-50%,0) rotate(4deg) scale(1);
  }
  .home-card-system .format-creative[data-theme="valentine"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="valentine"] .format-creative-word,
  .home-card-system .format-creative[data-theme="advent"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="advent"] .format-creative-word,
  .home-card-system .format-creative[data-theme="events"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="events"] .format-creative-word,
  .home-card-system .format-creative[data-theme="photo-video"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="photo-video"] .format-creative-word,
  .home-card-system .format-creative[data-theme="black-friday"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="black-friday"] .format-creative-word,
  .home-card-system .format-creative[data-theme="sanremo"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="sanremo"] .format-creative-word,
  .home-card-system .format-creative[data-theme="launch"] .format-creative-art > i,
  .home-card-system .format-creative[data-theme="launch"] .format-creative-word{opacity:0;visibility:hidden;}
  @media (prefers-reduced-motion:reduce){
    .home-card-system .format-showcase img{animation:none!important;}
    .home-card-system .format-showcase--sanremo img:first-child{opacity:1;transform:none;}
    .home-card-system .format-showcase--sanremo img:nth-child(2){opacity:0;transform:none;}
  }
  .home-card-system .format-creative-footer{position:relative;z-index:3;display:flex;align-items:end;justify-content:space-between;gap:28px;}
  .home-card-system .format-creative-footer h3{max-width:13ch;font-size:clamp(2rem,3.7vw,3.6rem);line-height:.92;letter-spacing:-.055em;}
  .home-card-system .format-creative-description{max-width:460px;margin-top:12px;font-size:.92rem;line-height:1.45;color:rgba(255,255,255,.82);}
  .home-card-system .format-creative-actions{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:20px;}
  .home-card-system .format-creative-link{flex:none;display:inline-flex;align-items:center;gap:10px;padding:14px 18px;border-radius:var(--ds-control-radius);background:#fff;color:#111;font-size:.86rem;font-weight:700;text-decoration:none;transition:background .2s ease,color .2s ease,transform .2s ease;}
  .home-card-system .format-creative-link:is(:hover,:focus-visible){background:#000;color:#fff;transform:none;outline:0;}
  .home-card-system .format-demo-link{flex:none;display:inline-flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid transparent;border-radius:var(--ds-control-radius);background:transparent;color:#fff;font-size:.86rem;font-weight:700;text-decoration:none;transition:border-color .2s ease;}
  .home-card-system .format-demo-link:is(:hover,:focus-visible){border-color:#fff;outline:0;}

  /* Sezione di fiducia intenzionalmente nera. */
  .home-card-system .security{
    position:relative;overflow:hidden;border-radius:var(--ds-section-radius);background:#000;color:#fff;
  }
  .home-card-system .security::after{content:none;}
  .home-card-system .security-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr);align-items:center;gap:clamp(54px,8vw,120px);}
  .home-card-system .security .h2{max-width:none;color:#fff;}
  .home-card-system .security .h2 span{white-space:nowrap;}
  .home-card-system .security .lead{max-width:780px;color:#fff;opacity:.78;}
  .home-card-system .security-trust{
    align-self:stretch;display:grid;grid-template-rows:1fr auto 1fr;min-width:0;
  }
  .home-card-system .security-link{
    grid-row:3;align-self:end;justify-self:end;display:inline-flex;align-items:center;gap:12px;margin-top:0;padding:14px 18px;
    transform:translateY(18px);
    border:1px solid #fff;border-radius:var(--ds-control-radius);background:transparent;color:#fff;
    font-size:.95rem;font-weight:700;text-decoration:none;transition:background .25s ease,color .25s ease;
  }
  .home-card-system .security-link:is(:hover,:focus-visible){background:#fff;color:#000;outline:0;}
  .home-card-system .security-badges{grid-row:2;align-self:center;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;width:100%;gap:clamp(22px,3vw,42px);}
  .home-card-system .security-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-width:0;text-align:center;}
  .home-card-system .security-badge-logo{display:grid;place-items:center;width:118px;height:118px;flex:0 0 118px;border-radius:50%;overflow:hidden;}
  .home-card-system .security-badge-logo img{display:block;width:100%;height:100%;object-fit:contain;}
  .home-card-system .security-badge-logo--iso{width:118px;background:transparent;clip-path:none;overflow:visible;}
  .home-card-system .security-badge-logo--iso img{object-fit:contain;}
  .home-card-system .security-badge-logo--eu{padding:0;background:transparent;}
  .home-card-system .security-badge-logo--eu img{filter:invert(1);}
  .home-card-system .security-badge-logo--uk{background:#092248;clip-path:circle(49.5%);}
  .home-card-system .security-badge-logo--uk img{object-fit:cover;transform:scale(1.015);}
  .home-card-system .security-badge small{font-size:.72rem;color:rgba(255,255,255,.68);}

  .home-card-system .pt-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .home-card-system .pt:nth-child(4){background:var(--ds-lilac);border-color:transparent;box-shadow:none;}
  .home-card-system .partner-logo-placeholder{display:flex;align-items:center;gap:12px;margin-top:auto;padding:14px;border:1px dashed rgba(11,11,13,.25);border-radius:14px;background:rgba(255,255,255,.55);}
  .home-card-system .partner-logo-placeholder span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#777;font-size:.62rem;text-transform:uppercase;}
  .home-card-system .partner-logo-placeholder strong{font-size:1rem;}
  .home-card-system .partnership-panel{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:52px;overflow:hidden;
    text-align:left;border:1px solid var(--ds-line);border-radius:var(--ds-card-radius);background:#fff;box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .partnership-item{
    display:flex;flex-direction:column;min-width:0;min-height:350px;padding:clamp(26px,2.5vw,38px);
    border-right:1px solid var(--ds-line);background:#fff;
  }
  .home-card-system .partnership-item:last-child{border-right:0;}
  .home-card-system .partnership-logo{display:flex;align-items:center;height:88px;margin-bottom:28px;}
  .home-card-system .partnership-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:74px;object-fit:contain;object-position:left center;}
  .home-card-system .partnership-item--meta .partnership-logo img{max-width:210px;}
  .home-card-system .partnership-item--iab .partnership-logo img{max-width:104px;}
  .home-card-system .partnership-item--manychat .partnership-logo img{max-width:114px;}
  .home-card-system .partnership-item--assoconcorsi .partnership-logo img{max-width:220px;}
  .home-card-system .partnership-item p{font-family:var(--serif);font-size:17px;font-weight:300;line-height:1.45;color:#000;}

  @media (max-width:1000px){
    .home-card-system .partnership-panel{grid-template-columns:repeat(2,minmax(0,1fr));}
    .home-card-system .partnership-item{min-height:320px;border-bottom:1px solid var(--ds-line);}
    .home-card-system .partnership-item:nth-child(2n){border-right:0;}
    .home-card-system .partnership-item:nth-last-child(-n+2){border-bottom:0;}
  }

  /* Rimando alla pagina agenzie. Non e' una sezione piena ma un ponte fra
     Partnership e la CTA finale: una riga sola, copy a sinistra e comando a
     destra. Fondo Radiant per staccarla dal bianco senza rubare la scena
     al blocco finale. */
  /* lo stacco sotto lo porta gia' il blocco finale: qui serve solo pareggiare
     i 48px che la fascia ha sopra, verso Partnership */
  .home-card-system .agency-cta{padding:0 26px;background:var(--ds-white);}
  .home-card-system .agency-panel{
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:clamp(20px,2.6vw,40px);
    padding:clamp(28px,3.2vw,46px) clamp(28px,3.4vw,52px);text-align:left;
    border:1px solid var(--ds-line);border-radius:var(--ds-card-radius);
    background:var(--ds-radiant);box-shadow:var(--ds-card-shadow);
  }
  .home-card-system .agency-copy{min-width:0;max-width:64ch;}
  .home-card-system .agency-copy h2{margin:0;font-size:clamp(1.7rem,2.4vw,2.4rem);line-height:1.04;letter-spacing:-.04em;}
  .home-card-system .agency-copy p{margin-top:12px;font-family:var(--serif);font-size:17px;font-weight:300;line-height:1.45;color:#000;}
  .home-card-system .agency-cta .btn{flex:0 0 auto;}
  @media (max-width:720px){
    .home-card-system .agency-panel{align-items:flex-start;}
    .home-card-system .agency-cta .btn{width:100%;justify-content:center;}
  }

  /* CTA e footer diventano un’unica transizione narrativa. */
  .home-card-system .footer-reveal-stack{
    --footer-reveal-progress:0;--footer-reveal-curtain:0%;--footer-reveal-mask:100%;position:relative;height:190svh;
    background:var(--footer);isolation:isolate;
  }
  .home-card-system .footer-reveal-stage{
    position:sticky;top:0;height:100svh;overflow:hidden;background:var(--footer);
  }
  .home-card-system .footer-reveal-stage::before{
    content:"";position:absolute;z-index:2;inset:0 0 auto;height:var(--ds-section-radius);
    background:var(--ds-white);opacity:calc(1 - var(--footer-reveal-progress));pointer-events:none;
  }
  .home-card-system .footer-reveal-stage::after{
    content:"";position:absolute;z-index:0;inset:0;background:var(--footer);pointer-events:none;
    clip-path:inset(calc(var(--footer-reveal-mask) - var(--ds-section-radius)) 0 0);
  }
  .home-card-system .footer-reveal-stage > .final,
  .home-card-system .footer-reveal-stage > footer{position:absolute;inset:0;}
  .home-card-system .footer-reveal-stage > footer{
    z-index:1;display:flex;flex-direction:column;justify-content:center;overflow:auto;
  }
  .home-card-system .footer-reveal-stage > .final{
    z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;
    min-height:100%;background-color:var(--indigo);background-image:var(--ds-gradient-official);
    overflow:hidden;border-radius:var(--ds-section-radius);background-clip:padding-box;
    background-position:center;background-size:100% 100%;transform:translateY(var(--footer-reveal-curtain));
    box-shadow:0 36px 90px rgba(11,11,13,.24);will-change:transform;
  }
  .home-card-system .footer-reveal-stage > .final p{color:#fff;opacity:.96;}
  .home-card-system .footer-reveal-stage > footer .foot-desc{color:#a8a8a8;}

  /* Il sipario regge solo finche' il footer ci sta in una schermata: lo stage
     e' alto 100svh e il footer dentro e' in posizione assoluta. Quando il
     footer cresce (o lo schermo e' basso) la pagina passa da sola al footer
     impilato, con la stessa comparsa morbida del mobile. La classe la mette
     webing-homepage.js misurando l'altezza vera del footer. 13/10. */
  /* il blocco finale ha gli angoli stondati: senza fondo dietro si vedeva il
     bianco della pagina nelle rientranze. Qui il fondo torna quello del footer
     e il margine negativo del sipario viene annullato. 14/10. */
  .home-card-system .footer-reveal-stack.is-piatto{height:auto;margin-top:48px;background:transparent;}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage{position:relative;background:transparent;}
  /* il fondo scuro parte sotto gli angoli alti del blocco finale: cosi' quelli
     restano sul colore della sezione precedente e quelli bassi non mostrano
     il bianco della pagina */
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage::before{
    /* height:auto serve: la regola base fissa l'altezza al solo raggio e
       altrimenti bottom:0 resta inerte, lasciando bianchi gli angoli bassi */
    content:"";display:block;position:absolute;z-index:0;left:0;right:0;
    top:var(--ds-section-radius);bottom:0;height:auto;opacity:1;
    background:var(--footer);}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage{
    position:relative;display:flex;flex-direction:column;height:auto;overflow:visible;}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage::after{content:none;}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage > .final,
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage > footer{position:relative;inset:auto;}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage > .final{min-height:72svh;order:1;transform:none;}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage > footer{
    order:2;overflow:visible;opacity:0;clip-path:inset(12% 0 0);transform:translateY(70px);
    transition:opacity .8s cubic-bezier(.16,1,.3,1),clip-path .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1);}
  .home-card-system .footer-reveal-stack.is-piatto .footer-reveal-stage > footer.is-visible{
    opacity:1;clip-path:inset(0);transform:none;}

  @media (prefers-reduced-motion:reduce){
    .home-card-system .data-story-scroll-scene{height:auto;min-height:0;}
    .home-card-system .data-story-scroll-stage{position:relative;top:auto;height:auto;min-height:0;}
    .home-card-system .data-story-main{position:relative;opacity:1;transform:none;}
    .home-card-system .data-story-copy,
    .home-card-system .data-story-stage{opacity:1;transform:none;transition:none;}
    .home-card-system .dashboard-reveal-group{position:relative;top:auto;margin-top:0;opacity:1;transform:none;}
    .home-card-system .data-story-close,
    .home-card-system .dashboard-full-reveal{opacity:1;transform:none;will-change:auto;}
    .home-card-system .dashboard-demo .dash-kpi-card{opacity:1;transform:none;animation:none!important;}
    .home-card-system .dashboard-demo .dash-chart-line,
    .home-card-system .dashboard-demo .dash-spark-line{stroke-dashoffset:0;animation:none!important;}
    .home-card-system .dashboard-demo .dash-progress i,
    .home-card-system .dashboard-demo .dash-bottom-grid i b{transform:scaleX(1);animation:none!important;}
    .home-card-system .data-story-copy-item,
    .home-card-system .data-story-visual,
    .home-card-system .data-story-art .line{transition:none!important;animation:none!important;}
    .home-card-system .brand-positioning-proof .expert-avatar,
    .home-card-system .brand-positioning-proof .webingplus-mark{
      opacity:var(--expert-opacity,1);filter:none;
      transform:translate3d(0,0,0) scale(1) rotate(var(--expert-rotate,0deg));animation:none!important;
    }
    .home-card-system .brand-positioning-proof .webingplus-mark{display:flex;}
    .home-card-system .industry-media-card{transition:none!important;}
    .home-card-system .industry-media-card:not([data-stack-position="0"]),
    .home-card-system .industry-media-progress{display:none;}
    .home-card-system .footer-reveal-stack{height:auto;}
    .home-card-system .footer-reveal-stage{position:relative;display:flex;flex-direction:column;height:auto;overflow:visible;}
    .home-card-system .footer-reveal-stage > .final,
    .home-card-system .footer-reveal-stage > footer{position:relative;inset:auto;transform:none;}
    .home-card-system .footer-reveal-stage > .final{min-height:70svh;order:1;}
    .home-card-system .footer-reveal-stage > footer{order:2;}
  }

  @media (max-width:1080px){
    .home-card-system .brand-positioning-grid{grid-template-columns:1fr;gap:40px;}
    .home-card-system .brand-positioning-proof{max-width:620px;}
    .home-card-system .gw-grid{grid-template-columns:1fr;}
    .home-card-system .gw-copy-card,
    .home-card-system .gw-creative-card{min-height:560px;}
    .home-card-system .industry-browser{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);height:780px;}
    .home-card-system .industry-menu{--industry-row-height:78px;--industry-active-height:176px;}
  }
  @media (max-width:820px){
    .home-card-system .data-story-main{grid-template-columns:1fr;}
    .home-card-system .industry-browser{grid-template-columns:1fr;height:auto;min-height:0;}
    .home-card-system .industry-menu{
      --industry-row-height:72px;--industry-active-height:168px;
      height:660px;justify-content:center;padding:18px 28px;
    }
    .home-card-system .industry-creative{min-height:560px;}
    .home-card-system .footer-reveal-stack{height:auto;}
    .home-card-system .footer-reveal-stage{position:relative;display:flex;flex-direction:column;height:auto;overflow:visible;}
    .home-card-system .footer-reveal-stage > .final,
    .home-card-system .footer-reveal-stage > footer{position:relative;inset:auto;}
    .home-card-system .footer-reveal-stage > .final{min-height:72svh;order:1;transform:none;}
    .home-card-system .footer-reveal-stage > footer{
      order:2;opacity:0;clip-path:inset(12% 0 0);transform:translateY(70px);
      transition:opacity .8s cubic-bezier(.16,1,.3,1),clip-path .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1);
    }
    .home-card-system .footer-reveal-stage > footer.is-visible{opacity:1;clip-path:inset(0);transform:none;}
  }
  @media (max-width:1080px){
    /* una colonna sola: le fisarmoniche prendono tutta la larghezza */
    .foot-grid{grid-template-columns:1fr;gap:0;}
    .foot-grid > .footer-about{margin-bottom:26px;max-width:620px;}
  }

  @media (max-width:640px){
    .home-card-system{--ds-card-radius:24px;}
    .home-card-system .brand-positioning .h2{font-size:clamp(1.9rem,9vw,2.5rem);}
    .home-card-system .brand-positioning .lead{font-size:19px;}
    .home-card-system .data-story{padding:0;}
    .home-card-system .data-story-copy{padding:20px;border-radius:24px;}
    .home-card-system .data-story-copy-stack{min-height:135px;}
    .home-card-system .data-story-copy-item h3{font-size:1.75rem;}
    .home-card-system .data-story-copy-item p{margin-top:12px;font-size:.92rem;line-height:1.32;}
    .home-card-system .data-story-stage{border-radius:24px;}
    .home-card-system .why,
    .home-card-system .kpi-cell,
    .home-card-system .phase,
    .home-card-system .fmt,
    .home-card-system .story,
    .home-card-system .pt{min-height:390px;}
    .home-card-system .gw-copy-card,
    .home-card-system .gw-creative-card{min-height:480px;}
    .home-card-system .why .ic{margin-bottom:48px;}
    .home-card-system .why-row{grid-template-columns:1fr;}
    .home-card-system .why-row .why{order:1!important;}
    .home-card-system .industry-menu{
      --industry-row-height:82px;--industry-active-height:190px;height:700px;
    }
    .home-card-system .why-row .why-creative-card{order:2!important;}
    .home-card-system .why-creative-card{min-height:390px;}
    .home-card-system .industry-browser{margin-top:38px;}
    .home-card-system .industry-item{grid-template-columns:28px minmax(0,1fr) 26px;gap:12px;padding:15px 0;}
    .home-card-system .industry-item.is-active{padding-block:18px 20px;}
    .home-card-system .industry-item-description{font-size:.86rem;}
    .home-card-system .industry-creative{min-height:500px;padding:28px;}
    .home-card-system .industry-device{left:64%;top:40%;width:50%;}
    .home-card-system .industry-media-stack{right:8%;top:40%;width:min(55%,230px);}
    .home-card-system .industry-media-stack--automotive{right:5%;top:41%;width:min(74%,330px);}
    .home-card-system .industry-media-stack--device{right:8%;top:41%;width:min(44%,190px);}
    .home-card-system .industry-creative-footer{align-items:flex-start;flex-direction:column;}
    .home-card-system .industry-creative-actions{width:100%;flex-direction:column;align-items:stretch;gap:6px;}
    .home-card-system .industry-creative-title,
    .home-card-system .industry-creative:is([data-theme="beauty"],[data-theme="retail"],[data-theme="food"],[data-theme="fashion"],[data-theme="energy"],[data-theme="finance"]) .industry-creative-title{max-width:12ch;}
    .home-card-system .industry-creative-link{width:100%;justify-content:center;}
    .home-card-system .industry-demo-link{justify-content:center;}
    .home-card-system .btn{width:100%;}
    .home-card-system .kpi-cell :is(h3,h4),
    .home-card-system .kpi-cell p{min-height:0;}
  }
  @media (max-width:480px){
    .home-card-system .expert-cloud{width:min(320px,100%);height:206px;}
    .home-card-system .expert-avatar--back,
    .home-card-system .expert-avatar--front{width:60px;height:60px;}
    .home-card-system .expert-avatar--1{top:0;left:130px;}
    .home-card-system .expert-avatar--2{top:37px;left:193px;}
    .home-card-system .expert-avatar--3{top:109px;left:193px;}
    .home-card-system .expert-avatar--4{top:146px;left:130px;}
    .home-card-system .expert-avatar--5{top:109px;left:67px;}
    .home-card-system .expert-avatar--6{top:37px;left:67px;}
    .home-card-system .webingplus-mark{top:61px;left:118px;width:85px;height:85px;}
  }

  @media (max-width:1040px){
    .home-card-system .why-integrated-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .home-card-system .why-integrated-card{min-height:0;}
    .home-card-system .why-integrated-copy{padding:28px;}
    .home-card-system .why-integrated-copy p{font-size:16px;}
    .home-card-system .use-cases-layout{grid-template-columns:130px minmax(0,1fr);gap:34px;}
    .home-card-system .use-cases-cta{grid-column:2;justify-self:start;align-self:start;}
    .home-card-system .security-grid{grid-template-columns:1fr;align-items:start;}
    .home-card-system .security-trust{min-height:320px;}
    .home-card-system .security-badges{max-width:720px;}
  }

  @media (max-width:820px){
    .home-card-system .why-integrated-grid{grid-template-columns:1fr;}
    .home-card-system .why-integrated-card{display:flex;min-height:0;}
    .home-card-system .why-integrated-copy{min-height:0;}
    .home-card-system .why-integrated-copy h3{min-height:0;}
    .home-card-system .why-integrated-creative{min-height:0;}
    .home-card-system .format-browser{grid-template-columns:1fr;height:auto;min-height:0;}
    .home-card-system .format-menu{padding:20px 28px;}
    .home-card-system .format-item{min-height:68px;}
    .home-card-system .format-creative{min-height:620px;}
    .home-card-system .pt-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  }

  @media (max-width:640px){
    .home-card-system .use-cases-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:0;padding-bottom:0;gap:24px;}
    .home-card-system .use-cases-label{max-width:180px;font-size:1.05rem;}
    .home-card-system .use-cases-list{--use-case-row:48px;height:calc(var(--use-case-row) * 5);}
    .home-card-system .use-case-item{font-size:clamp(1.18rem,5.4vw,1.7rem);line-height:1.08;}
    .home-card-system .use-cases-cta{align-self:flex-start;}
    .home-card-system .why-integrated-card{display:flex;min-height:0;}
    .home-card-system .why-integrated-copy,.home-card-system .why-integrated-creative{min-height:0;}
    .home-card-system .phase :is(h3,h4),
    .home-card-system .phase p{min-height:0;}
    .home-card-system .format-browser{margin-top:38px;}
    .home-card-system .format-menu{padding:16px 24px;}
    .home-card-system .format-item{min-height:76px;font-size:1rem;}
    .home-card-system .format-rotating-title-stage{font-size:clamp(.86em,8.4vw,1em);}
    .home-card-system .format-creative{min-height:540px;padding:28px;}
    .home-card-system .format-showcase--halloween{top:44%;width:min(64vw,250px);}
    .home-card-system .format-showcase--events,
    .home-card-system .format-showcase--sanremo,
    .home-card-system .format-showcase--launch{top:43%;width:min(56vw,220px);}
    .home-card-system .format-media-stack{right:4%;top:28%;width:min(68%,240px);height:min(50%,290px);}
    .home-card-system .format-creative-footer{align-items:flex-start;flex-direction:column;}
    .home-card-system .format-creative-actions{width:100%;flex-direction:column;align-items:stretch;gap:6px;}
    .home-card-system .format-creative-link{width:100%;justify-content:center;}
    .home-card-system .format-demo-link{justify-content:center;}
    .home-card-system .security-badges{grid-template-columns:1fr;}
    .home-card-system .security-badge{min-height:150px;}
    .home-card-system .security .h2{font-size:clamp(1.72rem,7.5vw,1.84rem);}
    .home-card-system .pt-grid{grid-template-columns:1fr;}
    .home-card-system .partnership-panel{grid-template-columns:1fr;}
    .home-card-system .partnership-item{min-height:0;border-right:0;border-bottom:1px solid var(--ds-line);}
    .home-card-system .partnership-item:nth-last-child(2){border-bottom:1px solid var(--ds-line);}
    .home-card-system .partnership-item:last-child{border-bottom:0;}
  }

  /* Demo request: esperienza full-screen editoriale. */
  .demo-form-panel{
    position:fixed;top:0;left:0;display:grid;grid-template-columns:1fr 1fr;
    width:100vw;height:100svh;padding:0;border:0;border-radius:0;overflow:hidden;
    background:#050505;box-shadow:none;opacity:1;visibility:hidden;
    clip-path:inset(0 0 0 100%);transform:none;pointer-events:none;
    transition:clip-path .82s cubic-bezier(.76,0,.24,1),visibility 0s linear .82s;
  }
  .demo-form-panel.is-demo-ready{
    opacity:1;visibility:visible;clip-path:inset(0);transform:none;pointer-events:auto;
    transition:clip-path .82s cubic-bezier(.76,0,.24,1),visibility 0s;
  }
  .demo-form-intro{
    position:relative;grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;
    min-width:0;height:100%;margin:0;padding:clamp(54px,7vw,110px);overflow:hidden;background:#050505;color:#fff;
  }
  .demo-form-intro::before{
    content:"";position:absolute;left:0;top:10%;bottom:10%;width:1px;
    background:linear-gradient(transparent,rgba(255,255,255,.28),transparent);pointer-events:none;
  }
  .demo-form-head{position:relative;z-index:1;display:block;}
  .demo-form-intro h2{max-width:none;font-size:clamp(36px,3.7vw,56px);line-height:1.02;color:#fff;}
  .demo-form-intro h2 span{display:block;white-space:nowrap;}
  .demo-form-intro p{position:relative;z-index:1;max-width:38ch;margin-top:30px;font:300 18px/1.55 var(--serif);color:#fff;}
  .demo-form-close{
    position:fixed;top:28px;right:28px;z-index:10;border-color:rgba(255,255,255,.38);background:#050505;color:#fff;
  }
  .demo-form{
    grid-column:1;grid-row:1;display:grid;grid-template-columns:1fr;align-content:center;gap:16px;
    min-width:0;width:100%;height:100%;padding:clamp(54px,7vw,110px);background:#fff;
  }
  .demo-form-panel .demo-form,
  .demo-form-panel .demo-form-intro h2,
  .demo-form-panel .demo-form-intro p{opacity:0;transform:translateY(28px);transition:opacity .42s ease,transform .7s cubic-bezier(.16,1,.3,1);}
  .demo-form-panel.is-demo-ready .demo-form{opacity:1;transform:none;transition-delay:.28s;}
  .demo-form-panel.is-demo-ready .demo-form-intro h2{opacity:1;transform:none;transition-delay:.38s;}
  .demo-form-panel.is-demo-ready .demo-form-intro p{opacity:1;transform:none;transition-delay:.48s;}
  .demo-field,.demo-schedule,.demo-consent,.demo-form-actions,.demo-form-status{grid-column:1;}
  .demo-field > span,.demo-schedule .demo-field > span{
    position:static;display:block;width:auto;height:auto;margin:0 0 8px;padding:0;overflow:visible;clip:auto;
    white-space:normal;border:0;font:700 13px/1.3 var(--sans);letter-spacing:0;color:#282b30;
  }
  .demo-field input,.demo-field textarea,.demo-field select,.demo-date-trigger{
    border:0;border-bottom:1px solid rgba(11,11,13,.26);border-radius:0;background:transparent;
    padding:7px 0 10px;font:300 15px/1.35 var(--serif);box-shadow:none;
  }
  .demo-field input,.demo-field select,.demo-date-trigger{min-height:40px;}
  .demo-field textarea{min-height:62px;}
  .demo-field input:focus,.demo-field textarea:focus,.demo-field select:focus,
  .demo-date-trigger:hover,.demo-date-trigger[aria-expanded="true"]{
    border-color:var(--magenta);box-shadow:none;
  }
  .demo-field select{background-position:calc(100% - 7px) 17px,calc(100% - 2px) 17px;}
  .demo-schedule{grid-template-columns:1.18fr .82fr;gap:20px;}
  .demo-schedule .demo-field:first-child{position:static;}
  .demo-date-trigger{padding-right:2px;}
  .demo-calendar{
    top:50%;left:25%;width:min(360px,82vw);transform:translate(-50%,-47%) scale(.98);transform-origin:50% 50%;
  }
  .demo-calendar.is-open{transform:translate(-50%,-50%) scale(1);}
  .demo-consent{margin-top:2px;font-size:11.5px;line-height:1.4;color:#444;}
  .demo-form-actions{display:flex;align-items:center;gap:14px;margin-top:2px;}
  .demo-form .demo-form-actions .btn{grid-column:auto;flex:0 0 auto;min-width:132px;justify-self:auto;}
  .demo-email-link{
    display:inline-flex;align-items:center;gap:7px;padding:11px 13px;border:1px solid transparent;border-radius:999px;
    color:var(--ink);font:700 12px/1.2 var(--sans);text-decoration:none;white-space:nowrap;transition:.22s ease;
  }
  .demo-email-link span{color:var(--magenta);font-size:15px;transition:transform .22s ease;}
  .demo-email-link:hover{border-color:var(--ink);}
  .demo-email-link:hover span{transform:translate(2px,-2px);}
  .demo-form-status{align-self:start;font-size:12px;}

  @media (max-width:760px){
    .demo-form-panel{
      top:0;display:flex;flex-direction:column;width:100vw;height:100svh;overflow:auto;border-radius:0;
    }
    /* la testata nera prendeva quasi tutto lo schermo prima del form:
       titolo piu' piccolo, meno aria sopra, sottotitolo stretto. 14/10. */
    .demo-form-intro{order:1;flex:none;display:block;height:auto;min-height:0;padding:52px 22px 22px;}
    .demo-form-intro::before{display:none;}
    .demo-form-intro h2{max-width:none;font-size:clamp(23px,6.2vw,29px);line-height:1.06;}
    .demo-form-intro p{max-width:34ch;margin-top:9px;font-size:13.5px;line-height:1.36;}
    .demo-form-close{position:fixed;top:14px;right:14px;width:34px;height:34px;}
    .demo-form{order:2;flex:none;height:auto;padding:24px 22px 32px;gap:14px;}
    .demo-schedule{grid-template-columns:1fr 1fr;gap:14px;}
    .demo-form-actions{align-items:flex-start;flex-direction:column;gap:3px;}
    .demo-form .demo-form-actions .btn{width:auto!important;min-width:132px;}
    .demo-email-link{margin-left:-13px;}
    .demo-calendar{position:fixed;top:50%;left:50%;width:calc(100% - 32px);transform:translate(-50%,-46%) scale(.98);transform-origin:50% 50%;}
    .demo-calendar.is-open{transform:translate(-50%,-50%) scale(1);}
  }

  @media (prefers-reduced-motion:reduce){
    .demo-form-panel,.demo-form-panel .demo-form,
    .demo-form-panel .demo-form-intro h2,.demo-form-panel .demo-form-intro p{transition:none!important;}
  }

  /* CTA finale: copy compatto + selezione di campagne in movimento. */
  .home-card-system .footer-reveal-stage > .final{padding:clamp(32px,4vw,52px);text-align:left;}
  .home-card-system .final-inner{
    display:grid;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);align-items:center;
    gap:clamp(42px,7vw,108px);width:min(90%,1180px);margin:auto;
  }
  .home-card-system .final-copy{position:relative;z-index:2;}
  .home-card-system .final h2{max-width:10ch;font-size:clamp(44px,5.2vw,68px);line-height:.98;}
  .home-card-system .final p{max-width:500px;margin:26px 0 34px;font-size:clamp(17px,1.5vw,20px);line-height:1.5;}
  .home-card-system .final .btn{width:auto;}
  .home-card-system .final-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
  .home-card-system .final-email-link{
    display:inline-flex;align-items:center;gap:8px;min-height:54px;padding:14px 16px;
    border:1px solid transparent;border-radius:var(--ds-control-radius);color:#fff;
    font-size:.88rem;font-weight:700;text-decoration:none;transition:border-color .2s ease;
  }
  .home-card-system .final-email-link:is(:hover,:focus-visible){border-color:#fff;outline:0;}
  .home-card-system .final-creative{position:relative;min-height:min(43vh,370px);perspective:1200px;}
  .home-card-system .final-creative-card,.home-card-system .final-creative-frame{
    position:absolute;top:50%;left:50%;overflow:hidden;border:1px solid rgba(255,255,255,.46);
    border-radius:28px;background:#111;box-shadow:0 34px 80px rgba(10,5,35,.34);
  }
  .home-card-system .final-creative-card img,.home-card-system .final-creative-frame img{
    display:block;width:100%;height:100%;object-fit:cover;
  }
  .home-card-system .final-creative-card--back{width:min(38%,220px);aspect-ratio:4/5;opacity:.78;filter:saturate(.88);}
  .home-card-system .final-creative-card--left{transform:translate(-112%,-48%) rotate(-9deg);}
  .home-card-system .final-creative-card--right{transform:translate(12%,-52%) rotate(9deg);}
  .home-card-system .final-creative-frame{
    z-index:2;width:min(52%,300px);aspect-ratio:4/5;transform:translate(-50%,-50%) rotate(-1deg);
    box-shadow:0 42px 96px rgba(10,5,35,.46);
  }
  .home-card-system .final-creative-frame img{position:absolute;inset:0;opacity:0;transform:scale(1.045);animation:final-creative-cycle 12s ease-in-out infinite;}
  .home-card-system .final-creative-frame img:nth-child(2){animation-delay:4s;}
  .home-card-system .final-creative-frame img:nth-child(3){animation-delay:8s;}
  @keyframes final-creative-cycle{
    0%{opacity:0;transform:scale(1.06);}
    7%,28%{opacity:1;transform:scale(1);}
    35%,100%{opacity:0;transform:scale(.985);}
  }

  @media (min-width:821px){
    .home-card-system .footer-reveal-stack{
      height:150svh;margin-top:calc(48px - 26svh);background:transparent;
    }
    .home-card-system .footer-reveal-stage{
      position:sticky;top:0;display:block;height:100svh;overflow:hidden;background:transparent;
    }
    .home-card-system .footer-reveal-stage::before{display:none;}
    .home-card-system .footer-reveal-stage > .final,
    .home-card-system .footer-reveal-stage > footer{position:absolute;inset:0;}
    .home-card-system .footer-reveal-stage > .final{
      inset:26svh 0 0;min-height:0;margin:0;border-radius:clamp(34px,4vw,58px);box-shadow:none;
    }
    .home-card-system .footer-reveal-stage > footer{
      opacity:1;clip-path:inset(var(--footer-reveal-mask) 0 0);
    }
  }

  @media (max-width:820px){
    .home-card-system .footer-reveal-stack{margin-top:48px;}
    .home-card-system .footer-reveal-stage > .final{padding:58px 26px;}
    .home-card-system .final-inner{grid-template-columns:1fr;gap:34px;width:min(100%,620px);text-align:center;}
    .home-card-system .final h2{max-width:none;font-size:clamp(39px,10vw,58px);}
    .home-card-system .final p{margin:18px auto 26px;font-size:17px;}
    .home-card-system .final-actions{justify-content:center;}
    .home-card-system .final-creative{min-height:330px;}
    .home-card-system .final-creative-frame{width:min(44vw,210px);border-radius:22px;}
    .home-card-system .final-creative-card--back{width:min(32vw,160px);border-radius:20px;}
  }

  @media (prefers-reduced-motion:reduce){
    .home-card-system .final-creative-frame img{animation:none;opacity:0;transform:none;}
    .home-card-system .final-creative-frame img:first-child{opacity:1;}
  }

  /* ================= FOOTER REVEAL — MODALITÀ SEMPLICE (core pages) =================
     Il wrapper .footer-reveal-stack ha due modalità:
     - tendina (default, homepage): stage con .final + footer sovrapposti, non toccata da queste regole.
     - "simple": data-footer-reveal="simple" esplicito, oppure lo stage non contiene più una .final diretta
       (CTA finale spostata altrove nel DOM, come nel nuovo ordine contenuto → CTA → FAQ → footer).
     In modalità simple il footer riceve solo dissolvenza + leggero sollevamento quando entra in vista,
     a qualsiasi larghezza, indipendentemente da cosa lo precede. Le regole sotto hanno specificità più alta
     di quelle sopra (tendina) e vengono dichiarate per ultime, quindi vincono solo quando la condizione
     [data-footer-reveal="simple"] / :not(:has(.final)) è vera: la homepage non è influenzata. */
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"],
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)){
    height:auto;margin-top:0;background:transparent;isolation:auto;
  }
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage,
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage{
    position:relative;top:auto;display:block;height:auto;overflow:visible;background:transparent;
  }
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage::before,
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage::before,
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage::after,
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage::after{
    content:none;
  }
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage > footer,
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage > footer{
    position:relative;inset:auto;z-index:auto;opacity:0;transform:translateY(56px);overflow:visible;
    transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1);
    will-change:opacity,transform;
  }
  .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage > footer.is-visible,
  .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage > footer.is-visible{
    opacity:1;transform:none;
  }
  @media (prefers-reduced-motion:reduce){
    .home-card-system .footer-reveal-stack[data-footer-reveal="simple"] .footer-reveal-stage > footer,
    .home-card-system .footer-reveal-stack:not([data-footer-reveal="curtain"]):not(:has(.footer-reveal-stage > .final)) .footer-reveal-stage > footer{
      opacity:1;transform:none;transition:none;
    }
  }

  /* ================= COOKIE CONSENT ================= */
  body.cookie-preferences-open{overflow:hidden;}
  .cookie-banner{
    position:fixed;z-index:120;right:18px;bottom:18px;left:auto;display:grid;
    grid-template-columns:1fr;align-items:center;gap:16px;width:min(540px,calc(100% - 36px));
    margin:0;padding:18px 20px;border:1px solid rgba(11,11,13,.1);border-radius:20px;
    background:rgba(255,255,255,.96);box-shadow:0 24px 72px rgba(3,5,16,.18);
    backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);
    opacity:0;transform:translateY(18px);transition:opacity .28s ease,transform .5s cubic-bezier(.16,1,.3,1);
  }
  .cookie-banner[hidden]{display:none;}
  .cookie-banner.is-visible{opacity:1;transform:none;}
  .cookie-banner__copy{display:block;padding-right:20px;}
  .cookie-banner h2,.cookie-preferences h2{margin:0;font:800 17px/1.2 var(--sans);letter-spacing:-.02em;}
  .cookie-banner p{max-width:680px;margin:5px 0 0;color:#303238;font:300 13.5px/1.5 var(--serif);}
  .cookie-banner p a{display:inline;color:inherit;text-decoration:underline;text-underline-offset:3px;}
  .cookie-banner__actions,.cookie-preferences__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;}
  .cookie-banner__actions{justify-content:stretch;}
  .cookie-banner__actions .cookie-action{flex:1;}
  .cookie-action{min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink);font:700 12.5px/1 var(--sans);cursor:pointer;white-space:nowrap;transition:background .2s ease,color .2s ease,border-color .2s ease;}
  .cookie-action--primary{background:var(--ink);color:#fff;}
  .cookie-action--primary:hover{background:var(--magenta);}
  .cookie-action--outline{border-color:rgba(11,11,13,.18);}
  .cookie-action--outline:hover{border-color:var(--ink);background:var(--ink);color:#fff;}
  .cookie-action--text{display:inline-flex;align-items:center;gap:7px;}
  .cookie-action--text:hover{border-color:var(--ink);}
  .cookie-banner__close{position:absolute;top:8px;right:8px;display:none;width:32px;height:32px;border:0;border-radius:50%;background:transparent;font:300 22px/1 var(--serif);cursor:pointer;}

  .cookie-preferences{position:fixed;z-index:121;inset:0;display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .24s ease;}
  .cookie-preferences[hidden]{display:none;}
  .cookie-preferences.is-visible{opacity:1;}
  .cookie-preferences__backdrop{position:absolute;inset:0;border:0;background:rgba(3,5,16,.66);backdrop-filter:blur(3px);cursor:pointer;}
  .cookie-preferences__panel{position:relative;width:min(620px,100%);max-height:calc(100svh - 40px);overflow:auto;padding:26px;border-radius:24px;background:#fff;box-shadow:0 34px 100px rgba(3,5,16,.32);transform:translateY(12px) scale(.985);transition:transform .42s cubic-bezier(.16,1,.3,1);}
  .cookie-preferences.is-visible .cookie-preferences__panel{transform:none;}
  .cookie-preferences__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;}
  .cookie-preferences__head p{max-width:500px;margin:7px 0 0;color:#5d6067;font:300 13.5px/1.45 var(--serif);}
  .cookie-preferences__head > button{flex:none;width:34px;height:34px;border:1px solid rgba(11,11,13,.14);border-radius:50%;background:#fff;color:var(--ink);font:300 22px/1 var(--serif);cursor:pointer;}
  .cookie-categories{display:grid;gap:8px;margin:22px 0;}
  .cookie-category{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:20px;padding:15px 16px;border:1px solid rgba(11,11,13,.1);border-radius:15px;cursor:pointer;}
  .cookie-category:has(input:disabled){cursor:default;}
  .cookie-category span{display:grid;gap:4px;}
  .cookie-category strong{font:700 13px/1.25 var(--sans);}
  .cookie-category small{color:#666970;font:300 12.5px/1.4 var(--serif);}
  .cookie-category input{position:absolute;opacity:0;pointer-events:none;}
  .cookie-category i{position:relative;width:42px;height:24px;border-radius:999px;background:#d9dbe0;transition:background .2s ease;}
  .cookie-category i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:transform .25s cubic-bezier(.16,1,.3,1);}
  .cookie-category input:checked + i{background:var(--indigo);}
  .cookie-category input:checked + i::after{transform:translateX(18px);}
  .cookie-category input:focus-visible + i{outline:2px solid var(--magenta);outline-offset:3px;}
  .legal-inner a{display:inline;color:inherit;text-decoration:underline;text-underline-offset:3px;}

  /* ============ Footer da telefono: le colonne diventano fisarmoniche ============
     Per intero su mobile il footer e' 1500px e sotto le dita passano solo titoli.
     Qui i titoli restano, i link si aprono su richiesta e uno alla volta. Il blocco
     di apertura, le credenziali e la riga legale restano sempre visibili. La
     struttura la costruisce webing-internal.js / webing-homepage.js, perche' il
     footer e' lo stesso markup su 46 pagine. 14/10. */
  .foot-acc__tit{list-style:none;font-family:var(--sans);font-size:15px;font-weight:800;
    letter-spacing:-.02em;color:#fff;}
  .foot-acc__tit::-webkit-details-marker{display:none;}
  /* da 1081 in su non e' una fisarmonica: resta aperta e il titolo torna un h5 */
  @media (min-width:1081px){
    .foot-acc__tit{margin-bottom:12px;cursor:default;}
  }
  @media (max-width:1080px){
    .foot-acc{border-top:1px solid #2f2f2f;}
    .foot-grid > div:last-child .foot-acc{border-bottom:1px solid #2f2f2f;}
    .foot-acc__tit{position:relative;display:flex;align-items:center;min-height:54px;padding:0 36px 0 0;
      cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s ease;}
    .foot-acc__tit::after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;
      border-right:1.6px solid #8a8a8a;border-bottom:1.6px solid #8a8a8a;
      transform:translateY(-70%) rotate(45deg);
      transition:transform .32s cubic-bezier(.16,1,.3,1),border-color .2s ease;}
    .foot-acc[open] .foot-acc__tit::after{transform:translateY(-25%) rotate(225deg);border-color:#fff;}
    .foot-acc__tit:focus-visible{outline:2px solid var(--magenta);outline-offset:3px;border-radius:8px;}
    .foot-acc__in{padding-bottom:16px;}
    .foot-acc__in a{margin-bottom:11px;}
    /* l'apertura si anima dove il browser lo consente, altrove si apre e basta */
    @supports selector(::details-content){
      .foot-acc{interpolate-size:allow-keywords;}
      .foot-acc::details-content{block-size:0;overflow:hidden;
        transition:block-size .38s cubic-bezier(.16,1,.3,1),content-visibility .38s allow-discrete;}
      .foot-acc[open]::details-content{block-size:auto;}
    }
  }
  @media (prefers-reduced-motion:reduce){
    .foot-acc::details-content{transition:none;}
    .foot-acc__tit::after{transition:none;}
  }

  .legal-inner a:hover{color:#fff;}
  .footer-cookie-settings{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
  .footer-cookie-settings:hover{color:#fff;}

  @media (max-width:820px){
    .cookie-banner{gap:16px;padding:18px;}
  }
  @media (max-width:560px){
    .cookie-banner{right:10px;bottom:10px;left:10px;width:calc(100% - 20px);padding:18px 16px 16px;border-radius:18px;}
    .cookie-banner__copy{padding-right:20px;}
    .cookie-banner h2{font-size:15px;}
    .cookie-banner p{font-size:12.5px;}
    .cookie-banner__actions{display:grid;grid-template-columns:1fr 1fr;}
    .cookie-banner__actions .cookie-action--text{grid-column:1/-1;justify-content:flex-start;padding-left:0;}
    .cookie-banner__close{display:block;}
    .cookie-preferences{padding:10px;}
    .cookie-preferences__panel{max-height:calc(100svh - 20px);padding:20px 16px;border-radius:20px;}
    .cookie-preferences__actions{display:grid;grid-template-columns:1fr 1fr;}
    .cookie-preferences__actions .cookie-action--primary{grid-column:1/-1;grid-row:1;}
  }
  @media (prefers-reduced-motion:reduce){
    .cookie-banner,.cookie-preferences,.cookie-preferences__panel{transition:none;}
  }


  /* =====================================================================
     MOBILE . ripensata, non rimpicciolita (14/10)
     La home da telefono era 16.268px: diciannove schermate di desktop
     ridotto. Qui le sezioni cambiano forma, non solo misura.
     ===================================================================== */
  @media (max-width:760px){

    /* --- header: hamburger piu' piccolo, demo a destra e piu' discreto --- */
    .home-card-system .nav-actions{justify-content:flex-end;gap:10px;}
    .home-card-system .menu-toggle{width:34px;height:34px;border-radius:10px;gap:4px;
      box-shadow:0 6px 18px rgba(3,5,16,.10);}
    .home-card-system .menu-toggle span,
    .home-card-system .menu-toggle::before,
    .home-card-system .menu-toggle::after{width:16px;height:1.6px;}
    .home-card-system .topbar.menu-open .menu-toggle::before{transform:translateY(5.6px) rotate(45deg);}
    .home-card-system .topbar.menu-open .menu-toggle::after{transform:translateY(-5.6px) rotate(-45deg);}
    .home-card-system .nav-cta{width:auto;height:auto;padding:7px 0 7px 2px;
      gap:5px;font-size:12px;}
    .home-card-system .nav-cta span{display:inline;}
    .home-card-system .nav-in img{height:44px;}
    /* il selettore lingua ora sta nel footer: in cima toglie spazio al CTA */
    .home-card-system .language-selector--header{display:none;}

    /* --- hero: il pulsante non tocca piu' il carosello ---
       lo stage saliva di 86px sopra il CTA: da telefono il rientro non serve */
    .home-card-system .hero .hero-cta{margin-bottom:26px;}
    /* da telefono i bottoni di sezione sono a tutta larghezza: in hero il
       pulsante a tutta pagina sembra una barra, qui torna alla sua misura */
    .home-card-system .hero .hero-cta .btn{width:auto;min-width:0;padding:15px 26px;}

    /* --- Smart Dashboard: la prima card seguiva il formato 620x390 e da
       telefono restava mezza vuota. Qui l'altezza la decide il testo. --- */
    .home-card-system .data-story-copy{aspect-ratio:auto;padding:18px 20px 20px;}
    .home-card-system .data-story-copy-stack{min-height:104px;}
    .home-card-system .data-story-copy-item p{margin-top:10px;}
    .home-card-system .hero .stage{margin-top:0;}

    /* --- KPI: quattro numeri in due righe, non quattro schermate --- */
    /* tre numeri su due colonne lasciavano una cella vuota: in colonna
       unica il blocco e' piu' corto e si legge in un colpo. 14/10. */
    .home-card-system .kpi-grid{grid-template-columns:minmax(0,1fr);gap:10px;}
    /* numero a sinistra, testo a destra: in colonna unica la riga resta
       bassa e la larghezza piena viene usata tutta */
    .home-card-system .kpi-cell{
      display:grid;grid-template-columns:minmax(72px,auto) minmax(0,1fr);
      column-gap:16px;row-gap:3px;align-items:start;padding:16px;min-height:0;}
    .home-card-system .kpi-cell .num{grid-row:1 / span 2;align-self:center;}

    /* --- Team Webing: quattro fasi compatte --- */
    .home-card-system .phase-grid{gap:10px;}
    .home-card-system .phase{padding:20px 18px;min-height:0;}
    .home-card-system .phase :is(h3,h4){margin-top:10px;font-size:17px;line-height:1.2;}
    .home-card-system .phase p{margin-top:8px;font-size:14px;line-height:1.45;}
    .home-card-system .phase-line{display:none;}

    /* --- Security: i tre marchi in riga, non in colonna.
       Le due righe elastiche sopra e sotto i marchi tenevano il box alto
       il doppio del suo contenuto: qui marchi e pulsante sono attaccati. --- */
    .home-card-system .security-grid{gap:22px;}
    .home-card-system .security-trust{grid-template-rows:auto auto;min-height:0;}
    .home-card-system .security-badges{grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;align-items:start;}
    .home-card-system .security-link{grid-row:2;justify-self:start;align-self:start;
      margin-top:16px;padding:12px 16px;font-size:.88rem;transform:none;}
    .home-card-system .security-badge{display:grid;justify-items:center;gap:8px;min-height:0;
      padding:10px 8px;text-align:center;}
    .home-card-system .security-badge-logo{width:auto;height:46px;}
    .home-card-system .security-badge-logo img{width:auto;max-width:100%;height:46px;object-fit:contain;}
    .home-card-system .security-badge small{font-size:11px;line-height:1.25;}

    /* --- Success stories: stessa idea, un filo piu' bassa --- */
    .home-card-system .success-carousel{height:468px;}
    .home-card-system .success-card{width:min(74vw,330px);height:min(100vw,420px);
      margin-left:calc(min(74vw,330px) * -.5);}
    /* --- Partnership: quattro card, non quattro schermate --- */
    .home-card-system .partnership-item{min-height:0;padding:22px 20px;}
    .home-card-system .partnership-logo{height:52px;margin-bottom:16px;}
    .home-card-system .partnership-logo img{max-height:46px;}
    .home-card-system .partnership-item p{font-size:14.5px;line-height:1.42;}
    /* --- Perche' Webing: le tre card piu' basse --- */
    .home-card-system .why-integrated-copy{padding:22px 20px;}
    .home-card-system .why-integrated-copy h3{min-height:0;font-size:clamp(1.5rem,7vw,1.9rem);}
    .home-card-system .why-integrated-copy p{margin-top:10px;font-size:14.5px;line-height:1.4;}
    .home-card-system .why-integrated-creative{flex:0 0 108px;height:108px;min-height:108px;}

    /* =========== Liste con anteprima: diventano schede da sfogliare ===========
       Idee di contest ed Esplora per industry: su desktop la lista sta a
       sinistra e la creative a destra. Da telefono la creative finiva seicento
       pixel sotto la lista e non la vedeva nessuno, e la riga aperta copriva
       la successiva. Qui ogni voce diventa una scheda con la sua immagine e si
       sfoglia con il dito. L'immagine arriva dallo stack gia' nel markup, la
       mette webing-homepage.js in --carta-img. */
    .home-card-system .industry-creative,
    .home-card-system .format-creative{display:none;}
    .home-card-system .industry-browser,
    .home-card-system .format-browser{display:block;margin-top:26px;}
    .home-card-system .industry-menu,
    .home-card-system .format-menu{
      display:flex;flex-direction:row;gap:14px;margin:0 -26px;padding:4px 26px 20px;
      overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:26px;
      border:0;background:none;box-shadow:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;
      /* il menu desktop ha un'altezza fissa e le righe si allungavano */
      height:auto;min-height:0;align-items:stretch;justify-content:flex-start;
    }
    .home-card-system .industry-menu::-webkit-scrollbar,
    .home-card-system .format-menu::-webkit-scrollbar{display:none;}
    .home-card-system .industry-item,
    .home-card-system .format-item{
      position:relative;flex:0 0 76%;display:grid;grid-template-columns:minmax(0,1fr);
      gap:0;align-content:start;scroll-snap-align:center;
      height:auto;min-height:0;max-height:none;padding:0;margin:0;border:1px solid var(--ds-line);
      border-radius:var(--ds-card-radius);background:#fff;box-shadow:var(--ds-card-shadow);
      overflow:hidden;text-align:left;cursor:pointer;
    }
    .home-card-system .industry-item::before,
    .home-card-system .format-item::before{
      content:"";position:static;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/11;
      opacity:1;transform:none;
      background-image:var(--carta-img);background-size:cover;background-position:center;
      background-color:var(--ds-periwinkle);
    }
    .home-card-system .industry-item::after,
    .home-card-system .format-item::after{content:none;}
    .home-card-system .industry-item-icon{display:none;}
    .home-card-system .industry-item > span:not(.industry-item-icon):not(.industry-item-arrow){
      display:block;padding:16px 18px 0;}
    .home-card-system .industry-item-title{display:block;font:800 17px/1.2 var(--sans);
      letter-spacing:-.02em;color:var(--ink);}
    .home-card-system .industry-item-description{margin-top:8px;min-height:39px;
      font:300 13.5px/1.45 var(--serif);color:#000;opacity:1;max-height:none;
      display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
    .home-card-system .industry-item-arrow{display:block;padding:14px 18px 18px;
      font:800 15px/1 var(--sans);color:var(--magenta);opacity:1;transform:none;}
    /* titolo sempre su due righe: cosi' le card del carosello restano
       tutte della stessa altezza anche con nomi di lunghezza diversa */
    .home-card-system .format-item > span{display:-webkit-box;padding:16px 18px 0;min-height:57px;
      -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
      font:800 17px/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink);}
    .home-card-system .industry-item-title{min-height:41px;
      display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
    .home-card-system .format-item > i,
    .home-card-system .format-item.is-active > i{display:block;place-items:start;padding:14px 18px 18px;
      font:800 15px/1 var(--sans);font-style:normal;color:var(--magenta);background:none;
      width:auto;height:auto;border:0;border-radius:0;opacity:1;transform:none;}
    /* la voce attiva non ha piu' senso in un carosello: tutte uguali.
       Da desktop la riga attiva cresce con flex-basis, che in una fila
       orizzontale diventa la LARGHEZZA: le card attive si restringevano
       a 174px e poi si riaprivano. Qui la misura resta sempre la stessa. */
    .home-card-system .industry-item.is-active,
    .home-card-system .format-item.is-active{
      flex:0 0 76%;min-height:0;padding:0;background:#fff;color:var(--ink);}
  }

  /* ---------------------------------------------------------------------
     Scorciatoie di specificita'. webing-ds12.css viene caricato dopo questo
     foglio e rialza i corpi testo con selettori html.ds12: da telefono le
     stesse voci vanno ripetute piu' forti, altrimenti la compattazione qui
     sopra non ha effetto. 14/10.
     --------------------------------------------------------------------- */
  @media (max-width:760px){
    html.ds12 .home-card-system .kpi-grid .kpi-cell .num{font-size:clamp(32px,9vw,40px);line-height:1;}
    html.ds12 .home-card-system .kpi-grid .kpi-cell :is(h3,h4){margin:0;font-size:14px;line-height:1.2;}
    html.ds12 .home-card-system .kpi-grid .kpi-cell p{margin:0;max-width:none;font-size:12.5px;line-height:1.38;}
    html.ds12 .home-card-system .phase-grid .phase :is(h3,h4){margin-top:10px;font-size:17px;line-height:1.2;}
    html.ds12 .home-card-system .phase-grid .phase p{margin-top:8px;font-size:14px;line-height:1.45;}
    html.ds12 .home-card-system .partnership-panel .partnership-item p{font-size:14px;line-height:1.45;}
    html.ds12 .home-card-system .security-trust .security-link{
      margin-top:16px;min-height:44px;padding:12px 16px;font-size:.88rem;transform:none!important;}
  }
/* Submission feedback: only real lead forms receive these state classes. */
[data-demo-form]:is(.is-submitting,.is-submitted) button[type="submit"]{
  position:relative;flex-shrink:0;opacity:1;cursor:default;
  color:transparent!important;background:#171717!important;border-color:#171717!important;
  transform:none!important;transition:background-color .2s ease,border-color .2s ease;
}
[data-demo-form]:is(.is-submitting,.is-submitted) button[type="submit"] > *{visibility:hidden;}
[data-demo-form]:is(.is-submitting,.is-submitted) button[type="submit"]::before{display:none!important;}
[data-demo-form]:is(.is-submitting,.is-submitted) button[type="submit"]::after{
  content:"";position:absolute;inset:50% auto auto 50%;width:20px;height:20px;
  box-sizing:border-box;border:2px solid rgb(255 255 255 / .25);border-top-color:#fff;
  border-radius:50%;margin:-10px 0 0 -10px;animation:webing-form-spin .75s linear infinite;
}
[data-demo-form].is-submitted button[type="submit"]::after{
  width:10px;height:17px;margin:-11px 0 0 -5px;border:solid #fff;border-width:0 2px 2px 0;
  border-radius:0;transform:rotate(45deg);animation:none;
}
[data-demo-form] :is(.demo-form-status,.w-form__status).is-done{color:#187348;}
@keyframes webing-form-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){
  [data-demo-form]:is(.is-submitting,.is-submitted) button[type="submit"]{transition:none;}
  [data-demo-form].is-submitting button[type="submit"]::after{animation:none;}
}
