/* ============================================================
   Arti-IT — Premium Redesign 2026
   Light theme · Rich effects · Professional
   ============================================================ */

/* Font self-hostati: nessuna richiesta a Google, niente problema DSGVO */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-700-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-800-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-700-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Fondi */
  --bg:          #ffffff;
  --bg-2:        #fafafa;
  --bg-3:        #fafafa;
  --surface:     #f4f4f5;
  --card:        #ffffff;
  --chip-bg:     #fafafa;

  /* Testo */
  --ink:         #0a0a0a;
  --ink-2:       #52525b;
  --muted:       #a1a1aa;

  /* Linee */
  --line:        #e4e4e7;
  --line-strong: #d4d4d8;
  --bd:          #e4e4e7;
  --bd-h:        #d4d4d8;

  /* Accento unico */
  --accent:      #6d28d9;
  --accent-ink:  #5b21b6;
  --accent-bg:   #f5f3ff;

  /* Alias di compatibilita': il markup esistente usa ancora questi nomi.
     Puntandoli tutti sull'accento, i vecchi gradient diventano tinta unita. */
  --c1:          #6d28d9;
  --c2:          #6d28d9;
  --c3:          #6d28d9;
  --c1-light:    #f5f3ff;
  --c2-light:    #f5f3ff;
  --c1-glow:     transparent;

  --ok:          #16a34a;
  --warn:        #b45309;

  /* Superfici: bordi al posto delle ombre diffuse */
  --shadow-sm:   0 1px 2px rgba(10,10,10,.05);
  --shadow:      none;
  --shadow-h:    none;

  /* Tipografia */
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-text:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spazio, scala da 8 */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* Geometria */
  --nav-h: 68px;
  --wrap:  1320px;
  --r:     12px;
  --r-sm:  8px;
  --r-lg:  16px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button { font-family: inherit; cursor: pointer }
.arti-page { color: var(--ink); background: var(--bg) }
.arti-wrap, .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px }

/* ============================================================
   NAVBAR
   ============================================================ */
.arti-nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.arti-nav.scrolled { box-shadow: var(--shadow-sm) }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 10px;
}
.brand {
  font-weight: 900; font-size: 18px; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.nav-links { display: none; gap: 2px; align-items: center }
.nav-links a {
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2) }
.nav-links a[aria-current="page"] { color: var(--c1); background: var(--c1-light) }
.nav-cta { padding: 8px 18px !important }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff }

.lang { position: relative; margin-left: 8px }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border: 1px solid var(--line);
  background: var(--bg); border-radius: var(--r-sm);
  font-weight: 600; font-size: 13px; color: var(--ink-2);
  transition: all .15s;
}
.lang-btn:hover { border-color: var(--bd-h); color: var(--ink) }
.lang-menu {
  position: absolute; right: 0; top: 46px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-h);
  padding: 6px; list-style: none; min-width: 140px;
  display: none; z-index: 420;
}
.lang-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; transition: all .12s }
.lang-menu a:hover { background: var(--bg-2); color: var(--ink) }

/* Products dropdown in main nav (hover-only, no JS) */
.nav-dd { position: relative; display: inline-flex; align-items: center }
.nav-dd > .nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer }
.nav-dd > .nav-dd-toggle::after { content: "\25BE"; font-size: 11px; opacity: .65 }
.nav-dd-menu {
  position: absolute; left: 0; top: calc(100% + 6px);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-h);
  padding: 6px; min-width: 180px; display: none; z-index: 420;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block }
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; transition: all .12s; white-space: nowrap }
.nav-dd-menu a:hover { background: var(--bg-2); color: var(--ink) }

.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px;
  border: 1px solid var(--line); background: var(--bg);
  padding: 9px; border-radius: var(--r-sm); cursor: pointer; transition: all .15s;
}
.hamburger span { width: 20px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: .2s }
.hamburger:hover { border-color: var(--bd-h); background: var(--bg-2) }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.hamburger.is-open span:nth-child(2) { opacity: 0 }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

.mobile-sheet {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  height: calc(100dvh - var(--nav-h));
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); overflow: auto; z-index: 350;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav { display: flex; flex-direction: column; padding: 16px 20px; gap: 4px }
.mobile-nav a { display: block; padding: 14px 16px; border-radius: var(--r); color: var(--ink-2); font-size: 16px; transition: all .12s }
.mobile-nav a:hover { background: var(--bg-2); color: var(--ink) }
.mobile-lang { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px }
.mobile-lang > span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 0 16px; display: block; margin-bottom: 10px }
.mobile-lang-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; padding: 0 6px }
.mobile-lang-grid a { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; text-align: center; font-size: 14px; color: var(--ink-2); font-weight: 600; transition: all .15s }
.mobile-lang-grid a:hover { border-color: var(--bd-h); background: var(--bg-2) }
.mobile-legal { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 12px }
.mobile-legal > span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 0 16px; display: block; margin-bottom: 6px }
.mobile-legal .legal-link { display: block; padding: 12px 16px; border-radius: 12px; color: var(--ink-2); font-size: 14px; transition: all .12s }
.mobile-legal .legal-link:hover { background: var(--bg-2); color: var(--ink) }

@media (min-width: 980px) {
  .nav-links { display: flex }
  .hamburger { display: none }
  .mobile-sheet { display: none !important }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); padding: 11px 24px; font-weight: 700; font-size: 14px;
  text-decoration: none; touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1); cursor: pointer;
  border: none; font-family: inherit; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1 }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c1) 0%, #4f46e5 45%, var(--c2) 100%);
  box-shadow: 0 4px 16px var(--c1-glow), 0 0 0 0 rgba(109,40,217,.4);
  animation: pulse-glow 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px var(--c1-glow), 0 0 0 4px rgba(109,40,217,.12);
  animation: none;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(109,40,217,.22), 0 0 0 0 rgba(109,40,217,.0) }
  50%       { box-shadow: 0 4px 20px rgba(109,40,217,.35), 0 0 0 6px rgba(109,40,217,.07) }
}
.btn-ghost {
  color: var(--ink); background: transparent;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--c1); color: var(--c1);
  background: var(--c1-light);
  transform: translateY(-2px);
}
.arti-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center }

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.grad {
  background: linear-gradient(135deg, var(--c1) 0%, #4f46e5 40%, var(--c2) 80%, var(--c1) 100%);
  background-size: 300% 300%;
  animation: grad-shift 5s ease infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@keyframes grad-shift {
  0%   { background-position: 0%   50% }
  50%  { background-position: 100% 50% }
  100% { background-position: 0%   50% }
}
.muted { color: var(--muted); font-size: 13px }

/* ============================================================
   HERO — Split layout with animated blobs
   ============================================================ */
.arti-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
  background: var(--bg);
}
/* Grid dot pattern */
.arti-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
/* Gradient radials */
.arti-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 55% at  5% -10%, rgba(109,40,217,.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 95%  10%, rgba(8,145,178,.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 110%, rgba(109,40,217,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,.3) 0%, transparent 65%);
  top: -180px; left: -80px;
  animation: orb-float 20s ease-in-out infinite;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(8,145,178,.25) 0%, transparent 65%);
  top: -120px; right: -80px;
  animation: orb-float 26s ease-in-out infinite reverse;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(236,72,153,.15) 0%, transparent 65%);
  bottom: -60px; left: 40%;
  animation: orb-float 18s ease-in-out infinite; animation-delay: -7s;
}
@keyframes orb-float {
  0%   { transform: translate3d(0,0,0)        scale(1)    }
  33%  { transform: translate3d(25px,-25px,0) scale(1.05) }
  66%  { transform: translate3d(-15px,18px,0) scale(.97)  }
  100% { transform: translate3d(0,0,0)        scale(1)    }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center;
}
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1fr 1fr } }

.hero-text { display: flex; flex-direction: column; gap: 20px }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px 6px 8px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--c1-light);
  font-size: 13px; color: var(--c1); font-weight: 600;
}
.hero-badge .dot-ok { background: var(--ok); box-shadow: 0 0 6px rgba(22,163,74,.7) }
.arti-title {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.05; font-weight: 900;
  letter-spacing: -.03em; color: var(--ink);
}
.arti-sub {
  font-size: clamp(16px, 2vw, 18px); line-height: 1.8;
  color: var(--ink-2); max-width: 520px;
}
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap }
.hero-tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--chip-bg); color: var(--ink-2);
}

/* Hero visual — animated service stack */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; height: 380px;
}
.hero-card-stack { position: relative; width: 320px; height: 320px }
.hcard {
  position: absolute; width: 260px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
  transition: transform .3s;
}
.hcard:nth-child(1) { top: 0;   left: 30px; animation: hcard-float 4s ease-in-out infinite }
.hcard:nth-child(2) { top: 72px; left: 0;    animation: hcard-float 4s ease-in-out infinite; animation-delay: .8s }
.hcard:nth-child(3) { top: 144px;left: 20px; animation: hcard-float 4s ease-in-out infinite; animation-delay: 1.6s }
.hcard:nth-child(4) { top: 216px;left: 10px; animation: hcard-float 4s ease-in-out infinite; animation-delay: 2.4s }
@keyframes hcard-float {
  0%,100% { transform: translateY(0)  }
  50%      { transform: translateY(-6px) }
}
.hcard-icon {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: linear-gradient(135deg, var(--c1-light), var(--c2-light));
  border: 1px solid var(--bd);
}
.hcard-text b   { display: block; font-size: 14px; font-weight: 800; color: var(--ink) }
.hcard-text span { font-size: 12px; color: var(--muted) }

/* ============================================================
   MARQUEE BAR
   ============================================================ */
.marquee-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; border-right: 1px solid var(--line);
}
.marquee-item .mi { font-size: 16px }
@keyframes marquee-scroll {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.arti-section { padding: 80px 0 }
.section-alt   { background: var(--bg-2) }
.section-grad  {
  background: linear-gradient(135deg, var(--c1) 0%, #4338ca 50%, var(--c2) 100%);
  color: #fff;
}
.arti-h2 {
  text-align: center; font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900; letter-spacing: -.03em; margin: 0 0 12px; color: var(--ink);
}
.section-alt .arti-h2,
.section-grad .arti-h2  { color: inherit }
.section-sub {
  text-align: center; color: var(--ink-2);
  font-size: clamp(15px, 1.8vw, 17px); line-height: 1.75;
  max-width: 660px; margin: 0 auto 52px;
}
.section-grad .section-sub { color: rgba(255,255,255,.8) }

/* ============================================================
   SERVICE CARDS — 5 services
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr) } }

.srv-card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  cursor: default; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.srv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1-light), var(--c2-light));
  opacity: 0; transition: opacity .3s;
}
.srv-card:hover {
  border-color: var(--bd-h);
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-h);
}
.srv-card:hover::before { opacity: 1 }

.srv-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--c1-light), var(--c2-light));
  border: 1.5px solid var(--bd);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px; position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.srv-card:hover .srv-icon { transform: scale(1.12) rotate(-4deg) }
.srv-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--ink); position: relative }
.srv-card p  { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin: 0; position: relative }
.srv-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--c1);
  position: relative; transition: gap .2s;
}
.srv-card:hover .srv-link { gap: 10px }
.srv-link svg { transition: transform .2s }
.srv-card:hover .srv-link svg { transform: translateX(3px) }

/* ============================================================
   FEATURED PRODUCT — Blina Desk AI
   ============================================================ */
.featured-product {
  background: var(--bg-2); padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fp-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center;
}
@media (min-width: 860px) { .fp-inner { grid-template-columns: 1fr 1fr } }

.fp-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c1);
}
.fp-label::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  border-radius: 2px;
}
.fp-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.03em; margin: 0 0 16px; color: var(--ink) }
.fp-desc  { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin: 0 0 24px }

.fp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px }
.fp-metric {
  background: var(--card); border: 1px solid var(--bd);
  border-radius: var(--r); padding: 16px; text-align: center;
  transition: all .25s;
}
.fp-metric:hover { border-color: var(--bd-h); box-shadow: var(--shadow) }
.fp-metric .num {
  font-size: 28px; font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  display: block;
}
.fp-metric .lbl { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px }

/* Product visual: module grid */
.fp-visual {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-h);
  position: relative; overflow: hidden;
}
.fp-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1-light), var(--c2-light));
  opacity: .4;
}
.fp-visual-inner { position: relative; z-index: 1 }
.fp-visual-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.fp-visual-logo {
  width: 42px; height: 42px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--bd); background: var(--card); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.fp-visual-head b { font-size: 15px; font-weight: 800; color: var(--ink) }
.fp-visual-head span { font-size: 12px; color: var(--muted) }
.fp-mod-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.fp-mod-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: all .2s;
}
.fp-mod-item:hover { border-color: var(--bd-h); background: var(--bg-2) }
.fp-mod-item span { font-size: 16px }

/* ============================================================
   STATS BAR — animated counters
   ============================================================ */
.stats-bar {
  background: var(--ink); padding: 56px 0;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,.4) 0%, rgba(8,145,178,.3) 100%);
}
.stats-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
@media (min-width: 640px) { .stats-inner { grid-template-columns: repeat(4, 1fr) } }
.stat { text-align: center }
.stat-n {
  font-size: clamp(36px, 5vw, 54px); font-weight: 900;
  letter-spacing: -.03em; color: #fff; display: block;
  line-height: 1;
}
.stat-l { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 6px; display: block }

/* ============================================================
   GRID + CARD — generic
   ============================================================ */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px }
.card {
  grid-column: span 12;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.card:hover {
  border-color: var(--bd-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}
.card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 8px }
.card p   { color: var(--ink-2); line-height: 1.7 }

@media (min-width: 860px) { .card { grid-column: span 6 } }
@media (min-width: 980px) {
  .col8  { grid-column: span 8 }
  .col4  { grid-column: span 4 }
  .col12 { grid-column: span 12 }
}

/* ============================================================
   HELPERS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--bd); background: var(--c1-light); color: var(--c1);
}
.badge-green { background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.25); color: var(--ok) }
.dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0 }
.dot-ok   { background: var(--ok); box-shadow: 0 0 6px rgba(22,163,74,.7) }
.dot-warn { background: var(--warn) }

.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.chip {
  font-size: 12px; border: 1px solid var(--line); background: var(--chip-bg);
  border-radius: 999px; padding: 5px 12px; color: var(--ink-2);
}
.list-clean { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); line-height: 1.85 }
.list-clean li     { margin-bottom: 4px }
.list-clean strong { color: var(--ink) }

.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px }
.li   { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.55 }
.ic   { width: 22px; height: 22px; border-radius: 8px; background: var(--chip-bg); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); flex: 0 0 auto }
.li strong { color: var(--ink) }

/* ============================================================
   BENEFITS — 3-col
   ============================================================ */
.benefits { display: grid; grid-template-columns: 1fr; gap: 16px }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(3, 1fr) } }
.benefit-card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.benefit-card:hover { border-color: var(--bd-h); box-shadow: var(--shadow-h); transform: translateY(-3px) }
.benefit-card .badge { margin-bottom: 12px }
.benefit-card p { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin-top: 8px }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 16px }
@media (min-width: 720px) { .timeline { flex-direction: row; gap: 0 } }
.timeline-step {
  flex: 1; padding: 32px 24px 28px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  text-align: center; transition: all .25s;
}
.timeline-step:hover { border-color: var(--bd-h); box-shadow: var(--shadow-h); transform: translateY(-3px) }
@media (min-width: 720px) {
  .timeline-step { border-radius: 0; margin: 0 -1px }
  .timeline-step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg) }
  .timeline-step:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0 }
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff; font-weight: 900; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px var(--c1-glow);
}
.timeline-step h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; color: var(--ink) }
.timeline-step p  { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin: 0 }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1) 0%, #4338ca 50%, var(--c2) 100%);
  border-radius: var(--r-lg); padding: 72px 32px; text-align: center;
  box-shadow: 0 24px 64px var(--c1-glow);
}
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta h2 { position: relative; font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.03em; margin: 0 0 14px; color: #fff }
.cta p  { position: relative; color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto; font-size: 16px; line-height: 1.75 }
.cta .btn-ghost-white {
  color: #fff; background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
}
.cta .btn-ghost-white:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55) }
.cta .btn-white {
  color: var(--c1); background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.cta .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.2) }

.cta-row {
  grid-column: span 12; background: var(--card);
  border-radius: var(--r-lg); padding: 24px; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; box-shadow: var(--shadow-sm);
}
.cta-row h3  { margin: 0 0 4px; font-size: 18px; color: var(--ink) }
.cta-row p   { margin: 0; color: var(--ink-2); font-size: 14px }
.cta-row .btns { display: flex; gap: 10px; flex-wrap: wrap }

/* ============================================================
   FOOTER
   ============================================================ */
.arti-footer {
  border-top: 1px solid var(--line); background: var(--bg);
  padding: 22px 0; color: var(--muted); font-size: 13px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.footer-links { display: flex; gap: 2px; flex-wrap: wrap }
.footer-links a { color: var(--muted); padding: 6px 10px; border-radius: 8px; transition: all .12s }
.footer-links a:hover { color: var(--ink); background: var(--bg-2) }

/* ============================================================
   PROMO BAR (hero)
   ============================================================ */
.promo-bar {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 auto 20px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--c1-light);
  font-size: 13px; color: var(--c1);
}
.promo-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.25);
  color: var(--ok); font-weight: 700; font-size: 11px;
  letter-spacing: .07em; text-transform: uppercase;
}
.promo-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 8px; border: 1px solid var(--bd);
  background: rgba(255,255,255,.7); color: var(--c1); font-weight: 600; font-size: 12px;
  transition: all .15s;
}
.promo-link:hover { background: #fff; box-shadow: var(--shadow-sm) }

/* ============================================================
   SCROLL REVEAL
   Il contenuto e' visibile per default. L'animazione esiste solo
   quando il JavaScript ha messo la classe `js` su <html>.
   ============================================================ */
.reveal { opacity: 1; transform: none }
html.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
html.js .reveal.in { opacity: 1; transform: none }
.reveal-delay-1 { transition-delay: .08s }
.reveal-delay-2 { transition-delay: .16s }
.reveal-delay-3 { transition-delay: .24s }
.reveal-delay-4 { transition-delay: .32s }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none }
  .marquee-track, .hero-card-stack, .orb { animation: none !important }
}

/* ============================================================
   BLINA DESK PRODUCT PAGE — preserved
   ============================================================ */
.hero-product {
  position: relative; overflow: hidden; padding: 72px 0 32px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.kicker     { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 800; flex-wrap: wrap }
.title      { font-size: clamp(30px, 5vw, 52px); line-height: 1.1; margin: 0 0 10px; font-weight: 900; color: var(--ink) }
.subtitle   { max-width: 980px; font-size: 18px; line-height: 1.7; color: var(--ink-2); margin: 0 }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px }
.mini       { font-size: 13px; color: var(--muted); margin-top: 10px }
.hero-head  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.hero-logo  { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; border: 1px solid var(--bd) }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.10) }
@media (min-width: 980px) { .hero-logo { width: 120px; height: 120px } }

.card-h { padding: 16px 16px 0 }
.card-b { padding: 16px }
.h2     { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--ink) }
.p      { margin: 0; color: var(--ink-2); line-height: 1.65 }

.ex-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 10px }
@media (min-width: 720px) { .ex-grid { grid-template-columns: 1fr 1fr } }
.ex      { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; background: var(--card); transition: all .2s }
.ex:hover { border-color: var(--bd-h); box-shadow: var(--shadow) }
.ex .k   { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px }
.ex .k b { font-size: 13px; color: var(--ink) }
.chip2   { font-size: 11px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--bd); background: var(--c1-light); color: var(--c1) }
.ex .q   { margin: 0; color: var(--ink); font-weight: 650; font-size: 13px; line-height: 1.45 }
.ex .a   { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55 }

.pack    { border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden }
.pack-h  { padding: 14px 14px 0 }
.pack-b  { padding: 14px }
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px }
.pack-top b { font-size: 14px; color: var(--ink) }
.pack-tag { font-size: 11px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--bd); background: var(--c1-light); color: var(--c1) }
.pack-grid { display: grid; grid-template-columns: 1fr; gap: 12px }
@media (min-width: 720px) { .pack-grid { grid-template-columns: 1fr 1fr } }

.mod-grid   { display: grid; grid-template-columns: 1fr; gap: 12px }
@media (min-width: 720px) { .mod-grid { grid-template-columns: 1fr 1fr } }
@media (min-width: 980px) { .mod-grid-3 { grid-template-columns: 1fr 1fr 1fr } }
.mod {
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px; background: var(--card);
  display: flex; gap: 10px; align-items: flex-start;
  transition: all .2s;
}
.mod:hover { border-color: var(--bd-h); box-shadow: var(--shadow); transform: translateY(-2px) }
.mod .mi { width: 34px; height: 34px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; flex: 0 0 auto }
.mod .mn { margin: 0; font-weight: 900; font-size: 14px; color: var(--ink) }
.mod .md { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55 }
.mod .small { margin: 6px 0 0; font-size: 12px; color: var(--muted) }

.status { display: flex; flex-direction: column; gap: 10px }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.row .l    { display: flex; align-items: center; gap: 10px }
.row.ok    { background: rgba(22,163,74,.05);  border-color: rgba(22,163,74,.2) }
.row.wip   { background: rgba(245,158,11,.05); border-color: rgba(245,158,11,.2) }
.row span  { color: var(--ink-2); font-size: 13px }
.row b     { font-size: 13px; color: var(--ink) }

.site-box {
  margin-top: 12px; border: 1.5px solid var(--bd); border-radius: 16px; padding: 12px;
  background: linear-gradient(135deg, var(--c1-light), var(--c2-light));
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.site-left { display: flex; align-items: center; gap: 10px }
.site-ic { width: 42px; height: 42px; border-radius: 14px; background: var(--card); border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); font-size: 16px }
.site-t     { display: flex; flex-direction: column }
.site-t b   { font-size: 14px; color: var(--ink) }
.site-t span { font-size: 12px; color: var(--muted) }
.site-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; transition: .2s;
}
.site-btn:hover { background: linear-gradient(135deg, var(--c1), var(--c2)); transform: translateY(-1px) }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 56px }
  .nav-inner    { height: 56px }
  .mobile-sheet { inset: 56px 0 0 0; height: calc(100dvh - 56px) }
  .arti-hero    { padding: 56px 0 48px }
  .arti-section { padding: 56px 0 }
  .featured-product { padding: 56px 0 }
  .cta          { padding: 44px 20px }
  .timeline-step { padding: 24px 18px }
  .hero-visual  { display: none }
  .hero-inner   { grid-template-columns: 1fr }
}
/* ===== REDESIGN 2026-08 ===== */
/* ============================================================
   REDESIGN 2026-08: tipografia, icone, superfici piatte
   ============================================================ */
body { font-family: var(--font-text) }

/* Il testo del hero segue il titolo, non si centra da solo.
   Con il contenitore a 1320px un `margin: 0 auto` lo rientrava di 186px. */
.arti-sub { margin-left: 0; margin-right: 0; max-width: 62ch }
.arti-hero .arti-btns { justify-content: flex-start }

/* Nel sito convivevano due nomi per la stessa cosa: quasi tutte le pagine
   aggiungono `in`, tre aggiungono `revealed`. Su quelle tre il CSS non le
   rivelava mai: titoli e card restavano invisibili a tutti. Valgono entrambi. */
html.js .reveal.in, html.js .reveal.revealed { opacity: 1; transform: none }
@media print { html.js .reveal { opacity: 1 !important; transform: none !important } }
h1, h2, h3, h4, .arti-title, .arti-h2, .fp-title, .brand, .step-num, .stat-n {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.022em;
}
.arti-title { font-size: clamp(40px, 5vw, 68px); line-height: 1.05 }
.arti-h2, .fp-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15 }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700 }
body, p { font-size: 17px; line-height: 1.65 }
.arti-section { padding-block: clamp(64px, 8vw, 120px) }
:target, section[id] { scroll-margin-top: calc(var(--nav-h) + 16px) }

/* Niente gradient sul testo: un accento pieno */
.grad, .brand {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  color: var(--accent); -webkit-text-fill-color: var(--accent);
}
.step-num, .fp-visual-logo {
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
  border: 1px solid var(--line);
}

/* Via gli effetti da template */
.orb, .hero-bg { display: none }
.marquee-bar { display: none }

/* Superfici: bordi netti al posto delle ombre diffuse */
.srv-card, .benefit-card, .timeline-step, .card, .fp-visual-inner, .cta,
.lang-menu, .nav-dd-menu {
  box-shadow: none;
}
.srv-card, .benefit-card, .timeline-step, .card, .fp-visual-inner {
  border: 1px solid var(--line); border-radius: var(--r);
}
.srv-card:hover, .benefit-card:hover, .card:hover, .timeline-step:hover {
  box-shadow: none; border-color: var(--line-strong); transform: none;
}
.stats-bar { background: var(--ink); color: #fff }

/* Il blocco CTA ha fondo nero: senza queste righe un <a class="btn"> senza
   modificatore eredita il testo nero e diventa illeggibile. */
.cta { background: var(--ink); border: none; color: #fff }
.cta h2, .cta p, .cta a { color: #fff }
.cta .btn:not(.btn-primary):not(.btn-white) {
  color: #fff; border: 1px solid rgba(255,255,255,.35) !important; background: transparent;
}
.cta .btn:not(.btn-primary):not(.btn-white):hover { background: rgba(255,255,255,.12) }
.cta .btn-primary { background: #fff; color: var(--ink) }

/* Gli screenshot dell'app in pagina prodotto erano troppo grandi:
   una griglia di telefoni a tutta larghezza. */
.shots { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) }
.shot { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: none }
.shot img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top }
.shot figcaption { padding: 10px var(--s-2); font-size: 13px; color: var(--ink-2); text-align: center }

/* Icone SVG al posto delle emoji */
.srv-icon, .hcard-icon, .fp-visual-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-2);
  color: var(--accent); font-size: 0;
}
/* Default: l'icona e' alta come il testo che accompagna */
.ic {
  width: 1.1em; height: 1.1em;
  vertical-align: -.15em; flex-shrink: 0;
  stroke-width: 1.5; color: var(--accent);
}
/* Nei riquadri servizio invece ha una misura fissa */
.srv-icon .ic, .hcard-icon .ic, .fp-visual-logo .ic { width: 22px; height: 22px }
.btn .ic, .srv-link .ic { color: currentColor }

/* Il visual del hero serve anche su mobile: e' la prova del lavoro */
@media (max-width: 719px) {
  .hero-visual { display: block !important; margin-top: var(--s-4) }
}

/* ===== LAVORI ===== */
.work-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: var(--s-5);
}
.work-item {
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--bg); display: flex; flex-direction: column;
}
.work-item:hover { border-color: var(--line-strong) }
.browser-bar {
  display: flex; align-items: center; gap: var(--s-1);
  padding: 9px var(--s-2); font-size: 12px; color: var(--muted);
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.browser-bar::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong); box-shadow: 12px 0 0 var(--line-strong), 24px 0 0 var(--line-strong);
  margin-right: 20px;
}
/* Sorgenti diverse (sito desktop, app verticale) restano allineate.
   `height: auto` e' obbligatorio: senza, l'attributo height="800" del markup
   vince sull'aspect-ratio, il riquadro resta alto 800px e object-fit: cover
   ingrandisce lo screenshot per riempirlo. */
.work-shot {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top center;
  display: block; background: var(--surface);
}

/* Quando la sezione segue subito il hero, i due padding si sommavano
   e lasciavano un vuoto di oltre 200px. */
.arti-hero + .arti-section { padding-top: var(--s-5) }
.work-body { padding: var(--s-3); display: flex; flex-direction: column; flex: 1 }
.work-body h3 { margin-bottom: 6px }
.work-body p { font-size: 15px; color: var(--ink-2); margin-bottom: var(--s-2) }
.work-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-3) }
.work-tech span {
  font-size: 12px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.work-link { font-weight: 600; color: var(--accent); font-size: 15px; margin-top: auto }

/* ===== HERO PAGINA SITI WEB ===== */
.arti-hero .hero-left { margin-left: 0; margin-right: auto }
.arti-hero .muted { text-align: left }
