/* ============================================================
   Francesco De Stefano — Web & Communication
   Foglio di stile unico del sito: reset, layout, tipografia,
   componenti e animazioni. Nessuna dipendenza da framework CSS
   esterni (niente Tailwind CDN): tutto lo stile vive qui, l'HTML
   usa classi semantiche minime per restare leggero.
   Palette: bianco / nero / grigio, accento celeste.
   ============================================================ */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --ash: #808080;
  --ash-soft: rgba(128, 128, 128, .35);
  --accent: #3da1ff;
  --accent-dark: #1c86e6;
  --accent-warm: #ff8a3d;
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-pink: #ec4899;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container-max: 1600px;
  --gap: 1.75rem;
  --radius: 16px;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #ffffff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #b8dcff; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #000; outline-offset: 3px;
}

/* ============================================================
   2. LAYOUT: container, sezioni, griglie
   ============================================================ */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 768px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.section { position: relative; padding-block: 96px; }
.section--sm { padding-block: 80px; }
.section--lg { padding-block: 112px 160px; }
.section--tight { padding-block: 32px; }
.section--hero { overflow: hidden; padding-block: 152px 0px; }
.hero-bg-clip { position: absolute; inset: 0; overflow: hidden; }
.section--border-t { border-top: 1px solid rgba(0,0,0,.1); }
.section--border-y { border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.section--accent { background: var(--accent); color: #fff; overflow: hidden; }
.section--cta-vivid {
  background: linear-gradient(125deg, #1c2b6b 0%, #3da1ff 32%, #8b5cf6 62%, #ff8a3d 100%);
  color: #fff; overflow: hidden;
}
.section--cta-vivid .muted-dark { color: rgba(255,255,255,.85); }
.section--accent .text-accent { color: #fff; }
.section--accent .source-link { color: rgba(255,255,255,.8); }
.section--accent .source-link:hover { color: #fff; }
.section--accent .muted { color: rgba(255,255,255,.75); }
.section--accent .muted-dark { color: rgba(255,255,255,.85); }
.section--overflow { overflow: hidden; }
@media (min-width: 768px) {
  .section { padding-block: 128px; }
  .section--sm { padding-block: 112px; }
  .section--hero { padding-block: 168px 0; }
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--divide { grid-template-columns: repeat(2, 1fr); }
.grid--divide > * { border-top: 0; }
.grid--divide > *:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,.1); }
.grid--divide > *:nth-child(even) { border-left: 1px solid rgba(0,0,0,.1); }
@media (min-width: 480px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--divide { grid-template-columns: repeat(4, 1fr); }
  .grid--divide > *:nth-child(n+3) { border-top: 0; }
  .grid--divide > *:nth-child(even) { border-left: 0; }
  .grid--divide > * + * { border-left: 1px solid rgba(0,0,0,.1); }
}

.grid--nogap { gap: 1px; background: rgba(0,0,0,.1); }

/* Layout contenuto + sidebar (pagine servizio, contatti, domande) */
.layout-side { display: grid; gap: 3.5rem; }
@media (min-width: 768px) {
  .layout-side { grid-template-columns: 7fr 4fr; align-items: start; gap: 3.5rem 3rem; }
  .layout-side--reverse { grid-template-columns: 4fr 7fr; }
  .layout-side--reverse .layout-side__main { order: 2; }
  .layout-side__aside { position: sticky; top: 130px; }
}

.stack { display: flex; flex-direction: column; }
.stack-sm > * + * { margin-top: .75rem; }
.stack-md > * + * { margin-top: 1.5rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

.row { display: flex; align-items: center; }
.row-wrap { display: flex; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.row-gap-sm { gap: .6rem; }
.row-gap { gap: 1rem; }
.row-gap-lg { gap: 1.75rem; }
.center { text-align: center; }

/* ============================================================
   3. TIPOGRAFIA
   ============================================================ */
h1, h2, h3, .h1, .h2, .h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.05; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.h1--display { font-size: clamp(2.8rem, 12vw, 5.5rem); line-height: .98; letter-spacing: -.02em; }
.h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.1rem; }

.eyebrow {
  display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: .75rem;
  letter-spacing: .3em; text-transform: uppercase; color: #737373;
}
.eyebrow-dot::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 1px;
  background: var(--accent); margin-right: .6em; vertical-align: middle;
}
.lead { color: #737373; font-size: 1.0625rem; line-height: 1.6; }
.lead--lg { font-size: 1.125rem; }
.muted { color: #737373; }
.muted-dark { color: #d0d0d0; }
.source-link { color: #737373; text-decoration: underline; text-underline-offset: 2px; transition: color .3s var(--ease); }
.source-link:hover { color: var(--accent); }
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-accent { color: var(--accent); }
.text-ink { color: var(--ink); }
.max-measure { max-width: 42rem; }
.max-measure-sm { max-width: 32rem; }
.max-measure-lg { max-width: 56rem; }

/* ============================================================
   4. BOTTONI
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: 'Space Grotesk', sans-serif; font-size: .8rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--sm { padding: .85rem 1.5rem; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 0 24px 4px rgba(61,161,255,.5); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 24px 3px rgba(61,161,255,.35); border-color: var(--accent); transform: translateY(-2px); }
.btn--soft { border-color: rgba(0,0,0,.15); color: var(--ink); }
.btn--soft:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 30px 4px rgba(61,161,255,.25); border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn--link {
  font-family: 'Inter', sans-serif; font-size: .9rem; text-transform: none; letter-spacing: normal;
  padding: 0; border: 0; color: #737373; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(0,0,0,.2);
}
.btn--link:hover { color: var(--ink); }
.link-underline { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(0,0,0,.3); }
.link-underline--btn { background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
.link-underline:hover { text-decoration-color: var(--ink); }

/* Barra sopra header: sociale + switch lingua trasparenti nel menu scuro */
body.nav-open #site-header img { filter: invert(1) brightness(1.4); }
/* Hero scuro in home: finché l'header non è "scrolled" (sfondo bianco), logo e hamburger diventano bianchi per restare leggibili sopra lo sfondo blu notte */
body.has-dark-hero #site-header:not(.scrolled) .headerbar img { filter: invert(1) brightness(1.4); }
body.has-dark-hero #site-header:not(.scrolled) .hamburger span { background: #fff; }
body.has-dark-hero #site-header:not(.scrolled) .menu-toggle__label { color: rgba(255,255,255,.8); }
body.has-dark-hero #site-header:not(.scrolled) .menu-toggle:hover .menu-toggle__label { color: #fff; }
body.has-dark-hero #site-header:not(.scrolled) .lang-toggle { color: #fff; }
body.has-dark-hero #site-header:not(.scrolled) .lang-toggle:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   5. HEADER / NAV
   ============================================================ */
#site-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background-color .4s var(--ease); }
.social-row { display: flex; align-items: center; gap: .9rem; color: #a3a3a3; }
.social-row a:hover { color: var(--ink); }
.headerbar { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
@media (min-width: 768px) { .headerbar { padding-block: 20px; } }
.brand-logo { height: 48px; width: auto; }
@media (min-width: 768px) { .brand-logo { height: 64px; } }
.footer-logo { height: 36px; width: auto; }
.icon-logo { width: 32px; height: 32px; flex-shrink: 0; }
.icon-logo--lg { width: 80px; height: 80px; }
#site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
body.nav-open #site-header { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }

.menu-toggle { position: relative; z-index: 60; display: flex; align-items: center; gap: .5rem; }
.menu-toggle__label { font-family: 'Space Grotesk', sans-serif; font-size: .75rem; letter-spacing: .2em; color: #737373; display: none; }
@media (min-width: 768px) { .menu-toggle__label { display: inline; } }
.menu-toggle:hover .menu-toggle__label { color: var(--ink); }
.hamburger { position: relative; width: 26px; height: 18px; display: inline-block; }
.hamburger span { position: absolute; left: 0; width: 100%; height: 2px; background: #000; transition: transform .45s var(--ease), opacity .3s var(--ease), top .3s var(--ease); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }
body.nav-open .hamburger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
body.nav-open .hamburger span { background: #fff; }

.lang-switch { position: relative; }
.lang-toggle { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 500; padding: .35rem .6rem; border-radius: 999px; transition: background-color .2s var(--ease); }
.lang-toggle:hover { background: rgba(0,0,0,.05); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 80; min-width: 170px;
  background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.lang-menu button, .lang-menu a { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .5rem .6rem; border-radius: 8px; font-size: .85rem; font-weight: 400; color: #262626; text-decoration: none; transition: background-color .15s var(--ease); }
.lang-menu button:hover, .lang-menu button:focus-visible, .lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(0,0,0,.06); }
.lang-menu button[aria-current="true"] { font-weight: 600; }

.nav-backdrop { position: absolute; inset: 0; background: #000; clip-path: circle(0px at calc(100% - 48px) 64px); transition: clip-path .7s var(--ease); }
body.nav-open .nav-backdrop { clip-path: circle(150% at calc(100% - 48px) 64px); }
#site-nav { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
body.nav-open #site-nav { pointer-events: auto; }
body.nav-open { overflow: hidden; }
.nav-panel {
  position: relative; z-index: 45; height: 100%; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 4vh 8vw 6vh; padding-top: max(4vh, 168px); overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s ease .1s, visibility 0s linear .5s;
}
body.nav-open .nav-panel { opacity: 1; visibility: visible; transition: opacity .5s ease .25s; }
.nav-list { display: flex; flex-direction: column; gap: .35rem; }
.nav-link { display: flex; align-items: baseline; gap: 1rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(1.5rem, 4.2vw, 2.75rem); line-height: 1.2; color: #8a8a8a; transition: color .4s var(--ease), padding-left .4s var(--ease); padding-bottom: .1em; }
.nav-link:hover, .nav-link:focus-visible { color: var(--accent); padding-left: .5em; }
.nav-num { font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500; color: #6b6b6b; }
.nav-meta { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .75rem; color: #737373; font-size: .9rem; }
.nav-meta a:hover { color: #fff; }

/* ============================================================
   6. HERO
   ============================================================ */
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
.hero-slider { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero-slider.is-fading { opacity: 0; transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) { .hero-slider { transition: none; } }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--ink), rgba(0,0,0,.55), rgba(0,0,0,.1)); }

.hero-highlight { color: var(--accent-warm); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; text-decoration-color: rgba(255,138,61,.5); }

.btn--link--on-dark { color: rgba(255,255,255,.75); }
.btn--link--on-dark:hover { color: #fff; }

/* Griglia hero a due colonne: testo + foto. Su mobile la foto passa dietro al testo
   (position:absolute, come sfondo); su desktop torna in flusso normale a destra,
   con altezza della sezione pari all'altezza della foto (nessuna min-height forzata). */
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 1.5rem; } }

.hero-copy { position: relative; z-index: 2; max-width: 80%; }
@media (min-width: 1024px) { .hero-copy { grid-column: 1; grid-row: 1; max-width: none; } }
.hero-heading { font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.02em; }

.hero-stat-band { position: relative; z-index: 2; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.hero-stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem 3rem; }
.hero-stat-row__value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.1rem; color: #fff; line-height: 1.1; }
.hero-stat-row__label { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .35rem; }

.hero-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.hero-skill {
  display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .45rem .9rem .45rem .4rem;
  font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero-skill__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; flex-shrink: 0; color: #fff; }
.hero-skill__icon--blue { background: var(--accent); }
.hero-skill__icon--warm { background: var(--accent-warm); }

.hero-eyebrow-strip { display: flex; flex-wrap: wrap; gap: .5rem .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.hero-eyebrow-strip span:not(:last-child)::after { content: '/'; margin-left: .6rem; color: rgba(255,255,255,.3); }

.hero-float-stack { display: none; }
.hero-float-chip {
  display: inline-flex; align-items: center; gap: .6rem; background: rgba(15,18,28,.72);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .5rem 1rem .5rem .45rem;
  font-size: .78rem; font-weight: 500; color: #fff; white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: floatCard 6s ease-in-out infinite;
}
.hero-float-chip:nth-child(2) { animation-delay: -1.5s; }
.hero-float-chip:nth-child(3) { animation-delay: -3s; }
.hero-float-chip:nth-child(4) { animation-delay: -4.5s; }
.hero-float-chip__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; flex-shrink: 0; color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-float-chip { animation: none; } }

.hero-skills-wrap { padding-block: 20px; overflow: hidden; }
.hero-skills-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-skills-inline__chip {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--paper);
  border: 1px solid rgba(0,0,0,.1); border-radius: 999px; padding: .4rem .7rem .4rem .35rem;
  font-size: .66rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  box-shadow: 0 4px 16px -8px rgba(0,0,0,.15);
}
.hero-skills-inline__chip .hero-float-chip__icon { width: 1.4rem; height: 1.4rem; }
@media (min-width: 480px) {
  .hero-skills-inline__chip { font-size: .82rem; padding: .45rem 1rem .45rem .4rem; gap: .55rem; }
  .hero-skills-inline__chip .hero-float-chip__icon { width: 1.8rem; height: 1.8rem; }
}

.hero-annotation {
  display: none;
}
@media (min-width: 1024px) {
  .hero-annotation {
    display: block; position: absolute; left: -2.5rem; top: 38%; z-index: 4; width: 9rem;
    font-family: 'Caveat', cursive; font-size: 1.4rem; line-height: 1.15; color: rgba(255,255,255,.85);
    transform: rotate(-6deg);
  }
  .hero-annotation svg { position: absolute; top: 100%; left: 20%; width: 60px; height: 40px; opacity: .6; }
}

.hero-quote-card {
  display: none;
}
@media (min-width: 1024px) {
  .hero-quote-card {
    display: block; position: absolute; bottom: -1.5rem; right: -1.5rem; z-index: 4; max-width: 230px;
    background: rgba(15,18,28,.78); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
    padding: 1rem 1.15rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: .85rem; line-height: 1.4; color: #fff;
  }
  .hero-quote-card cite { display: block; margin-top: .6rem; font-size: .72rem; color: rgba(255,255,255,.6); font-style: normal; }
}
.hero-skill__icon--purple { background: var(--accent-purple); }
.hero-skill__icon--cyan { background: var(--accent-cyan); }

.hero-stat-band--light { border-top-color: rgba(0,0,0,.1); margin-top: 4rem; }
.hero-stat-band--light .hero-stat-row__value { color: var(--ink); }
.hero-stat-band--light .hero-stat-row__label { color: #737373; }
.hero-stat-band--light .hero-skill { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.1); color: var(--ink); }

.hero-visual {
  position: absolute; top: 4%; bottom: 0; right: -17%; width: 60%; z-index: 0; line-height: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 14%, #000 32%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 14%, #000 32%);
}
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 1;
}
.hero-visual__scrim { display: none; }
@media (min-width: 1024px) {
  .hero-grid { min-height: 0; }
  .hero-visual {
    position: relative; z-index: 1; inset: auto; top: auto; bottom: auto; right: auto; grid-column: 2; grid-row: 1; width: auto; max-width: 420px; margin-inline: 0 0 0 auto;
    align-self: end; overflow: visible; -webkit-mask-image: none; mask-image: none;
  }
  .hero-visual img {
    position: relative; z-index: 2; width: 100%; height: auto; object-fit: initial; opacity: 1;
  }
  .hero-visual__scrim { display: none; }
  .hero-visual::before {
    content: ''; position: absolute; inset: 8% -20% 4%; z-index: 0; opacity: .75; filter: blur(55px);
    background:
      radial-gradient(circle at 30% 25%, var(--accent), transparent 60%),
      radial-gradient(circle at 75% 70%, var(--accent-purple), transparent 55%),
      radial-gradient(circle at 20% 85%, var(--accent-warm), transparent 50%);
  }
}

/* ============================================================
   7. GRANA, PATTERN, SFONDI DECORATIVI
   ============================================================ */
.noise-overlay {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.map-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.35) 1px, transparent 0),
    linear-gradient(115deg, transparent 38%, rgba(128,128,128,.35) 38.5%, rgba(128,128,128,.35) 39%, transparent 39.5%),
    linear-gradient(65deg, transparent 61%, rgba(128,128,128,.28) 61.5%, rgba(128,128,128,.28) 62%, transparent 62.5%),
    linear-gradient(90deg, transparent, rgba(61,161,255,.55), transparent);
  background-size: 34px 34px, 100% 100%, 100% 100%, 60% 100%;
  background-position: 0 0, 0 0, 0 0, -60% 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  animation: mapSweep 7s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 75%);
}
.map-pattern--soft { opacity: .05; }
.map-pattern--faint { opacity: .04; }
@keyframes mapSweep { 0% { background-position: 0 0, 0 0, 0 0, -60% 0; } 100% { background-position: 0 0, 0 0, 0 0, 160% 0; } }
.map-pattern-full {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.4) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 0%, transparent 80%);
}
.map-pattern-full--soft { opacity: .08; }
.map-pattern-full--faint { opacity: .05; }
.map-pattern-full--light { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.5) 1px, transparent 0); opacity: .12; }
.sweep-bar { position: relative; overflow: hidden; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, rgba(61,161,255,.15), transparent); }
.sweep-bar::after { content: ''; position: absolute; inset: 0; width: 60%; background: linear-gradient(90deg, transparent, #ffffff, var(--accent), #ffffff, transparent); animation: sweepBarMove 4s linear infinite; }
@keyframes sweepBarMove { 0% { left: -60%; } 100% { left: 160%; } }
@media (prefers-reduced-motion: reduce) { .map-pattern, .sweep-bar::after { animation: none; } }

.panel-dark {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,.1); background: var(--ink);
}
@media (min-width: 768px) { .panel-dark--square { aspect-ratio: 1 / 1; } }
.panel-dark__bg { position: absolute; inset: 0; background: linear-gradient(to bottom right, #171717, #000, #171717); }
.panel-dark__glow { position: absolute; inset: 0; opacity: .7; background: radial-gradient(circle at 25% 15%, rgba(99,102,241,.3), transparent 55%), radial-gradient(circle at 80% 80%, rgba(168,85,247,.25), transparent 50%); }
.panel-dark__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding-inline: 2rem; }
.panel-light { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 768px) { .panel-light--square { aspect-ratio: auto; height: 100%; } }
.panel-light__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 30%, #eaf4ff 0%, #fff 55%, #fff 100%); }
.panel-light__glow { display: none; }
.panel-light__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding-inline: 2rem; }
.europe-network { animation: europeDrift 18s ease-in-out infinite; }
@keyframes europeDrift { 0%, 100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.03) translate(-4px,3px); } }
.node-pulse { animation: nodePulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes nodePulse { 0%, 100% { opacity: .55; r: 4; } 50% { opacity: 1; r: 6; } }
@media (prefers-reduced-motion: reduce) { .europe-network, .node-pulse { animation: none; } }

.accent-line { width: 84px; height: 3px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--accent), transparent); border-radius: 3px; }
.accent-line--left { margin: 0; }
.accent-line--my { margin-block: 2.5rem; }
@media (min-width: 768px) { .accent-line--my { margin-block: 3.5rem; } }

/* ============================================================
   8. CARD & COMPONENTI
   ============================================================ */
.card {
  position: relative; border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius); padding: 2rem;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
}
.card:hover { border-color: rgba(61,161,255,.5); }
.card--flat { border-radius: 0; }

.service-card {
  position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.1); background: var(--paper);
  padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
}
@media (min-width: 768px) { .service-card { padding: 3rem; } }
.service-card:hover { border-color: rgba(61,161,255,.5); transform: translateY(-6px); background-color: rgba(61,161,255,.03); }
.service-card-num { position: absolute; right: .4rem; bottom: -.3em; font-size: 6rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: rgba(0,0,0,.04); line-height: 1; pointer-events: none; transition: color .4s var(--ease); }
.service-card:hover .service-card-num { color: rgba(61,161,255,.08); }
.service-card__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; color: #fff; background: var(--accent);
  transition: transform .4s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.08); box-shadow: 0 8px 20px -6px rgba(61,161,255,.6); }
.service-card__icon--purple { background: var(--accent-purple); }
.service-card:hover .service-card__icon--purple { box-shadow: 0 8px 20px -6px rgba(139,92,246,.6); }
.service-card__icon--cyan { background: var(--accent-cyan); }
.service-card:hover .service-card__icon--cyan { box-shadow: 0 8px 20px -6px rgba(34,211,238,.6); }
.service-card__icon--warm { background: var(--accent-warm); }
.service-card:hover .service-card__icon--warm { box-shadow: 0 8px 20px -6px rgba(255,138,61,.6); }
.service-card__icon--pink { background: var(--accent-pink); }
.service-card:hover .service-card__icon--pink { box-shadow: 0 8px 20px -6px rgba(236,72,153,.6); }

.service-card--blue, .service-card--purple, .service-card--warm, .service-card--cyan, .service-card--pink {
  border-color: transparent; color: #fff;
}
.service-card--blue .service-card__body h3, .service-card--purple .service-card__body h3,
.service-card--warm .service-card__body h3, .service-card--cyan .service-card__body h3,
.service-card--pink .service-card__body h3 { color: #fff; }
.service-card--blue .service-card__body .muted, .service-card--purple .service-card__body .muted,
.service-card--warm .service-card__body .muted, .service-card--cyan .service-card__body .muted,
.service-card--pink .service-card__body .muted { color: rgba(255,255,255,.85); }

.service-card--blue { background: linear-gradient(150deg, #3da1ff 0%, #1c63c9 100%); }
.service-card--blue:hover { border-color: rgba(255,255,255,.5); background: linear-gradient(150deg, #52adff 0%, #1c63c9 100%); }
.service-card--blue .service-card-num { color: rgba(255,255,255,.16); }
.service-card:hover .service-card--blue .service-card-num,
.service-card--blue:hover .service-card-num { color: rgba(255,255,255,.22); }

.service-card--purple { background: linear-gradient(150deg, #a78bfa 0%, #6d28d9 100%); }
.service-card--purple:hover { border-color: rgba(255,255,255,.5); background: linear-gradient(150deg, #b39cfb 0%, #6d28d9 100%); }
.service-card--purple .service-card-num { color: rgba(255,255,255,.16); }
.service-card--purple:hover .service-card-num { color: rgba(255,255,255,.22); }

.service-card--warm { background: linear-gradient(150deg, #ffa163 0%, #d9611a 100%); }
.service-card--warm:hover { border-color: rgba(255,255,255,.5); background: linear-gradient(150deg, #ffab74 0%, #d9611a 100%); }
.service-card--warm .service-card-num { color: rgba(255,255,255,.16); }
.service-card--warm:hover .service-card-num { color: rgba(255,255,255,.22); }

.service-card--cyan { background: linear-gradient(150deg, #67e4fa 0%, #0891a8 100%); }
.service-card--cyan:hover { border-color: rgba(255,255,255,.5); background: linear-gradient(150deg, #7be9fb 0%, #0891a8 100%); }
.service-card--cyan .service-card-num { color: rgba(255,255,255,.16); }
.service-card--cyan:hover .service-card-num { color: rgba(255,255,255,.22); }

.service-card--pink { background: linear-gradient(150deg, #f472b6 0%, #be1d69 100%); }
.service-card--pink:hover { border-color: rgba(255,255,255,.5); background: linear-gradient(150deg, #f685c1 0%, #be1d69 100%); }
.service-card--pink .service-card-num { color: rgba(255,255,255,.16); }
.service-card--pink:hover .service-card-num { color: rgba(255,255,255,.22); }

.service-card__body { position: relative; }
.arrow-icon { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-size: .9rem; font-weight: 600; color: rgba(0,0,0,.8); transition: transform .4s var(--ease); }
.service-card:hover .arrow-icon, .card:hover .arrow-icon { transform: translateX(6px); }
.service-card--blue .arrow-icon, .service-card--purple .arrow-icon, .service-card--warm .arrow-icon,
.service-card--cyan .arrow-icon, .service-card--pink .arrow-icon { color: #fff; }
.service-card--blue .service-card__icon, .service-card--purple .service-card__icon, .service-card--warm .service-card__icon,
.service-card--cyan .service-card__icon, .service-card--pink .service-card__icon { background: rgba(255,255,255,.22); }

.card-row {
  position: relative; overflow: hidden; background: var(--paper);
  display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
}
@media (min-width: 768px) { .card-row { flex-direction: row; align-items: center; gap: 3rem; padding: 3.5rem; } }
.card-row:hover { border-color: rgba(61,161,255,.5); }

.icon-badge { display: inline-flex; align-items: center; justify-content: center; color: #737373; }
.quote-mark { color: #d4d4d4; }
.stars-row { color: var(--accent-warm); font-size: .8rem; letter-spacing: .12em; margin-bottom: .5rem; }

/* Dimensioni icone SVG (usate come classi inline da render_icon) */
.w-3\.5 { width: .875rem; } .h-3\.5 { height: .875rem; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }

.stat-value { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: .5rem; font-size: .8rem; color: #737373; letter-spacing: .02em; }
@media (min-width: 768px) { .stat-label { font-size: .875rem; } }

.section--page-top { padding-top: 160px; padding-bottom: 80px; }
@media (min-width: 768px) { .section--page-top { padding-top: 192px; padding-bottom: 112px; } }

.sidebar { position: sticky; top: 130px; }
.sidebar-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0,0,0,.1); margin-bottom: 2rem; background: var(--ink); }
.sidebar-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.dl-rows { display: flex; flex-direction: column; gap: 1rem; font-size: .9rem; }
.dl-rows > div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,.1); padding-bottom: .75rem; }
.dl-rows dt { color: #737373; }

.check-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-grid li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: #525252; }
.check-grid .icon-badge { margin-top: .15rem; flex-shrink: 0; color: #737373; }

.faq-item { border-top: 1px solid rgba(0,0,0,.2); padding-top: 1.5rem; }
.faq-item h3 { margin-bottom: .5rem; }
.faq-item p { color: #737373; font-size: .9rem; line-height: 1.6; }

.breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .75rem; color: #737373; margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb__current { color: #404040; }

.tag-pill { display: inline-block; padding: .5rem .9rem; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; font-size: .75rem; color: #525252; transition: color .3s var(--ease), border-color .3s var(--ease); }
.tag-pill:hover { color: var(--ink); border-color: rgba(61,161,255,.4); }

.list-check { display: flex; flex-direction: column; }
.list-check li { display: flex; align-items: flex-start; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(0,0,0,.1); }
.list-check li:first-child { border-top: 0; }
.list-check .icon-badge { margin-top: .1rem; flex-shrink: 0; }

.list-links { display: flex; flex-direction: column; gap: .75rem; }
.list-links a { display: inline-flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: #525252; transition: color .3s var(--ease); }
.list-links a:hover { color: var(--ink); }
.list-links svg { margin-top: .2rem; flex-shrink: 0; }

/* ============================================================
   9. MARQUEE & CAROSELLI
   ============================================================ */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: marqueeScroll 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; color: #d4d4d4; }
@media (min-width: 768px) { .marquee-item { font-size: 1.25rem; } }
.marquee-item--accent { color: var(--accent, #3da1ff); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.testimonial-track {
  display: flex; gap: 1.5rem; overflow-x: auto; padding: 1rem 20px; scroll-behavior: smooth;
  scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track > blockquote { scroll-snap-align: start; flex-shrink: 0; width: 320px; }
@media (min-width: 768px) {
  .testimonial-track { padding-inline: 40px; scroll-padding-inline: 40px; }
  .testimonial-track > blockquote { width: 420px; }
}
.carousel-arrow { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; color: #000; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); flex-shrink: 0; }
.carousel-arrow:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ============================================================
   10. SFONDO CTA "AURORA" & PANNELLO STATISTICHE SCURO
   ============================================================ */
.cta-aurora { position: absolute; inset-block: -80px; inset-inline: 0; overflow: hidden; pointer-events: none; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: blobDrift 16s ease-in-out infinite; }
.cta-blob--1 { width: 420px; height: 420px; top: -10%; left: 8%; background: radial-gradient(circle, #3da1ff, transparent 70%); animation-delay: 0s; }
.cta-blob--2 { width: 380px; height: 380px; top: 10%; right: 6%; background: radial-gradient(circle, #8b5cf6, transparent 70%); animation-delay: -4s; }
.cta-blob--3 { width: 320px; height: 320px; bottom: -12%; left: 30%; background: radial-gradient(circle, #22d3ee, transparent 70%); animation-delay: -8s; opacity: .6; }
.cta-blob--4 { width: 300px; height: 300px; bottom: 0; right: 22%; background: radial-gradient(circle, #ff8a3d, transparent 70%); opacity: .5; animation-delay: -12s; }
@keyframes blobDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.08); } 66% { transform: translate(-24px, 18px) scale(0.95); } }
@media (prefers-reduced-motion: reduce) { .cta-blob { animation: none; } }

.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .8; animation: blobDrift 18s ease-in-out infinite; }
.hero-blob--1 { width: 560px; height: 560px; top: -16%; left: -8%; background: radial-gradient(circle, var(--accent), transparent 65%); opacity: 1; animation-delay: 0s; }
.hero-blob--2 { width: 480px; height: 480px; top: 2%; right: -10%; background: radial-gradient(circle, #8b5cf6, transparent 70%); opacity: .85; animation-delay: -5s; }
.hero-blob--3 { width: 420px; height: 420px; bottom: -18%; left: 20%; background: radial-gradient(circle, #22d3ee, transparent 70%); animation-delay: -10s; opacity: .7; }
.hero-blob--4 { width: 380px; height: 380px; bottom: -12%; right: 14%; background: radial-gradient(circle, #ff8a3d, transparent 70%); animation-delay: -14s; opacity: .65; }
.hero-blob--5 { width: 300px; height: 300px; top: 32%; left: 42%; background: radial-gradient(circle, #ec4899, transparent 70%); animation-delay: -7s; opacity: .5; }
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }

/* Griglia tecnologica animata + fascio di luce che attraversa la scena: sfondo hero più "futuristico" */
.hero-tech-grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(61,161,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,161,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 0%, rgba(0,0,0,.6) 45%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 0%, rgba(0,0,0,.6) 45%, transparent 82%);
  animation: techGridDrift 16s linear infinite;
}
@keyframes techGridDrift { from { background-position: 0 0, 0 0; } to { background-position: 46px 46px, 46px 46px; } }

.hero-scanline { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-scanline::before {
  content: ''; position: absolute; top: -60%; left: -30%; width: 45%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), rgba(61,161,255,.22), transparent);
  transform: rotate(8deg); animation: heroScanSweep 7s ease-in-out infinite;
}
@keyframes heroScanSweep { 0%, 100% { left: -35%; } 50% { left: 110%; } }
@media (prefers-reduced-motion: reduce) { .hero-tech-grid, .hero-scanline::before { animation: none; } }

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer { position: relative; border-top: 1px solid rgba(0,0,0,.1); margin-block-start: 96px; }
@media (min-width: 768px) { .site-footer { margin-block-start: 128px; } }
.footer-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; padding-block: 64px; }
@media (min-width: 540px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(5, 1fr); gap: 2.5rem; padding-block: 80px; } }
.footer-col--wide { grid-column: span 1; }
@media (min-width: 540px) { .footer-col--wide { grid-column: span 2; } }
.footer-col h3 { margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.footer-col a { color: #525252; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-partner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 32px; }
.google-partner-badge {
  display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem;
  border: 1px solid rgba(0,0,0,.12); border-radius: 999px; font-size: .95rem; font-weight: 500; color: #404040;
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.google-partner-badge:hover { border-color: var(--accent); color: var(--ink); background: rgba(61,161,255,.05); }
.google-partner-badge__g {
  display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.1); font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.05rem; color: #4285F4;
}
.footer-bottom { position: relative; border-top: 1px solid rgba(0,0,0,.1); }
.footer-bottom__inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 24px; font-size: .75rem; color: #737373; }
@media (min-width: 768px) { .footer-bottom__inner { flex-direction: row; } }

/* ============================================================
   12. FORM CONTATTI
   ============================================================ */
.form-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.form-field label { display: block; font-size: .75rem; letter-spacing: .15em; color: #737373; margin-bottom: .75rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.2);
  outline: none; padding-block: .75rem; font-size: 1rem; transition: border-color .3s var(--ease);
}
.form-field select { background: var(--paper); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink); }
.form-field textarea { resize: none; }
.form-check { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: #737373; }
.form-check input { margin-top: .25rem; accent-color: #000; }
.form-honeypot { display: none; }

/* ============================================================
   13. CORPO ARTICOLI BLOG
   ============================================================ */
.prose-article { color: #404040; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .prose-article { font-size: 1.125rem; } }
.prose-article > * + * { margin-top: 1.5rem; }
.prose-article h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.5rem; color: #000; margin-top: 2.5rem; margin-bottom: .75rem; }
.prose-article h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.2rem; color: #000; margin-top: 2rem; margin-bottom: .5rem; }
.prose-article ul { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-direction: column; gap: .6rem; }
.prose-article ul li { position: relative; padding-left: 1.6rem; }
.prose-article ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 1px; background: #808080; }
.prose-article strong { color: #000; font-weight: 600; }
.prose-article a { color: #000; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.3); }
.prose-article a:hover { text-decoration-color: #000; }
.prose-article blockquote { border-left: 2px solid #808080; padding-left: 1.25rem; color: #595959; font-style: italic; margin: 1.5rem 0; }

/* ============================================================
   14. UTILITY MINIME
   ============================================================ */
.hidden { display: none; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: .75rem; } .mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 2rem; } .mt-6 { margin-top: 2.5rem; }
.hero-copy .mt-6 { margin-top: 1.5rem; padding-bottom: 30px; }
.mt-7 { margin-top: 3rem; } .mt-8 { margin-top: 3.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: .75rem; } .mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 2.5rem; }
.mb-7 { margin-bottom: 3rem; } .mb-8 { margin-bottom: 3.5rem; }
.pt-1 { padding-top: .5rem; } .pt-2 { padding-top: .75rem; } .pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; } .pt-6 { padding-top: 2.5rem; }
.pt-hero { padding-top: 192px; } .pt-0 { padding-top: 0; }
.pb-hero { padding-bottom: 80px; }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.max-w-xs { max-width: 220px; }
.block { display: block; }
.eyebrow--block { display: block; }
.inline-block { display: inline-block; }
.rel { position: relative; }
.z-60 { z-index: 60; }
.abs-fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.opacity-soft { opacity: .07; }
.italic { font-style: italic; }
.fw-medium { font-weight: 500; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.lh-tight { line-height: 1.15; }
.prose-lead { color: #525252; line-height: 1.7; font-size: 1.0625rem; }
.mt-nudge { margin-top: .1rem; }
.step-item { border-top: 1px solid rgba(0,0,0,.2); padding-top: 1.25rem; }
.pb-hero-sm { padding-bottom: 80px; }
.article-cta-row { flex-wrap: wrap; gap: 1.5rem; margin-top: 4rem; padding-top: 2.5rem; }
.lh-sm { line-height: 1.3; }
.lh-md { line-height: 1.6; }
.lh-lg { line-height: 1.7; }
.text-white { color: #fff; }
.text-body { color: #404040; }
.text-not-italic { font-style: normal; }
.row-top { align-items: flex-start; gap: 1rem; }
.row-index { color: #a3a3a3; flex-shrink: 0; }
.icon-on-dark { color: rgba(255,255,255,.8); }
.stat-value--sm { font-size: 1.75rem; }
.card--soft { background: rgba(0,0,0,.02); }
.stack--nogap { gap: 1px; background: rgba(0,0,0,.1); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: var(--section-head-mb, 3.5rem); }
.section-head--sm { --section-head-mb: 2rem; }
.arrow-icon--flat { margin-top: 0; color: rgba(0,0,0,.8); }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.gap-8 { gap: 3.5rem; }
.stat-block { padding-block: 2.5rem; padding-inline: 1rem; }
.label-meta { letter-spacing: .15em; color: #737373; }
.delay-a { animation-delay: .12s; } .delay-b { animation-delay: .22s; } .delay-c { animation-delay: .32s; }
.delay-d { animation-delay: .6s; } .delay-e { animation-delay: 1.2s; }
@media (min-width: 640px) { .sm-show { display: revert; } }
@media (max-width: 639px) { .sm-hide { display: none; } }
@media (min-width: 768px) { .md-show { display: revert; } .md-hide { display: none; } }
.nowrap { white-space: nowrap; }
.rounded-photo { border-radius: var(--radius); overflow: hidden; }
.avatar-circle { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: .75rem; }

/* ============================================================
   15. SCROLL REVEAL & PARALLASSE
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-parallax] { will-change: transform; }

/* ============================================================
   16. RIDUZIONE MOTION (accessibilità)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   17. COOKIE BANNER (consenso GDPR)
   ============================================================ */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 640px; margin-inline: auto; background: #0f121c; color: #fff;
  border-radius: 14px; box-shadow: 0 12px 40px -12px rgba(0,0,0,.45);
  padding: 1.25rem 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.85); margin: 0; }
.cookie-banner a { color: #fff; }
.cookie-banner__actions { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.cookie-banner .btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-banner .btn--outline:hover { border-color: #fff; }
@media (min-width: 640px) {
  .cookie-banner__inner { display: flex; align-items: center; gap: 1.5rem; }
  .cookie-banner__actions { margin-top: 0; flex-shrink: 0; }
}

/* ============================================================
   18. GOOGLE TRANSLATE (widget nascosto per ES/DE/NL/FR/UK)
   ============================================================ */
.google-translate-hidden { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
body.translated-ltr, body.translated-rtl { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; visibility: hidden !important; height: 0 !important; }
#goog-gt-vt, #goog-gt-tt { display: none !important; }
#google_translate_element2 { display: none !important; }
.goog-te-spinner-pos, .goog-te-spinner-animation, .goog-te-gadget-icon { display: none !important; }
/* Overlay di caricamento "spinner" di Google Translate: le classi hanno un
   prefisso stabile (VIpgJd-ZVi9od-...) ma un suffisso versionato da Google,
   quindi usiamo un selettore per attributo/prefisso invece del nome esatto. */
div[class*="VIpgJd-ZVi9od"] { display: none !important; }
body > .skiptranslate:first-child { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
