  /* =================================================================
     ADIVOR — design system v2 «Industrial Studio»
     Tema dark ingegneristico con griglia blueprint.
     Due identita' cromatiche:
       • FORMAZIONE (corsi) ........ ambra  #f5a623
       • TECNICO  (progettazione) .. ciano  #38bdf8
     ================================================================= */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --bg:      #0a0e14;
    --bg2:     #0d1219;
    --bg3:     #131a24;
    --card:    rgba(255,255,255,0.035);
    --card-2:  rgba(255,255,255,0.06);
    --ink:     #e8edf4;
    --ink-soft:#94a3b8;
    --line:    rgba(148,163,184,0.16);
    --line-lt: rgba(148,163,184,0.09);
    --red:     #f5a623;                 /* accento FORMAZIONE */
    --red-soft:rgba(245,166,35,0.13);
    --blue:    #38bdf8;                 /* accento TECNICO */
    --blue-soft:rgba(56,189,248,0.13);
    --violet:  #a78bfa;                 /* accento INNOVAZIONE/AI */
    --violet-soft:rgba(167,139,250,0.13);
    --paper:   #0a0e14;
    --paper2:  #111823;
    --paper3:  #94a3b8;
    --radius:  14px;
    --font-disp: 'Space Grotesk', 'Big Shoulders Display', sans-serif;
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
  }
  /* griglia blueprint fissa + glow d'ambiente */
  body::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(56,189,248,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(56,189,248,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 25%, transparent 100%);
  }
  body::after {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(ellipse 55% 42% at 10% -4%, rgba(245,166,35,0.09), transparent 65%),
      radial-gradient(ellipse 50% 42% at 96% 12%, rgba(56,189,248,0.08), transparent 65%);
  }
  ::selection { background: var(--red); color: #140b02; }
  .mono { font-family: 'IBM Plex Mono', monospace; }

  /* ── eyebrow tag ── */
  .tag-note {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: 'IBM Plex Mono', monospace; font-size: .72rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
    margin-bottom: 1rem;
  }
  .tag-note::before { content: ''; width: 22px; height: 1px; background: currentColor; }
  #corsi .tag-note { color: var(--red); }
  #ai .tag-note { color: var(--violet); }

  h1, h2, h3 { font-family: var(--font-disp); letter-spacing: -0.02em; }

  section { padding: clamp(72px,10vw,120px) clamp(20px,5vw,60px); position: relative; z-index: 1; }
  .container { max-width: 1180px; margin: 0 auto; }
  .section-head { max-width: 660px; margin-bottom: 3.2rem; }
  .section-title { font-size: clamp(2.1rem,4.4vw,3.3rem); font-weight: 700; line-height: 1.05; margin-bottom: 1rem; }
  .section-desc { color: var(--ink-soft); font-size: 1.02rem; }

  /* =============== COOKIE BANNER =============== */
  #cookie-banner {
    position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
    z-index: 9999; width: min(660px, calc(100vw - 2rem));
    background: rgba(13,18,25,0.92); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
    padding: 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 1.1rem;
    animation: slideUp 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  #cookie-banner.hiding { animation: slideDown 0.28s ease forwards; }
  @keyframes slideUp { from { opacity:0; transform:translateX(-50%) translateY(20px);} to { opacity:1; transform:translateX(-50%) translateY(0);} }
  @keyframes slideDown { to { opacity:0; transform:translateX(-50%) translateY(20px);} }
  .cookie-top { display: flex; align-items: flex-start; gap: 1rem; }
  .cookie-emoji { font-size: 1.5rem; flex-shrink: 0; }
  .cookie-text h3 { font-family: var(--font-disp); font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; }
  .cookie-text p { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; }
  .cookie-text a { color: var(--blue); }
  .cookie-details { display: none; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .cookie-details.open { display: flex; }
  .cookie-row { display: flex; align-items: center; justify-content: space-between; background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem; gap: 1rem; }
  .cookie-row-info strong { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .15rem; }
  .cookie-row-info span { font-size: .75rem; color: var(--ink-soft); }
  .toggle-wrap { position: relative; flex-shrink: 0; }
  .toggle-wrap input { opacity: 0; width: 0; height: 0; position: absolute; }
  .toggle-slider { display: block; width: 40px; height: 22px; background: var(--bg3); border: 1px solid var(--line); border-radius: 20px; cursor: pointer; transition: background .25s; position: relative; }
  .toggle-slider::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: var(--ink-soft); border-radius: 50%; transition: transform .25s; }
  .toggle-wrap input:checked + .toggle-slider { background: var(--blue-soft); }
  .toggle-wrap input:checked + .toggle-slider::after { transform: translateX(18px); background: var(--blue); }
  .toggle-wrap input:disabled + .toggle-slider { opacity: .45; cursor: not-allowed; }
  .cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
  .btn-ck-all { flex: 1; min-width: 130px; background: var(--blue); color: #04121c; border: none; border-radius: 99px; padding: .6rem 1.2rem; font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; font-family: 'IBM Plex Mono', monospace; transition: filter .2s; }
  .btn-ck-all:hover { filter: brightness(1.15); }
  .btn-ck-nec { flex: 1; min-width: 120px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: .6rem 1.2rem; font-size: .82rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; font-family: 'IBM Plex Mono', monospace; transition: border-color .2s; }
  .btn-ck-nec:hover { border-color: var(--ink); }
  .btn-ck-custom { background: none; border: none; color: var(--ink-soft); font-size: .76rem; font-family: 'IBM Plex Mono', monospace; cursor: pointer; text-decoration: underline; padding: 0; white-space: nowrap; }
  .btn-ck-custom:hover { color: var(--ink); }

  /* =============== NAV =============== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(20px,5vw,60px); height: 68px;
    background: rgba(10,14,20,0.5); backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
  }
  nav.scrolled { background: rgba(10,14,20,0.88); border-bottom-color: var(--line); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
  .logo { font-family: var(--font-disp); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
  .logo span { color: var(--red); }
  .nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
  .nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-family: 'IBM Plex Mono', monospace; transition: color .2s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { background: var(--blue) !important; color: #04121c !important; padding: .55rem 1.25rem; border-radius: 99px; font-weight: 600; }
  .nav-cta:hover { background: var(--red) !important; color: #140b02 !important; box-shadow: 0 0 26px rgba(245,166,35,.35); }
  .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
  .burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .mobile-menu { display: none; position: fixed; inset: 68px 0 0 0; background: rgba(10,14,20,0.97); backdrop-filter: blur(14px); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--font-disp); font-size: 2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
  .mobile-menu a:hover { color: var(--red); }

  /* =============== HERO =============== */
  .hero { min-height: 100vh; display: flex; align-items: center; padding: clamp(110px,15vw,160px) clamp(20px,5vw,60px) clamp(70px,9vw,100px); overflow: hidden; }
  .hero::before {
    content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%;
    top: -170px; right: -130px; pointer-events: none;
    background: radial-gradient(circle, rgba(245,166,35,0.16), transparent 65%);
    animation: drift 14s ease-in-out infinite alternate;
  }
  .hero::after {
    content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
    bottom: -150px; left: -150px; pointer-events: none;
    background: radial-gradient(circle, rgba(56,189,248,0.14), transparent 65%);
    animation: drift 18s ease-in-out infinite alternate-reverse;
  }
  @keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-45px,35px) scale(1.14); } }
  .hero-inner { max-width: 1180px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'IBM Plex Mono', monospace; font-size: .74rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--red);
    border: 1px solid rgba(245,166,35,.4); background: rgba(245,166,35,.07);
    border-radius: 99px; padding: .4rem .9rem; margin-bottom: 1.7rem;
  }
  .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(1.5)} }
  .hero-title { font-size: clamp(2.6rem,5.6vw,4.5rem); font-weight: 700; line-height: 1.0; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
  .hero-title .accent {
    background: linear-gradient(92deg, var(--red) 10%, #fbbf24 45%, var(--blue) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite alternate;
  }
  @keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
  .hero-desc { color: var(--ink-soft); font-size: 1.06rem; max-width: 500px; margin-bottom: 2.2rem; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--blue); color: #04121c; padding: .85rem 1.7rem;
    border-radius: 99px; font-weight: 600; text-decoration: none; font-size: .92rem;
    font-family: 'IBM Plex Mono', monospace; letter-spacing: .02em;
    border: none; box-shadow: 0 8px 30px rgba(56,189,248,.25);
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  .btn-primary:hover { background: #5cc9fa; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(56,189,248,.4); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid var(--line); color: var(--ink); padding: .85rem 1.7rem;
    border-radius: 99px; font-weight: 500; text-decoration: none; font-size: .92rem;
    font-family: 'IBM Plex Mono', monospace; transition: border-color .2s, color .2s, background .2s;
  }
  .btn-ghost:hover { border-color: var(--red); color: var(--red); background: rgba(245,166,35,.06); }

  /* ── hero visual card ── */
  .plate {
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    border: 1px solid rgba(148,163,184,0.22); border-radius: 20px;
    position: relative; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
  }
  .plate::before {
    content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(245,166,35,.55), transparent 38%, transparent 62%, rgba(56,189,248,.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .plate-inner-frame { display: none; }
  .plate-svg-wrap { padding: .8rem; }
  .plate-svg-wrap img { width: 100%; height: auto; display: block; border-radius: 12px; }
  .plate-titleblock { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(10,14,20,0.55); }
  .plate-cell { padding: 1.1rem 1.2rem; border-right: 1px solid var(--line); }
  .plate-cell:last-child { border-right: none; }
  .plate-cell-label { font-family: 'IBM Plex Mono', monospace; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
  .plate-cell-val { font-family: var(--font-disp); font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; }
  .plate-cell:nth-child(2) .plate-cell-val { color: var(--blue); }
  .plate-cell:nth-child(3) .plate-cell-val { color: var(--ink); }

  /* =============== CORSI — zona FORMAZIONE (ambra) =============== */
  #corsi {
    background: linear-gradient(180deg, rgba(245,166,35,0.055), rgba(245,166,35,0.015) 55%, transparent);
    border-top: 1px solid rgba(245,166,35,0.16);
    border-bottom: 1px solid rgba(245,166,35,0.08);
  }
  .corsi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.4rem; align-items: stretch; }
  .corso-card {
    background: var(--card); backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 16px;
    padding: 1.7rem 1.7rem 1.5rem; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s, border-color .3s, box-shadow .3s;
  }
  .corso-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red), transparent 75%);
    opacity: .55; transition: opacity .3s, height .3s;
  }
  .corso-card:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.45); box-shadow: 0 22px 55px rgba(245,166,35,0.1); }
  .corso-card:hover::before { opacity: 1; height: 3px; }
  .corso-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
  .corso-tag {
    font-family: 'IBM Plex Mono', monospace; font-size: .66rem; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase; color: var(--red);
    border: 1px solid rgba(245,166,35,.45); background: rgba(245,166,35,.08);
    border-radius: 99px; padding: .22rem .6rem;
  }
  .corso-code { font-family: 'IBM Plex Mono', monospace; font-size: .72rem; color: var(--ink-soft); }
  .corso-title { font-size: 1.35rem; font-weight: 700; margin-bottom: .7rem; line-height: 1.1; }
  .corso-desc { color: var(--ink-soft); font-size: .89rem; line-height: 1.6; margin-bottom: 1.3rem; }
  .corso-features { list-style: none; margin-bottom: 1.4rem; flex: 1; }
  .corso-features li { display: flex; align-items: flex-start; gap: .55rem; color: var(--ink-soft); font-size: .84rem; padding: .38rem 0; border-bottom: 1px solid var(--line-lt); }
  .corso-features li:last-child { border-bottom: none; }
  .corso-features li::before { content: ''; width: 8px; height: 1.5px; background: var(--red); flex-shrink: 0; margin-top: .65rem; border-radius: 2px; }
  .corso-cta {
    display: inline-flex; align-items: center; gap: .4rem; color: var(--ink);
    font-size: .85rem; font-weight: 600; text-decoration: none;
    font-family: 'IBM Plex Mono', monospace; border-top: 1px solid var(--line);
    padding-top: .9rem; margin-top: auto; transition: gap .2s, color .2s;
  }
  .corso-cta:hover { gap: .7rem; color: var(--red); }

  .corsi-note {
    margin-top: 2.2rem; padding: 1.6rem 1.8rem;
    background: var(--card); backdrop-filter: blur(10px);
    border: 1px solid rgba(245,166,35,.25); border-radius: 16px;
    display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  }
  .corsi-note-chips { display: flex; gap: .7rem; flex-wrap: wrap; width: 100%; justify-content: center; }
  .corsi-note-chip {
    text-align: center; padding: .8rem 1.2rem; background: rgba(245,166,35,.06);
    border: 1px solid rgba(245,166,35,.25); border-radius: 12px; flex: 1; min-width: 100px;
    font-family: 'IBM Plex Mono', monospace; font-size: .74rem; color: var(--ink-soft);
    letter-spacing: .03em; text-transform: uppercase;
  }

  /* =============== SERVIZI — zona TECNICA (ciano) =============== */
  .servizi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.4rem; }
  .servizio-card {
    background: var(--card); backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    display: flex; gap: 1.1rem;
  }
  .servizio-card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.45); box-shadow: 0 18px 46px rgba(56,189,248,0.09); }
  .servizio-balloon {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
    background: var(--blue-soft); border: 1px solid rgba(56,189,248,.35);
    display: flex; align-items: center; justify-content: center;
    font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: .95rem; color: var(--blue);
  }
  .servizio-title { font-size: 1.12rem; font-weight: 700; margin-bottom: .55rem; line-height: 1.15; }
  .servizio-desc { color: var(--ink-soft); font-size: .87rem; }

  /* =============== AI =============== */
  #ai { background: linear-gradient(180deg, rgba(167,139,250,0.07), transparent 60%); }
  #ai .servizio-balloon { background: var(--violet-soft); border-color: rgba(167,139,250,.35); color: var(--violet); }
  #ai .servizio-card:hover { border-color: rgba(167,139,250,.45); box-shadow: 0 18px 46px rgba(167,139,250,0.12); }

  /* =============== SETTORI =============== */
  #settori { background: var(--bg2); border-top: 1px solid var(--line-lt); border-bottom: 1px solid var(--line-lt); }
  .settori-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: .9rem; }
  .settore-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: 1.3rem 1.4rem; display: flex; align-items: center; gap: .9rem;
    transition: transform .25s, border-color .25s, background .25s;
  }
  .settore-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.45); background: var(--card-2); }
  .settore-icon { font-size: 1.3rem; flex-shrink: 0; }
  .settore-name { font-weight: 500; font-size: .88rem; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .02em; }

  /* =============== METODO =============== */
  .metodo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
  .metodo-steps::before {
    content: ''; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; z-index: 0;
    background: repeating-linear-gradient(90deg, rgba(56,189,248,.5) 0 8px, transparent 8px 14px);
  }
  .step-card { padding: 0 1.2rem; position: relative; z-index: 1; }
  .step-num {
    width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.1rem;
    background: var(--blue-soft); border: 1px solid rgba(56,189,248,.4);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-disp); font-weight: 700; font-size: 1.25rem; color: var(--blue);
    box-shadow: 0 0 24px rgba(56,189,248,.15);
  }
  .step-title { font-weight: 700; font-size: 1.12rem; margin-bottom: .5rem; }
  .step-desc { color: var(--ink-soft); font-size: .87rem; }

  /* =============== CTA STRIP =============== */
  .cta-strip {
    background: linear-gradient(120deg, rgba(245,166,35,0.09), rgba(56,189,248,0.09));
    border: 1px solid rgba(148,163,184,0.28); border-radius: 24px;
    padding: 3rem clamp(1.5rem,5vw,3rem); text-align: center;
    margin: 0 clamp(20px,5vw,60px) clamp(60px,10vw,110px);
    position: relative; z-index: 1; backdrop-filter: blur(8px);
  }
  .cta-strip::before {
    content: 'NOTA'; position: absolute; top: -11px; left: 2rem;
    background: var(--red); color: #140b02; font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem; letter-spacing: .1em; padding: .25rem .6rem; border-radius: 99px;
  }
  .cta-strip h2 { font-size: clamp(1.6rem,3.4vw,2.4rem); font-weight: 700; margin-bottom: 1rem; }
  .cta-strip p { color: var(--ink-soft); margin-bottom: 2rem; }
  .btn-white {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--ink); color: var(--bg); padding: .85rem 1.8rem;
    border-radius: 99px; font-weight: 700; text-decoration: none; font-size: .95rem;
    font-family: 'IBM Plex Mono', monospace; transition: transform .2s, background .2s, box-shadow .2s;
  }
  .btn-white:hover { transform: translateY(-2px); background: var(--red); box-shadow: 0 12px 36px rgba(245,166,35,.3); }

  /* =============== FAQ =============== */
  #faq { background: var(--bg2); border-top: 1px solid var(--line-lt); border-bottom: 1px solid var(--line-lt); }
  .faq-list { max-width: 780px; display: flex; flex-direction: column; gap: .9rem; }
  .faq-item {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 1.4rem 1.7rem; transition: border-color .25s, background .25s;
  }
  .faq-item:hover { border-color: rgba(56,189,248,.35); background: var(--card-2); }
  .faq-item h3 { display: flex; gap: .6rem; font-family: 'IBM Plex Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: .6rem; color: var(--ink); }
  .faq-q-tag { font-family: 'IBM Plex Mono', monospace; color: var(--blue); flex-shrink: 0; }
  .faq-item p { color: var(--ink-soft); font-size: .89rem; line-height: 1.65; }

  /* =============== CONTATTI =============== */
  #contatti { background: linear-gradient(180deg, rgba(56,189,248,0.045), transparent 55%); }
  .contatti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .contact-info { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
  .info-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; transition: border-color .25s; }
  .info-item:hover { border-color: rgba(56,189,248,.4); }
  .info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
  .info-label { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
  .info-val { font-weight: 500; font-size: .92rem; }
  .info-val a { color: var(--ink); text-decoration: none; }
  .info-val a:hover { color: var(--blue); }

  .email-contact-box {
    background: var(--card); backdrop-filter: blur(10px);
    border: 1px solid rgba(56,189,248,.3); border-radius: 20px;
    padding: 2.3rem; display: flex; flex-direction: column; align-items: flex-start; height: 100%;
    position: relative; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  }
  .email-contact-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue), transparent 80%);
  }
  .email-big-icon {
    width: 58px; height: 58px; border-radius: 16px;
    background: var(--blue-soft); border: 1px solid rgba(56,189,248,.4);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.4rem;
  }
  .email-contact-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
  .email-contact-box p { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }
  .email-address-big {
    display: flex; align-items: center; gap: .75rem; background: var(--bg3);
    border: 1px solid var(--line); border-radius: 12px; padding: .95rem 1.2rem; margin: 1.4rem 0; width: 100%;
  }
  .email-address-big span { font-family: 'IBM Plex Mono', monospace; font-size: .92rem; font-weight: 500; color: var(--ink); flex: 1; word-break: break-all; }
  .copy-btn { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1.05rem; padding: .2rem; transition: color .2s; flex-shrink: 0; }
  .copy-btn:hover { color: var(--blue); }
  .email-note { font-size: .8rem !important; color: var(--ink-soft) !important; margin-top: 1.4rem !important; font-family: 'IBM Plex Mono', monospace; }

  /* =============== FOOTER =============== */
  footer {
    background: #070a0f; border-top: 1px solid var(--line);
    padding: 1.8rem clamp(20px,5vw,60px); display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1;
  }
  .footer-logo { font-family: var(--font-disp); font-weight: 700; font-size: 1.3rem; }
  .footer-logo span { color: var(--red); }
  .footer-links { display: flex; gap: 1.6rem; }
  .footer-links a { color: var(--ink-soft); text-decoration: none; font-size: .8rem; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .03em; transition: color .2s; }
  .footer-links a:hover { color: var(--blue); }
  .footer-copy { color: var(--ink-soft); font-size: .78rem; font-family: 'IBM Plex Mono', monospace; }

  /* =============== REVEAL + STAGGER =============== */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .reveal.visible { opacity: 1; transform: none; }
  .corsi-grid > .reveal:nth-child(2), .servizi-grid > .reveal:nth-child(2), .settori-grid > .reveal:nth-child(2) { transition-delay: .07s; }
  .corsi-grid > .reveal:nth-child(3), .servizi-grid > .reveal:nth-child(3), .settori-grid > .reveal:nth-child(3) { transition-delay: .14s; }
  .corsi-grid > .reveal:nth-child(4), .servizi-grid > .reveal:nth-child(4), .settori-grid > .reveal:nth-child(4) { transition-delay: .21s; }
  .corsi-grid > .reveal:nth-child(5), .servizi-grid > .reveal:nth-child(5), .settori-grid > .reveal:nth-child(5) { transition-delay: .28s; }
  .corsi-grid > .reveal:nth-child(6), .servizi-grid > .reveal:nth-child(6), .settori-grid > .reveal:nth-child(6) { transition-delay: .35s; }
  .corsi-grid > .reveal:nth-child(7), .servizi-grid > .reveal:nth-child(7), .settori-grid > .reveal:nth-child(7) { transition-delay: .42s; }
  .metodo-steps > .reveal:nth-child(2) { transition-delay: .1s; }
  .metodo-steps > .reveal:nth-child(3) { transition-delay: .2s; }
  .metodo-steps > .reveal:nth-child(4) { transition-delay: .3s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-badge::before { animation: none; }
    .hero::before, .hero::after, .hero-title .accent { animation: none; }
  }

  /* =============== RESPONSIVE =============== */
  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; }
    .metodo-steps { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; }
    .metodo-steps::before { display: none; }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .hero-title { font-size: clamp(2rem,8vw,2.8rem); word-break: break-word; }
    .hero-desc { max-width: 100%; font-size: .95rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; justify-content: center; text-align: center; }
    .contatti-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cookie-actions { flex-direction: column; }
    .btn-ck-all, .btn-ck-nec { width: 100%; text-align: center; }
    .cta-strip { margin: 0 1rem 3rem; padding: 2.2rem 1.4rem; }
    .faq-item { padding: 1.2rem 1.4rem; }
    .email-contact-box { padding: 1.6rem; }
    .plate-titleblock { grid-template-columns: 1fr; }
    .plate-cell { border-right: none; border-bottom: 1px solid var(--line); }
    .plate-cell:last-child { border-bottom: none; }
  }
  @media (max-width: 520px) {
    .corsi-grid, .servizi-grid, .settori-grid { grid-template-columns: 1fr; }
    .metodo-steps { grid-template-columns: 1fr; }
    .hero { padding: 100px 16px 60px; }
    section { padding: clamp(44px,8vw,80px) 16px; }
    footer { flex-direction: column; text-align: center; gap: .75rem; padding: 1.8rem 16px; }
  }
