/* PowerUp · stile condiviso da tutte le pagine */
/* Font Inter ospitato sul sito (nessun collegamento ai server Google) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --dark: #000000;
  --dark-tile: #161617;
  --dark-text-2: #a1a1a6;
  --brand-grad: linear-gradient(90deg, #0071e3 0%, #00b5e2 100%);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1260px; margin: 0 auto; padding: 0 22px; }

/* ─── Tipografia ─── */
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text); margin-bottom: 8px; }
.eyebrow-blue { color: var(--blue); }
.h-hero { font-size: clamp(48px, 8vw, 96px); line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; }
.h-section { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.009em; }
.h-tile { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: .009em; color: var(--text-2); }
.muted { color: var(--text-2); }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Pulsanti e link ─── */
.btn {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
  padding: 12px 22px; border-radius: 980px; border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn-sm { font-size: 12px; padding: 4px 11px; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.link-more { font-size: 17px; }
.link-more::after { content: " ›"; }
.cta-row { display: flex; gap: 32px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }

/* ─── Navigazione ─── */
.nav {
  position: sticky; top: 0; z-index: 100; height: 48px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
/* Sfondo sfocato su un livello separato: se il blur fosse sulla barra stessa,
   il menu a tutto schermo resterebbe "chiuso" dentro i 48px della barra */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251,251,253,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.open::before { background: rgb(251,251,253); }
.nav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 22px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 12px; color: rgba(0,0,0,.8); letter-spacing: -0.01em; }
.nav-links a:hover { color: #000; text-decoration: none; }
.nav-links a[aria-current="page"] { color: #000; font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: block; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; margin-right: -12px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 5px auto; transition: transform .3s; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Menu a tutto schermo (si apre con il pulsante ≡) */
.nav-menu {
  position: fixed; top: 48px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgb(251,251,253);
  overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.nav.open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
.nav-menu-inner { max-width: 980px; margin: 0 auto; padding: 56px 22px 48px; min-height: 100%; display: flex; flex-direction: column; }
.nav-menu ul { list-style: none; }
.nav-menu li { border-bottom: 1px solid #e8e8ed; }
.nav-menu li a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0; color: var(--text); font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.nav-menu li a span { font-size: 17px; font-weight: 400; color: var(--text-2); letter-spacing: -0.022em; text-align: right; }
.nav-menu li a:hover { text-decoration: none; color: var(--blue); }
.nav-menu li a[aria-current="page"] { color: var(--blue); }
.nav-menu-foot { margin-top: auto; padding-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; color: var(--text-2); }
.nav-menu-foot .btn { font-size: 17px; }
.nav.open ~ main, .nav.open ~ footer { pointer-events: none; }

/* ─── Hero home ─── */
.hero { padding: 120px 0 72px; text-align: center; }
.hero-logo { width: min(340px, 70vw); height: auto; margin: 0 auto 40px; mix-blend-mode: multiply; }
.hero .eyebrow { color: var(--blue); }
.hero .lead { max-width: 680px; margin: 20px auto 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.stat-tile { background: var(--bg-alt); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.stat-num { font-size: clamp(44px, 5.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat-label { margin-top: 10px; font-size: 17px; color: var(--text-2); }

/* ─── Intestazione pagine interne ─── */
.page-hero { padding: 96px 0 72px; text-align: center; }
.page-hero .lead { max-width: 700px; margin: 24px auto 0; }
.jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { background: var(--bg-alt); color: var(--text); border-radius: 980px; padding: 8px 18px; font-size: 14px; }
.jump a:hover { background: #e8e8ed; text-decoration: none; }

/* ─── Loghi clienti ─── */
.logos { padding: 56px 0 88px; }
.logos-title { font-size: 14px; font-weight: 600; color: var(--text-3); text-align: center; margin-bottom: 32px; letter-spacing: 0; }
.logo-track-outer { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.logo-set img, .logo-grid img { height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: invert(1) grayscale(1); mix-blend-mode: multiply; opacity: .55; transition: opacity .3s; }
.logo-set img:hover, .logo-grid img:hover { opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-grid div { background: var(--bg-alt); border-radius: 20px; height: 120px; display: grid; place-items: center; padding: 16px; }

/* ─── Sezioni ─── */
.section { padding: 120px 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #f5f5f7; }
.section-dark .eyebrow { color: var(--dark-text-2); }
.section-dark .muted, .section-dark .lead { color: var(--dark-text-2); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.section-head .lead { margin-top: 20px; }
.section-foot { text-align: center; margin-top: 48px; }

/* Blocco due colonne (testo + immagine/numero) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .lead { margin-top: 20px; }
.split p.body { margin-top: 20px; color: var(--text-2); }
.split p.body strong { color: var(--text); font-weight: 600; }

/* Problema */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { background: var(--dark-tile); border-radius: var(--radius); padding: 40px; }
.pain h3 { font-size: 24px; font-weight: 600; line-height: 1.17; margin-bottom: 10px; letter-spacing: .009em; }
.pain p { color: var(--dark-text-2); }
.pain-x { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,69,58,.16); color: #ff453a; display: grid; place-items: center; font-size: 16px; font-weight: 600; margin-bottom: 24px; }

/* Servizi (anteprima in home) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { background: var(--bg); border-radius: var(--radius); padding: 48px 44px 52px; min-height: 360px; display: flex; flex-direction: column; color: var(--text); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
a.service:hover { text-decoration: none; transform: scale(1.015); box-shadow: 0 8px 40px rgba(0,0,0,.06); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-alt); display: grid; place-items: center; margin-bottom: auto; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-num { font-size: 14px; font-weight: 600; color: var(--text-3); margin-top: 56px; margin-bottom: 8px; }
.service p { color: var(--text-2); margin-top: 12px; }
.service .link-more { margin-top: 20px; color: var(--link); }

/* Servizi (pagina di dettaglio) */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding: 88px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .service-icon { margin-bottom: 28px; background: #fff; }
.service-detail p { color: var(--text-2); margin-top: 16px; }
.includes { background: #fff; border-radius: var(--radius); padding: 36px 36px 28px; }
.includes h4 { font-size: 14px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.includes ul { list-style: none; }
.includes li { padding: 14px 0; border-bottom: 1px solid #e8e8ed; display: flex; gap: 12px; }
.includes li:last-child { border-bottom: 0; }
.includes li::before { content: "✓"; color: var(--blue); font-weight: 600; }

/* Risultati */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case { background: var(--bg-alt); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.section-alt .case { background: #fff; }
.case-industry { font-size: 14px; font-weight: 600; color: var(--text-2); }
.case-views { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-top: 20px; }
.case-desc { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-top: 28px; }
.bars i { flex: 1; border-radius: 4px; background: #d8e8fb; height: 0; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.bars i:last-child { background: var(--blue); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }

/* Fondatore */
.founder-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-alt); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder-stats { display: flex; gap: 40px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder-stats b { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.founder-stats span { font-size: 14px; color: var(--text-2); }

/* Card generiche (valori, istituzioni) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg-alt); border-radius: var(--radius); padding: 36px 32px; }
.section-alt .card { background: #fff; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-2); }
.card .card-num { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 20px; display: block; }

/* Settori */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.chip { background: var(--bg-alt); border-radius: 980px; padding: 12px 22px; font-size: 17px; }
.section-alt .chip { background: #fff; }

/* Istituzioni */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.photo img { width: 100%; height: 480px; object-fit: cover; object-position: center 40%; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 40px 32px; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); color: #fff; }
.photo figcaption b { display: block; font-size: 24px; font-weight: 600; }
.photo figcaption span { font-size: 14px; color: rgba(255,255,255,.8); }

/* Recensioni */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--bg); border-radius: var(--radius); padding: 40px 36px; display: flex; flex-direction: column; }
.stars { color: #ff9f0a; letter-spacing: 3px; font-size: 15px; }
.review blockquote { font-size: 21px; line-height: 1.38; font-weight: 500; letter-spacing: .011em; margin: 20px 0 32px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-weight: 600; color: var(--text-2); }
.review footer b { display: block; font-size: 15px; font-weight: 600; }
.review footer span { font-size: 14px; color: var(--text-2); }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 32px 4px 0; border-top: 1px solid var(--line); }
.step-num { font-size: 14px; font-weight: 600; color: var(--blue); }
.step h3 { font-size: 24px; font-weight: 600; margin: 10px 0; }
.step p { color: var(--text-2); }

/* Invito finale (in fondo a ogni pagina) */
.final { padding: 140px 0; text-align: center; background: var(--bg-alt); }
.final .lead { max-width: 620px; margin: 24px auto 0; }
.final-note { margin-top: 24px; font-size: 14px; color: var(--text-3); }

/* Contatti */
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 44px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card h2 { font-size: 28px; font-weight: 600; line-height: 1.14; }
.contact-card p { color: var(--text-2); margin: 12px 0 28px; }
.contact-card .btn { margin-top: auto; }
.form-card { background: var(--bg-alt); border-radius: var(--radius); padding: 48px 40px; }
.form-card h2 { font-size: 28px; font-weight: 600; }
.form-card > p { color: var(--text-2); margin-top: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); }

/* ─── Footer ─── */
.footer { background: var(--bg-alt); font-size: 12px; color: var(--text-2); padding: 20px 0 24px; line-height: 1.33; letter-spacing: -0.01em; border-top: 1px solid var(--line); }
.footer a { color: #424245; }
.footer-top { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.footer-logo { height: 36px; width: auto; mix-blend-mode: multiply; margin-bottom: 12px; }
.footer-cols h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; }

/* ─── Comparsa allo scroll ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 1068px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 833px) {
  .nav-links, .nav .btn-sm { display: none; }
  .nav-menu-inner { padding: 24px 22px 32px; }
  .nav-menu li a { flex-direction: column; gap: 4px; padding: 14px 0; }
  .nav-menu li a span { text-align: left; font-size: 15px; }

  .section { padding: 88px 0; }
  .section-tight { padding-top: 0; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 72px 0 56px; }
  .hero-stats, .totals { grid-template-columns: 1fr; }
  .hero-stats { margin-top: 48px; }
  .pain-grid, .services, .reviews, .cards-3, .contact-options, .form { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 36px 28px 40px; }
  .service-num { margin-top: 36px; }
  .pain { padding: 32px 28px; }
  .split, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail { padding: 64px 0; }
  .photo img { height: 300px; }
  .photo figcaption { padding: 60px 24px 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .final { padding: 104px 0; }
  .logo-set img { height: 34px; }
  .logo-set { gap: 48px; padding-right: 48px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card, .contact-card { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .h-hero { font-size: 10vw; }
  .h-section { font-size: clamp(32px, 10vw, 40px); }
  .cases, .steps { grid-template-columns: 1fr; }
  .founder-stats { gap: 24px; }
  .cta-row { gap: 20px; }
}

/* ─── Confronto (Metodo PWUP vs alternative) ─── */
.compare { background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid #e8e8ed; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--text-2); background: #fff; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--text-2); }
.compare .us { background: rgba(0,113,227,.06); color: var(--text); font-weight: 500; }
.compare thead .us { color: var(--blue); }
.no::before { content: "✕  "; color: #ff453a; font-weight: 600; }
.yes::before { content: "✓  "; color: var(--blue); font-weight: 600; }

/* ─── Blocco costo del problema ─── */
.cost-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cost { border-top: 1px solid #424245; padding-top: 24px; }
.cost b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.cost p { color: var(--dark-text-2); margin-top: 10px; }

/* ─── Domande frequenti ─── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 28px 0; }

@media (max-width: 833px) {
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare table { min-width: 640px; font-size: 15px; }
  .compare th, .compare td { padding: 16px; }
  .cost-list { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }
}

/* ─── Casi studio reali ─── */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
a.case-card:hover { text-decoration: none; transform: scale(1.01); box-shadow: 0 8px 40px rgba(0,0,0,.06); }
/* Spazio immagine: ora logo del cliente su fondo nero, poi foto reale */
.case-media { background: #000; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.case-media img.logo { max-width: 55%; max-height: 42%; width: auto; height: auto; object-fit: contain; }
.case-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.case-media .initials { color: #fff; font-size: 40px; font-weight: 600; letter-spacing: .02em; }
.case-body { padding: 32px 36px 36px; display: flex; flex-direction: column; flex: 1; }
.case-tag { font-size: 14px; font-weight: 600; color: var(--text-2); }
.case-title { font-size: 28px; font-weight: 600; line-height: 1.14; margin-top: 8px; letter-spacing: .004em; }
.case-body > p { color: var(--text-2); margin-top: 12px; }
.metrics { display: flex; flex-wrap: wrap; gap: 24px 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #e8e8ed; }
.metrics div b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.metrics div span { font-size: 14px; color: var(--text-2); }
.case-card .link-more { margin-top: auto; padding-top: 24px; color: var(--link); }
.section:not(.section-alt) .case-card { background: var(--bg-alt); }

/* Caso in dettaglio (pagina Risultati) */
.case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.case-detail:first-child { border-top: 0; padding-top: 0; }
.case-detail .case-media { border-radius: var(--radius); aspect-ratio: 4 / 3; }
.case-detail .case-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.case-detail p.body { color: var(--text-2); margin-top: 16px; }
.case-quote { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--blue); }
.case-quote blockquote { font-size: 19px; line-height: 1.42; font-weight: 500; }
.case-quote figcaption { font-size: 14px; color: var(--text-2); margin-top: 10px; }

@media (max-width: 833px) {
  .case-grid, .case-detail { grid-template-columns: 1fr; }
  .case-detail { gap: 28px; padding: 56px 0; }
  .case-body { padding: 28px 24px 32px; }
  .case-title { font-size: 24px; }
}
/* Foto verticali dei clienti nella pagina Casi reali */
.case-detail .case-media.has-photo { aspect-ratio: 4 / 5; }

/* ─── Competenze del fondatore ─── */
.founder-quote { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--blue); }
.founder-quote blockquote { font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: .004em; }
.founder-quote figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.traits span { background: #fff; border-radius: 980px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.section:not(.section-alt) .traits span { background: var(--bg-alt); }
.skill { display: flex; flex-direction: column; }
.skill .service-icon { margin-bottom: 24px; background: #fff; }
.section:not(.section-alt) .skill .service-icon { background: #fff; }
.skill .proof { margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--text-2); }
.skill .proof b { display: block; color: var(--blue); font-weight: 600; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ─── Sfumature di colore (apertura Home e invito finale) ─── */
.hero, .final { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after, .final::before, .final::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
/* Home: grande alone in alto a destra, uno più piccolo a sinistra */
.hero::before {
  width: min(760px, 130vw); aspect-ratio: 1; top: -260px; right: -240px;
  background: radial-gradient(circle at 35% 35%, rgba(0,181,226,.5), rgba(0,113,227,.3) 45%, transparent 70%);
}
.hero::after {
  width: min(560px, 110vw); aspect-ratio: 1; top: 360px; left: -300px;
  background: radial-gradient(circle at 60% 50%, rgba(0,113,227,.36), rgba(120,160,255,.2) 50%, transparent 72%);
  animation-duration: 28s; animation-direction: alternate-reverse;
}
/* Invito finale: aloni ai lati del titolo */
.final::before {
  width: min(620px, 120vw); aspect-ratio: 1; bottom: -280px; left: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(0,181,226,.45), rgba(0,113,227,.26) 45%, transparent 70%);
}
.final::after {
  width: min(520px, 110vw); aspect-ratio: 1; top: -220px; right: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(0,113,227,.34), rgba(0,181,226,.18) 50%, transparent 72%);
  animation-duration: 26s; animation-direction: alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 30px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .final::before, .final::after { animation: none; }
}

/* ─── Nastro video che scorre (Home) ─── */
.reels { padding: 120px 0; background: var(--dark); color: #f5f5f7; overflow: hidden; }
.reels .section-head .eyebrow { color: var(--dark-text-2); }
.reels .section-head .lead { color: var(--dark-text-2); }
.reel-track-outer { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; width: max-content; animation: scroll 70s linear infinite; }
.reel-track:hover { animation-play-state: paused; }
.reel-set { display: flex; gap: 20px; padding-right: 20px; }
.reel { position: relative; width: 250px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--dark-tile); flex-shrink: 0; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); font-size: 14px; font-weight: 600; color: #fff; }
.reel figcaption span { display: block; font-weight: 400; color: rgba(255,255,255,.75); font-size: 12px; margin-top: 2px; }
@media (max-width: 833px) {
  .reels { padding: 88px 0; }
  .reel { width: 180px; border-radius: 18px; }
  .reel-set { gap: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .reel-track-outer { overflow-x: auto; }
}

/* Conferma invio modulo */
.form-done { text-align: center; padding: 40px 0 16px; }
.form-done-icon { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 600; }
.form-done h2 { font-size: 28px; font-weight: 600; }
.form-done p { color: var(--text-2); margin: 10px auto 0; max-width: 460px; }
.form-note.form-error { color: #d70015; }
.form .btn:disabled { opacity: .6; cursor: default; }

/* ─── Pagine legali (Privacy Policy) ─── */
.legal { max-width: 760px; margin: 0 auto; padding: 0 22px; }
.legal-date { font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.legal h2 { font-size: 24px; font-weight: 600; margin: 48px 0 12px; letter-spacing: .009em; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
/* Parti da completare: evidenziate finché non vengono sostituite */
.todo { background: #fff3b0; color: var(--text); padding: 0 4px; border-radius: 4px; }

/* ─── Parete 3D di video in apertura (Home) ─── */
.wall {
  position: relative; height: calc(var(--cw, 210px) * 1.78 + 60px); margin-top: 40px;
  perspective: 1600px; perspective-origin: 50% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.wall.dragging { cursor: grabbing; }
.wall-ring {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r, 800px) * -1)) rotateX(-4deg) rotateY(var(--rot, 0deg));
  will-change: transform;
}
.wall-card {
  position: absolute; margin: 0; width: var(--cw, 210px); aspect-ratio: 9 / 16;
  left: calc(var(--cw, 210px) * -0.5); top: calc(var(--cw, 210px) * -0.8889);
  transform: rotateY(calc(var(--i) * var(--step, 15deg))) translateZ(var(--r, 800px));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 20px; overflow: hidden; background: var(--dark-tile);
  box-shadow: 0 24px 48px rgba(15, 27, 61, .16);
}
.wall-card video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.wall-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.66), transparent);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; text-align: left;
}
.wall-hint { margin-top: 8px; font-size: 13px; color: var(--text-3); }
@media (max-width: 833px) { .wall { margin-top: 36px; } .wall-card { border-radius: 14px; } .wall-card figcaption { font-size: 11px; padding: 28px 10px 8px; } }

/* ─── Landing page di vendita (call-gratuita.html) ─── */
.lp-bar { position: sticky; top: 0; z-index: 100; height: 56px; border-bottom: 1px solid rgba(0,0,0,.08); }
.lp-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251,251,253,.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.lp-bar .nav-inner { max-width: 1024px; }
.lp-bar .nav-logo img { height: 22px; }
.lp-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 15px; color: var(--text-2); }
.lp-proof b { color: var(--text); font-weight: 600; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-col { border-radius: var(--radius); padding: 36px 32px; }
.fit-col h3 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.fit-col ul { list-style: none; display: grid; gap: 14px; }
.fit-col li { display: flex; gap: 12px; font-size: 17px; }
.fit-yes { background: var(--bg-alt); }
.fit-yes li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.fit-no { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fit-no li { color: var(--text-2); }
.fit-no li::before { content: "✕"; color: #d70015; font-weight: 700; }
.offer { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 44px 40px; box-shadow: 0 18px 60px rgba(0,0,0,.06); }
.offer-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.offer-price b { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.offer-price span { color: var(--text-2); }
.offer ul { list-style: none; margin-top: 28px; display: grid; gap: 0; }
.offer li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid #e8e8ed; font-size: 17px; }
.offer li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.offer li b { font-weight: 600; }
.offer .btn { margin-top: 28px; }
.offer-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.sticky-cta { display: none; }
.lp-footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: var(--text-3); text-align: center; }
.lp-footer a { color: var(--text-2); }
@media (max-width: 833px) {
  .fit { grid-template-columns: 1fr; }
  .offer { padding: 32px 22px; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; text-align: center; padding: 15px 20px; box-shadow: 0 10px 30px rgba(0,113,227,.35); transition: transform .3s, opacity .3s; }
  .sticky-cta.hide { transform: translateY(140%); opacity: 0; }
  .lp-footer { padding-bottom: 100px; }
}

/* ─── Timeline orizzontale delle fasi (Home, Analisi) ─── */
.timeline { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; text-align: center; }
.timeline.tl-3 { --n: 3; }
.tl-line { position: absolute; top: 22px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-fill { display: block; width: 0; height: 100%; background: var(--blue); transition: width 2.4s cubic-bezier(.4, 0, .2, 1); }
.timeline.attiva .tl-fill { width: 100%; }
.tl-step { position: relative; }
.tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--text-3); font-size: 15px; font-weight: 600; transition: background .45s, border-color .45s, color .45s, transform .45s; transition-delay: calc(var(--i, 0) * .6s); }
.timeline.attiva .tl-dot { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }
.tl-step h3 { font-size: 22px; font-weight: 600; margin: 8px 0 8px; }
.tl-step p { color: var(--text-2); max-width: 30ch; margin: 0 auto; }
@media (max-width: 833px) {
  .timeline, .timeline.tl-3 { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .tl-step { padding-left: 64px; min-height: 44px; }
  .tl-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .tl-line { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .tl-fill { width: 100%; height: 0; transition: height 2.4s cubic-bezier(.4, 0, .2, 1); }
  .timeline.attiva .tl-fill { height: 100%; }
  .tl-step p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-fill, .tl-dot { transition: none; }
}

/* ─── Modulo: gruppi di campi ─── */
.form-group-title { grid-column: 1 / -1; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 8px; }
.form-group-title:not(:first-of-type) { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ─── Facsimile del report di analisi ─── */
.report-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.report { background: #fff; border-radius: 22px; padding: 32px 30px; box-shadow: 0 30px 80px rgba(15, 27, 61, .12), 0 2px 6px rgba(15, 27, 61, .06); transform: rotate(-1.2deg); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report-head b { font-size: 15px; }
.report-head span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--bg-alt); border-radius: 999px; padding: 4px 10px; }
.report-sec { padding: 16px 0; border-bottom: 1px solid #eef0f4; }
.report-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.report-sec h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.report-line { height: 8px; border-radius: 4px; background: #e8ebf1; margin-top: 7px; }
.report-bars { display: grid; gap: 7px; }
.report-bars div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; font-size: 11px; color: var(--text-2); }
.report-bars i { display: block; height: 8px; border-radius: 4px; background: var(--blue); opacity: .8; }
.report-todo { list-style: none; display: grid; gap: 8px; font-size: 12px; color: var(--text-2); }
.report-todo li { display: flex; gap: 8px; align-items: center; }
.report-todo li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--blue); flex-shrink: 0; }
.report-todo li i { flex: 1; height: 8px; border-radius: 4px; background: #e8ebf1; }
.report-note { margin-top: 14px; font-size: 12px; color: var(--text-3); }
@media (max-width: 833px) { .report-wrap { grid-template-columns: 1fr; gap: 36px; } .report { transform: none; padding: 26px 22px; } }

/* ─── Servizi: fasi come schede interattive ─── */
.fasi-tab { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.fasi-tab button { font: inherit; font-size: 15px; font-weight: 500; color: var(--text); background: #fff; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.fasi-tab button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.fasi-tab button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.js-fasi .service-detail { display: none; border-top: 0; padding-top: 0; }
.js-fasi .service-detail.visibile { display: grid; animation: fase-in .45s ease both; }
@keyframes fase-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js-fasi .service-detail.visibile { animation: none; } }
.hero-social { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.hero-social b { color: var(--text-2); font-weight: 600; }

/* ─── Blog in stile Netflix: articolo in evidenza + file per categoria ─── */
.blog-featured { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; min-height: 380px; }
.blog-featured:hover { text-decoration: none; }
.blog-featured .media { position: relative; min-height: 280px; }
.blog-featured .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--dark)); }
.blog-featured .txt { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.blog-featured .txt h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; }
.blog-featured .txt p { color: var(--dark-text-2); }
.post-meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8FA6EC; }
.blog-row { margin-top: 64px; }
.blog-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.blog-row-head h2 { font-size: 26px; font-weight: 600; }
.blog-row-head p { color: var(--text-2); font-size: 15px; }
.row-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.row-track::-webkit-scrollbar { display: none; }
.post-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--bg-alt); color: var(--text); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
a.post-card:hover { text-decoration: none; transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.post-card .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--dark-tile); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.post-card .body span { font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.post-card .body h3 { font-size: 18px; line-height: 1.25; font-weight: 600; }
.post-card.presto { opacity: .62; }
.post-card.presto .thumb::after { content: "In arrivo"; position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--text); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.post-card.presto .thumb img { filter: saturate(.6) brightness(.85); }
@media (max-width: 833px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .media::after { background: linear-gradient(0deg, var(--dark), transparent 60%); }
  .blog-featured .txt { padding: 28px 24px 32px; }
  .row-track { grid-auto-columns: 78%; }
}

/* ─── Pagina articolo ─── */
.articolo { max-width: 720px; margin: 0 auto; padding-inline: 22px; }
.articolo .post-meta { color: var(--blue); }
.articolo h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; margin-top: 12px; text-wrap: balance; }
.articolo .intro { font-size: 21px; line-height: 1.45; color: var(--text-2); margin-top: 20px; }
.articolo .autore { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.articolo .autore img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.articolo .autore b { color: var(--text); display: block; }
.articolo .copertina { border-radius: var(--radius); overflow: hidden; margin: 36px 0 8px; aspect-ratio: 16 / 9; }
.articolo .copertina img { width: 100%; height: 100%; object-fit: cover; }
.articolo h2 { font-size: 28px; font-weight: 700; line-height: 1.15; margin: 48px 0 14px; text-wrap: balance; }
.articolo p { font-size: 18px; line-height: 1.65; color: #2d2d30; margin-top: 16px; }
.articolo ul { margin: 16px 0 0 22px; display: grid; gap: 10px; font-size: 18px; line-height: 1.6; color: #2d2d30; }
.articolo blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--text); }
.articolo .box { background: var(--bg-alt); border-radius: 20px; padding: 26px 28px; margin-top: 32px; }
.articolo .box p { margin-top: 8px; font-size: 17px; }

/* ─── Copertine dei clienti: mockup con i video veri su sfondo di nicchia ─── */
.cover { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: size; }
.cover-logo { position: absolute; top: 7%; left: 6%; height: 10%; max-width: 46%; width: auto; object-fit: contain; mix-blend-mode: screen; z-index: 3; }
.cover-nome { position: absolute; top: 7%; left: 6%; z-index: 3; color: #fff; font-weight: 700; font-size: 6.5cqh; letter-spacing: -0.01em; }
.cover-phones { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; display: flex; justify-content: center; align-items: flex-end; perspective: 900px; z-index: 2; }
.ph { position: relative; height: 84%; aspect-ratio: 9 / 19.5; border-radius: 14% / 6.6%; background: #0b0b0d; padding: 2.1%; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(255,255,255,.14); transform: translateY(18%); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ph::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 30%; height: 2.6%; transform: translateX(-50%); background: #0b0b0d; border-radius: 999px; z-index: 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.4% / 5.8%; display: block; }
.ph.lato { height: 72%; opacity: .96; }
.ph.sx { transform: translate(18%, 24%) rotate(-9deg); z-index: 1; }
.ph.dx { transform: translate(-18%, 24%) rotate(9deg); z-index: 1; }
.ph.centro { z-index: 2; }
a:hover .ph.centro, .case-detail:hover .ph.centro { transform: translateY(14%); }
a:hover .ph.sx, .case-detail:hover .ph.sx { transform: translate(10%, 22%) rotate(-12deg); }
a:hover .ph.dx, .case-detail:hover .ph.dx { transform: translate(-10%, 22%) rotate(12deg); }
.cover-stat { position: absolute; z-index: 3; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 14px; padding: 2.4cqh 3cqh; line-height: 1.15; }
.cover-stat b { display: block; font-size: 6.5cqh; font-weight: 700; letter-spacing: -0.01em; }
.cover-stat span { font-size: 3.4cqh; color: rgba(255,255,255,.78); }
.cover-stat.s1 { left: 6%; bottom: 14%; }
.cover-stat.s2 { right: 6%; top: 26%; }
@media (prefers-reduced-motion: reduce) { .ph { transition: none; } }

/* Sfondi di nicchia */
.cover-carni { background:
  radial-gradient(110% 80% at 85% 0%, rgba(178, 44, 62, .55), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px),
  linear-gradient(165deg, #4a111b, #1c0609); }
.cover-tatino { background:
  radial-gradient(circle, rgba(255, 238, 200, .22) 0 1.6px, transparent 2.4px) 0 0 / 22px 22px,
  radial-gradient(circle, rgba(255, 238, 200, .12) 0 1.2px, transparent 2px) 11px 11px / 22px 22px,
  radial-gradient(90% 70% at 15% 0%, rgba(140, 214, 170, .35), transparent 60%),
  linear-gradient(165deg, #17654b, #0a3527); }
.cover-mino { background:
  linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 30px 30px,
  linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 30px 30px,
  radial-gradient(90% 70% at 75% 0%, rgba(190, 24, 48, .5), transparent 60%),
  #151517; }
.cover-alex { background:
  repeating-radial-gradient(circle at 100% 100%, rgba(255,255,255,.05) 0 1px, transparent 1px 28px),
  radial-gradient(90% 70% at 10% 0%, rgba(53, 88, 201, .55), transparent 60%),
  linear-gradient(165deg, #222a45, #0c1020); }
/* Le copertine riempiono il riquadro del caso */
.case-media:has(.cover), .post-card .thumb:has(.cover) { position: relative; }
.case-card .case-media:has(.cover) { aspect-ratio: 4 / 3; }
/* Articolo: "Continua a leggere" */
.articolo .correlati { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.articolo .correlati h2 { margin: 0 0 18px; font-size: 24px; }
.correlati-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.correlati-griglia .post-card h3 { font-size: 17px; }
@media (max-width: 600px) { .correlati-griglia { grid-template-columns: 1fr; } }

/* ─── Home: apertura con scena 3D di telefoni ─── */
.hero-3d { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #fff; min-height: calc(100svh - 48px); display: flex; align-items: center; }
.hero-3d::before { content: ""; position: absolute; z-index: -1; width: 900px; aspect-ratio: 1; right: -220px; top: 50%; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.45), rgba(0,113,227,.12) 45%, transparent 70%); filter: blur(30px); }
.h3-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 22px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.hero-3d .eyebrow { color: #6cb4ff; }
.hero-3d .h-hero { font-size: clamp(44px, 5.6vw, 80px); color: #fff; }
.hero-3d .lead { color: #a1a1a6; max-width: 560px; margin-top: 20px; }
.hero-3d .cta-row { justify-content: flex-start; }
.hero-3d .link-more { color: #6cb4ff; }
.hero-3d .lp-proof { justify-content: flex-start; color: #a1a1a6; }
.hero-3d .hero-social { color: #6e6e73; }
.hero-3d .hero-social b { color: #f5f5f7; }
.h3-scena { position: relative; height: min(640px, 76svh); perspective: 1600px; perspective-origin: 50% 40%; }
.h3-gruppo { position: absolute; inset: 0 4% 0 0; transform-style: preserve-3d;
  transform: rotateX(calc(8deg + var(--my, 0deg))) rotateY(calc(-18deg + var(--mx, 0deg))) rotateZ(3deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); animation: h3-galleggia 9s ease-in-out infinite alternate; }
@keyframes h3-galleggia { from { translate: 0 -10px; } to { translate: 0 12px; } }
.h3-tel { --w: 232px; position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 9 / 19.5; margin: calc(var(--w) * -1.083) 0 0 calc(var(--w) / -2);
  border-radius: calc(var(--w) * .16); background: linear-gradient(145deg, #3a3a3e, #121214 40%, #2a2a2e); padding: calc(var(--w) * .035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px rgba(0,0,0,.6); transform-style: preserve-3d; }
.h3-tel video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .13); background: #111; display: block; }
.h3-tel::after { content: ""; position: absolute; inset: calc(var(--w) * .035); border-radius: calc(var(--w) * .13); pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 32%); }
.h3-tel.t2 { transform: translate3d(0, 0, 90px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 50px 100px rgba(0,0,0,.7), 0 0 120px rgba(0,113,227,.35); }
.h3-tel.t1 { transform: translate3d(-96%, 7%, -60px); }
.h3-tel.t3 { transform: translate3d(84%, -7%, -60px); }
.h3-tel.t4 { transform: translate3d(-178%, -12%, -260px); opacity: .45; }
.h3-tel.t5 { transform: translate3d(160%, 12%, -260px); opacity: .45; }
@media (min-width: 901px) and (max-width: 1240px) {
  .h3-tel { --w: 180px; }
  .h3-gruppo { inset: 0 0 0 8%; }
  .h3-tel.t4 { opacity: .3; }
}
@media (max-width: 900px) {
  .hero-3d { min-height: 0; }
  .h3-inner { grid-template-columns: 1fr; padding: 56px 22px 24px; text-align: center; gap: 8px; }
  .hero-3d .lead { margin-left: auto; margin-right: auto; }
  .hero-3d .cta-row, .hero-3d .lp-proof { justify-content: center; }
  .hero-3d::before { width: 600px; right: 50%; top: 78%; transform: translate(50%, -50%); }
  .h3-scena { height: 470px; margin-top: 8px; }
  .h3-tel { --w: 168px; }
  .h3-gruppo { inset: 0; }
  .h3-gruppo { transform: rotateX(calc(10deg + var(--my, 0deg))) rotateY(calc(-18deg + var(--mx, 0deg))) rotateZ(2deg); }
}
@media (max-width: 700px) { .hero-3d .hero-social { display: none; } .hero-3d .lp-proof { font-size: 13px; gap: 6px 16px; } }
@media (prefers-reduced-motion: reduce) { .h3-gruppo { animation: none; } }

/* ─── "I like non pagano le bollette": bolletta 3D con like che la circondano ─── */
.bolletta-scena { position: relative; height: 440px; margin: -12px auto 56px; max-width: 760px; perspective: 1300px; }
.bolletta-gruppo { position: absolute; inset: 0; transform-style: preserve-3d; animation: bl-galleggia 8s ease-in-out infinite alternate; }
@keyframes bl-galleggia { from { transform: rotateX(16deg) rotateY(-18deg) rotateZ(-3deg) translateY(-6px); } to { transform: rotateX(12deg) rotateY(-10deg) rotateZ(-1deg) translateY(8px); } }
.bolletta { position: absolute; left: 50%; top: 50%; width: 340px; margin: -205px 0 0 -170px; padding: 28px 28px 24px; border-radius: 6px;
  background: linear-gradient(160deg, #ffffff, #f1f1f4); color: #1d1d1f; font-size: 14px; transform-style: preserve-3d;
  box-shadow: 0 1px 0 #d9d9de, 0 2px 0 #cfcfd5, 0 3px 0 #c5c5cc, 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.04); }
.bolletta::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px;
  background: radial-gradient(circle at 6px 8px, transparent 5px, #fff 5.5px) 0 0 / 12px 8px repeat-x; }
.bl-testa { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 2px solid #1d1d1f; }
.bl-testa b { font-size: 20px; letter-spacing: -.01em; }
.bl-testa span { font-size: 11px; color: #6e6e73; }
.bl-riga { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: #424245; border-bottom: 1px dashed #d2d2d7; }
.bl-riga i { width: 64px; height: 8px; border-radius: 4px; background: #e3e3e8; }
.bl-totale { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; font-size: 15px; }
.bl-metodo { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fff0f3; color: #6e6e73; font-size: 12px; }
.bl-metodo b { color: #ff2d55; font-size: 14px; }
.bl-timbro { position: absolute; right: 18px; top: 128px; padding: 8px 14px; border: 3px solid #e3002b; border-radius: 8px; color: #e3002b;
  font-weight: 800; font-size: 17px; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; text-align: center;
  transform: translateZ(30px) rotate(-14deg); opacity: 0; mix-blend-mode: multiply; }
.bolletta-scena.in .bl-timbro { animation: bl-timbro .45s cubic-bezier(.3,1.6,.5,1) .5s forwards; }
@keyframes bl-timbro { from { opacity: 0; transform: translateZ(140px) rotate(-14deg) scale(1.8); } to { opacity: .92; transform: translateZ(30px) rotate(-14deg) scale(1); } }
.like3d { position: absolute; left: calc(50% + var(--x) * 7px); top: calc(50% + var(--y) * 4.6px); width: calc(64px * var(--s)); aspect-ratio: 1;
  margin: calc(-32px * var(--s)) 0 0 calc(-32px * var(--s)); transform: translateZ(var(--z)); }
.like3d svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(255,55,95,.35));
  animation: like-fluttua 5s ease-in-out var(--d) infinite alternate; }
@keyframes like-fluttua { from { transform: translateY(-10px) rotate(-10deg); } to { transform: translateY(12px) rotate(8deg); } }
@media (max-width: 700px) {
  .bolletta-scena { height: 380px; margin-bottom: 40px; }
  .bolletta { transform: scale(.82); }
  .like3d { left: calc(50% + var(--x) * 3.5px); top: calc(50% + var(--y) * 4px); }
}
@media (prefers-reduced-motion: reduce) { .bolletta-gruppo, .like3d svg { animation: none; } .bolletta-gruppo { transform: rotateX(14deg) rotateY(-14deg); } .bl-timbro { opacity: .92; } }

/* ─── Metodo PWUP: una piccola scena 3D sotto ogni fase (entra quando la linea si riempie) ─── */
.fx { position: relative; height: 200px; margin: 26px auto 0; max-width: 280px; perspective: 900px; text-align: left; }
.fx-scena { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(26deg) rotateY(-20deg) rotateZ(3deg); }
.fx-el { opacity: 0; translate: 0 0 0; }
.timeline.attiva .fx-el { animation: fx-su .8s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(var(--i-fase, 0) * .55s + var(--k) * .14s + .3s); }
@keyframes fx-su { from { opacity: 0; translate: 0 18px 0; } to { opacity: 1; translate: 0 0 var(--z); } }
.tl-step:nth-of-type(2) .fx { --i-fase: 0; } .tl-step:nth-of-type(3) .fx { --i-fase: 1; } .tl-step:nth-of-type(4) .fx { --i-fase: 2; } .tl-step:nth-of-type(5) .fx { --i-fase: 3; }
.fx .fx-el { --ombra: 0 18px 34px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.06); }

/* 1. Domanda: ricerca + domande dei clienti */
.fx-cerca { position: absolute; left: 4%; right: 4%; top: 22px; height: 46px; border-radius: 23px; background: #fff; box-shadow: var(--ombra);
  display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 13px; color: var(--text-2); }
.fx-cerca svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; }
.fx-bolla { position: absolute; padding: 10px 14px; border-radius: 18px; font-size: 13px; font-weight: 600; box-shadow: var(--ombra); white-space: nowrap; }
.fx-bolla.b1 { left: 2%; top: 92px; background: var(--blue); color: #fff; border-bottom-left-radius: 6px; }
.fx-bolla.b2 { right: 0; top: 142px; background: #fff; color: var(--text); border-bottom-right-radius: 6px; }

/* 2. Posizionamento: mappa con un solo pin acceso */
.fx-mappa .fx-scena { transform: rotateX(58deg) rotateZ(-34deg) scale(.86); }
.fx-terreno { position: absolute; inset: 0; border-radius: 22px; background:
  linear-gradient(90deg, transparent 31%, #fff 31%, #fff 35%, transparent 35%, transparent 68%, #fff 68%, #fff 71%, transparent 71%),
  linear-gradient(0deg, transparent 40%, #fff 40%, #fff 45%, transparent 45%), #e4e7ee;
  box-shadow: 0 30px 50px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.04); }
.fx-pin { position: absolute; left: var(--px); top: var(--py); width: 20px; height: 27px; margin: -27px 0 0 -10px; transform-origin: 50% 100%; transform: rotateZ(34deg) rotateX(-58deg); }
.fx-pin svg { width: 100%; height: 100%; fill: #b8bcc6; display: block; }
.fx-pin.tu { width: 40px; height: 54px; margin: -54px 0 0 -20px; }
.fx-pin.tu svg { fill: var(--blue); filter: drop-shadow(0 8px 10px rgba(0,113,227,.45)); }
.fx-pin.tu b { position: absolute; left: 50%; bottom: 100%; translate: -50% -6px; background: #1d1d1f; color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 10px; }
.fx-onda { position: absolute; left: 50%; top: 46%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 2px solid rgba(0,113,227,.5); opacity: 0; }
.timeline.attiva .fx-onda { animation: fx-onda 2.4s ease-out 2s infinite; }
@keyframes fx-onda { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }

/* 3. Contenuti: telefoni con i reel veri */
.fx-reel .fx-scena { transform: rotateX(10deg) rotateY(-16deg); }
.fx-tel { position: absolute; top: 4px; left: 50%; width: 96px; aspect-ratio: 9 / 19; margin-left: -48px; padding: 4px; border-radius: 18px; background: #1d1d1f; box-shadow: var(--ombra); }
.fx-tel img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.fx-tel.sx { transform: translateX(-74%) rotateZ(-7deg) scale(.88); }
.fx-tel.dx { transform: translateX(74%) rotateZ(7deg) scale(.88); }

/* 4. Conversione: notifiche di richieste e clienti */
.fx-notifica { position: absolute; left: 2%; right: 2%; top: 50%; margin-top: -27px; height: 54px; transform: translateY(var(--ny)); border-radius: 16px;
  background: rgba(255,255,255,.96); box-shadow: var(--ombra); display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 12px; color: var(--text-2); }
.fx-notifica i { font-style: normal; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #eaf3ff; font-size: 16px; }
.fx-notifica b { display: block; color: var(--text); font-size: 13px; }

.tl-step:has(.fx) { display: flex; flex-direction: column; align-items: center; }
.tl-step:has(.fx) .fx { margin-top: auto; padding-top: 26px; width: 100%; box-sizing: content-box; }
.fx-notifica { height: 50px; margin-top: -25px; }
@media (max-width: 900px) {
  .tl-step:has(.fx) { display: block; }
  .tl-step:has(.fx) .fx { margin: 18px 0 4px; max-width: 300px; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .fx-el { opacity: 1; translate: 0 0 var(--z); } .timeline.attiva .fx-el, .timeline.attiva .fx-onda { animation: none; } }

/* ─── Casi studio: copertine in 3D vero (telefoni a profondità diverse, oscillazione lenta, inclinazione col mouse) ─── */
@property --oscilla { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.cover { perspective: 1100px; perspective-origin: 50% 40%; }
.cover-phones { perspective: none; transform-style: preserve-3d;
  transform: rotateX(calc(6deg + var(--rx, 0deg))) rotateY(calc(var(--oscilla) + var(--ry, 0deg)));
  transition: transform .5s cubic-bezier(.2,.8,.2,1); animation: cover-oscilla 9s ease-in-out infinite alternate; }
@keyframes cover-oscilla { from { --oscilla: -9deg; } to { --oscilla: 9deg; } }
.ph { transform-style: preserve-3d; }
.ph.centro { transform: translate3d(0, 16%, 34px); }
.ph.sx { transform: translate3d(22%, 22%, -50px) rotateY(24deg) rotateZ(-4deg); }
.ph.dx { transform: translate3d(-22%, 22%, -50px) rotateY(-24deg) rotateZ(4deg); }
a:hover .ph.centro, .case-detail:hover .ph.centro { transform: translate3d(0, 12%, 60px); }
a:hover .ph.sx, .case-detail:hover .ph.sx { transform: translate3d(12%, 20%, -70px) rotateY(30deg) rotateZ(-6deg); }
a:hover .ph.dx, .case-detail:hover .ph.dx { transform: translate3d(-12%, 20%, -70px) rotateY(-30deg) rotateZ(6deg); }
.ph::after { content: ""; position: absolute; inset: 2.1%; border-radius: 12.4% / 5.8%; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.2), rgba(255,255,255,0) 35%); }
.cover-badge, .cover-phones .cover-stat { position: absolute; z-index: 3; transform: translateZ(130px); color: #fff; border-radius: 16px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 20px 40px rgba(0,0,0,.35); padding: 2.4cqh 3.2cqh; line-height: 1.15; }
.cover-badge { right: 6%; top: 24%; }
.cover-badge b { display: block; font-size: 7cqh; font-weight: 700; letter-spacing: -0.01em; }
.cover-badge span { font-size: 3.4cqh; color: rgba(255,255,255,.82); }
.cover-phones .cover-stat.s1 { transform: translateZ(110px); }
.cover-phones .cover-stat.s2 { transform: translateZ(150px); }
.cover-alex .ph.centro { transform: translate3d(0, 14%, 30px); }
@media (prefers-reduced-motion: reduce) { .cover-phones { animation: none; } }
/* Apertura: sfondo "studio" (strumenti/sfondo-hero.py) al posto del nero pieno */
.hero-3d { background: #020306 url(hero/sfondo-hero.jpg) 70% 50% / cover no-repeat; }
.hero-3d::before { opacity: .45; }
@media (max-width: 900px) { .hero-3d { background-image: url(hero/sfondo-hero-verticale.jpg); background-position: 50% 100%; } }
.section:has(.bolletta-scena) { overflow-x: clip; }

/* Blog: copertine animate (video in loop) e copertine 3D dei casi reali */
.post-card .thumb video, .blog-featured .media video, .articolo .copertina video { width: 100%; height: 100%; object-fit: cover; display: block; background: #050507; }
.blog-featured .media video { position: absolute; inset: 0; }
.post-card .thumb .cover-logo { width: auto; height: 10%; }
.post-card .thumb .ph img { width: 100%; height: 100%; }
.post-card .thumb:has(.cover) { aspect-ratio: 4 / 3; }
/* Blog: illustrazioni personalizzate (strumenti/illustrazioni-blog.py) con uno zoom lento che le tiene vive */
img.art { animation: art-respiro 16s ease-in-out infinite alternate; transform-origin: 50% 55%; }
@keyframes art-respiro { from { transform: scale(1); } to { transform: scale(1.07); } }
a.post-card:hover img.art { animation-duration: 6s; }
@media (prefers-reduced-motion: reduce) { img.art { animation: none; } }

/* Banner cookie (solo per Microsoft Clarity): "Accetta" e "Rifiuta" con lo stesso peso */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; width: min(640px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 20px 50px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); }
.cookie-banner p { font-size: 14px; line-height: 1.45; color: var(--text-2); margin: 0; }
.cookie-banner p b { color: var(--text); }
.cookie-azioni { display: flex; gap: 8px; flex: none; }
.cookie-azioni .cookie-no { background: #e8e8ed; color: var(--text); }
.cookie-azioni .cookie-no:hover { background: #dcdce1; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; } .cookie-azioni .btn { flex: 1; } }
