/* ProfessionalSite: design system e home (prototipo) */

@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Token ---------- */
:root {
  --font: "Geist", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;

  --page: min(1360px, 100% - 48px);
  --header-h: 116px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-sig: 120px; /* angolo firma */
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --ok: #41D69A;
  --alert: #FF7A6B;
  --star: #F5C451;
  --ph: #FFB020;
}

/* Palette (attributo data-palette su <html>) */
:root, [data-palette="ciano"] {
  --ink: #0A111A; --ink-2: #0F1823; --ink-3: #162232;
  --line: rgba(205, 225, 240, .11); --line-2: rgba(205, 225, 240, .2);
  --text: #E9EEF3; --muted: #97A6B5; --dim: #6E8094;
  --accent: #2BC4EA; --accent-hi: #67D8F4; --on-accent: #03202A; --accent-deep: #08718F;
  --paper: #EEF2F5; --paper-2: #E2E8ED; --paper-ink: #0B1621; --paper-muted: #4E5E6D; --paper-line: rgba(11, 22, 33, .12);
}
[data-palette="cobalto"] {
  --ink: #080C17; --ink-2: #0E1424; --ink-3: #151D33;
  --line: rgba(200, 212, 255, .11); --line-2: rgba(200, 212, 255, .2);
  --text: #E9ECF5; --muted: #98A2BC; --dim: #67718D;
  --accent: #5B8CFF; --accent-hi: #8CAEFF; --on-accent: #050D26; --accent-deep: #2F5BDB;
  --paper: #EEF0F6; --paper-2: #E2E5EF; --paper-ink: #0B1124; --paper-muted: #4F5873; --paper-line: rgba(11, 17, 36, .12);
}
[data-palette="oceano"] {
  --ink: #071316; --ink-2: #0C1C20; --ink-3: #12282D;
  --line: rgba(200, 240, 235, .11); --line-2: rgba(200, 240, 235, .2);
  --text: #E7F0EF; --muted: #92A8A6; --dim: #627977;
  --accent: #34D1C0; --accent-hi: #6EE2D5; --on-accent: #032622; --accent-deep: #0B8679;
  --paper: #ECF2F1; --paper-2: #DEE8E6; --paper-ink: #0A1A1C; --paper-muted: #4A5E5D; --paper-line: rgba(10, 26, 28, .12);
}
[data-palette="ghiaccio"] {
  --ink: #0B1120; --ink-2: #121A2D; --ink-3: #19243C;
  --line: rgba(210, 225, 255, .11); --line-2: rgba(210, 225, 255, .2);
  --text: #EAF0FA; --muted: #9AA7BF; --dim: #69768F;
  --accent: #9CCBFF; --accent-hi: #C3E0FF; --on-accent: #0A1A33; --accent-deep: #2E6FC4;
  --paper: #F0F3F9; --paper-2: #E3E8F2; --paper-ink: #0C1426; --paper-muted: #50597A; --paper-line: rgba(12, 20, 38, .12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* Immagini inserite dall'editor di WordPress: hanno larghezza e altezza negli attributi,
   e senza questa riga in una colonna stretta resterebbero alte e schiacciate. */
.prose img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 560; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
.muted { color: var(--muted); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bottoni, link, tag ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 560; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn--quiet { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--quiet:hover { border-color: color-mix(in srgb, var(--text) 45%, transparent); transform: translateY(-1px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 560; text-underline-offset: 4px; }
.link:hover { text-decoration: underline; }
.link .i { width: 18px; height: 18px; }

.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 560; letter-spacing: 0;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
}
.tag--quiet { background: rgba(255, 255, 255, .07); color: var(--muted); }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.tag--alert { background: color-mix(in srgb, var(--alert) 16%, transparent); color: var(--alert); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .45s var(--ease); }
.site-header.is-scrolled { transform: translateY(-38px); }
.utility { height: 38px; font-size: 13px; color: var(--muted); }
.utility__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility__links { display: flex; align-items: center; gap: 22px; }
.utility__links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.utility__links a:hover { color: var(--text); }
.utility__links .i { width: 15px; height: 15px; }

.bar-wrap { position: relative; }
.bar {
  display: flex; align-items: center; gap: 12px;
  height: 66px; padding: 0 9px 0 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink-2) 74%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  transition: background-color .3s, box-shadow .3s;
}
.is-scrolled .bar { background: color-mix(in srgb, var(--ink-2) 92%, transparent); box-shadow: 0 18px 60px rgba(0, 0, 0, .45); }
.logo { flex: none; margin-right: auto; }
.logo img { width: 164px; height: auto; }
.nav { margin-right: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__btn {
  display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 13px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: color-mix(in srgb, var(--text) 86%, transparent);
  transition: background-color .2s, color .2s;
}
.nav__btn .i { width: 15px; height: 15px; opacity: .6; transition: transform .3s var(--ease), opacity .2s; }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav__btn[aria-expanded="true"] .i { transform: rotate(180deg); opacity: 1; color: var(--accent); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .06); position: relative; }
.burger span:not(.sr-only) { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  padding: 26px 26px 18px; border-radius: var(--r-lg);
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.99); transform-origin: top center;
  transition: opacity .22s var(--ease), transform .32s var(--ease), visibility 0s .32s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .32s var(--ease), visibility 0s; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 290px; gap: 10px 18px; }
.mega__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)) 290px; }
.mega__grid--cases { grid-template-columns: 240px repeat(2, minmax(0, 1fr)); gap: 18px; }
.mega__title { font-size: 13px; font-weight: 500; color: var(--dim); padding: 0 12px 8px; }
.mlink { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 14px; transition: background-color .2s; }
.mlink > .i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); transition: background-color .2s, color .2s; }
.mlink strong { display: block; font-size: 14.5px; font-weight: 560; line-height: 1.3; }
.mlink small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mlink:hover { background: rgba(255, 255, 255, .04); }
.mlink:hover > .i { background: var(--accent); color: var(--on-accent); }

.mega__feature {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px;
  border-radius: 22px 22px 22px 72px;
  background: linear-gradient(160deg, var(--ink-3), color-mix(in srgb, var(--accent) 16%, var(--ink-2)));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .3s var(--ease);
}
.mega__feature:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.mega__feature strong { font-size: 20px; font-weight: 560; letter-spacing: -.02em; line-height: 1.15; }
.mega__feature-txt { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mega__feature .kpi { font-size: 14px; color: var(--muted); }
.mega__feature .kpi b { font-family: var(--mono); font-weight: 500; font-size: 22px; color: var(--text); margin-right: 4px; }
.mega__feature-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 560; color: var(--accent); }
.mega__feature-go .i { width: 16px; height: 16px; }
.mega__feature--alert { background: linear-gradient(160deg, var(--ink-3), color-mix(in srgb, var(--alert) 12%, var(--ink-2))); }
.mega__feature--alert .mega__feature-go { color: var(--alert); }

.mega__simple a { display: block; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.mega__simple a:hover { background: rgba(255, 255, 255, .05); color: var(--accent); }
.case-mini { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 20px; border: 1px solid var(--line); transition: border-color .25s; }
.case-mini:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.case-mini strong { font-size: 17px; font-weight: 560; }
.case-mini small { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.case-mini__media { width: 100%; height: 118px; border-radius: 12px 12px 12px 48px; margin-bottom: 4px; }
.case-mini__media--a { background: radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%), linear-gradient(135deg, var(--ink-3), var(--ink)); }
.case-mini__media--b { background: radial-gradient(100% 90% at 20% 90%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), linear-gradient(200deg, var(--ink-3), var(--ink)); }

.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mega__foot > a { font-weight: 560; color: var(--text); }
.mega__foot a:hover { color: var(--accent); }
.mega__foot p a { color: var(--accent); }

/* ---------- Drawer mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 98%, transparent); overflow-y: auto; overscroll-behavior: contain; padding: 104px 0 32px; }
.drawer[hidden] { display: none; }
.drawer__in { width: min(100% - 32px, 640px); margin-inline: auto; }
.dacc { border-bottom: 1px solid var(--line); }
.dacc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 19px; font-weight: 560; letter-spacing: -.01em; }
.dacc__btn .i { transition: transform .3s var(--ease); color: var(--muted); }
.dacc__btn[aria-expanded="true"] .i { transform: rotate(180deg); color: var(--accent); }
.dacc__panel { padding: 0 0 18px; }
.dacc__panel[hidden] { display: none; }
.dacc__group { font-size: 13px; color: var(--dim); margin: 12px 0 4px; }
.dacc__panel a { display: block; padding: 9px 0; font-size: 16px; color: color-mix(in srgb, var(--text) 88%, transparent); }
.dacc__panel a.dacc__hub { color: var(--accent); font-weight: 560; margin-top: 8px; }
.drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.drawer__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--ink));
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-weight: 560; }
.hero__kicker { display: inline-block; margin-bottom: 22px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.hero__l1, .hero__l2 { display: block; }
.hero__l1 { font-size: clamp(44px, 5.7vw, 86px); line-height: .98; letter-spacing: -.042em; }
.hero__l2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(50px, 6.5vw, 98px); line-height: .98; letter-spacing: -.02em; color: var(--accent-hi); padding-bottom: .06em; }
.hero__lede { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof .i { width: 16px; height: 16px; color: var(--accent); stroke-width: 2; }

/* entrata orchestrata: un solo momento animato in tutta la pagina */
.hero__kicker, .hero__l1, .hero__l2, .hero__lede, .hero__ctas, .hero__proof { animation: rise .9s var(--ease) both; }
.hero__l1 { animation-delay: .08s; }
.hero__l2 { animation-delay: .16s; }
.hero__lede { animation-delay: .26s; }
.hero__ctas { animation-delay: .34s; }
.hero__proof { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Stage (composizione UI) ---------- */
.stage { position: relative; height: 560px; }
.stage__glow { position: absolute; left: 18%; top: 22%; width: 60%; height: 55%; border-radius: 50%; background: var(--accent); opacity: .16; filter: blur(80px); }
.card-ui {
  position: absolute; padding: 18px; border-radius: var(--r);
  background: color-mix(in srgb, var(--ink-2) 86%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease);
  animation: pop 1s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.96); } }
.card-ui__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; }
.card-ui__head > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.card-ui__head .i { width: 16px; height: 16px; color: var(--accent); }

.c-sales { top: 70px; left: 0; width: 76%; animation-delay: .35s; border-radius: var(--r) var(--r) var(--r) 64px; }
.c-sales__value { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.c-sales__value b { font-family: var(--mono); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; }
.up { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; font-family: var(--mono); color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.c-sales__chart { width: 100%; height: 130px; overflow: visible; }
.c-sales__grid { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.c-sales__line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .7s var(--ease-io) forwards; }
.c-sales__area { opacity: 0; animation: fade 1s 1.6s ease forwards; }
.c-sales__dot { fill: var(--accent); opacity: 0; animation: fade .4s 2.4s ease forwards, pulse 2.4s 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.c-sales__axis { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px var(--mono); color: var(--dim); }

.c-ads { top: 342px; left: 3%; width: 42%; animation-delay: .6s; }
.c-ads__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.c-ads__row b { font-family: var(--mono); font-weight: 500; font-size: 26px; letter-spacing: -.03em; }
.c-ads__row:nth-of-type(2) { margin-top: 10px; }
.c-ads__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin: 10px 0 12px; }
.c-ads__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--accent) 30%, transparent); transform-origin: bottom; animation: grow .9s var(--ease) both; }
.c-ads__bars i:last-child { background: var(--accent); }
.c-ads__bars i:nth-child(1) { animation-delay: .9s; } .c-ads__bars i:nth-child(2) { animation-delay: .96s; } .c-ads__bars i:nth-child(3) { animation-delay: 1.02s; }
.c-ads__bars i:nth-child(4) { animation-delay: 1.08s; } .c-ads__bars i:nth-child(5) { animation-delay: 1.14s; } .c-ads__bars i:nth-child(6) { animation-delay: 1.2s; } .c-ads__bars i:nth-child(7) { animation-delay: 1.26s; }
@keyframes grow { from { transform: scaleY(0); } }

.c-ai { top: 300px; right: 0; width: 52%; animation-delay: .8s; border-radius: var(--r) 64px var(--r) var(--r); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.bubble { margin-top: 12px; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; max-width: 92%; }
.bubble--user { margin-left: auto; background: var(--ink-3); border-bottom-right-radius: 4px; width: fit-content; }
.bubble--ai { background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-bottom-left-radius: 4px; }
.dots { display: none; gap: 4px; padding: 4px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.is-typing .dots { display: flex; }
.is-typing .bubble__txt { display: none; }

.c-speed { top: 0; right: 4%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 999px; animation-delay: .5s; }
.c-speed__ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.c-speed__ring circle { fill: none; stroke: var(--line-2); stroke-width: 4; }
.c-speed__ring .c-speed__val { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 98 100; stroke-dashoffset: 98; animation: ring 1.6s 1s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.c-speed b { display: block; font: 500 20px/1 var(--mono); }
.c-speed .muted { font-size: 12px; }

.toast {
  position: absolute; top: 14px; left: 4%; z-index: 3;
  display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 12px; border-radius: 16px;
  background: var(--ink-3); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  font-size: 13px; opacity: 0; transform: translateY(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.toast b { display: block; font-weight: 560; }
.toast .muted { font-size: 12.5px; }

/* ---------- Clienti ---------- */
.clients { padding: 18px 0 clamp(56px, 7vw, 88px); }
.clients__t { font-size: 14px; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-bottom: 22px; }
.marquee { 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); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.025em; color: color-mix(in srgb, var(--muted) 80%, transparent); white-space: nowrap; transition: color .2s; }
.marquee__track li:hover { color: var(--text); }
@keyframes slide { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 9vw, 136px) 0; }
.section__head { max-width: 780px; }
.section__head h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.038em; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 40em; }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section__head--split p { margin-top: 0; }

/* ---------- Servizi ---------- */
.services { padding-top: clamp(40px, 5vw, 72px); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.services__list { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 46px 1fr 22px; gap: 16px; align-items: center; padding: 18px 10px; border-bottom: 1px solid var(--line); transition: background-color .25s, padding .35s var(--ease); }
.srow > .i:first-child { width: 46px; height: 46px; padding: 12px; border-radius: 13px; background: var(--ink-3); color: var(--muted); transition: background-color .25s, color .25s; }
.srow strong { display: block; font-size: clamp(17px, 1.45vw, 20px); font-weight: 560; letter-spacing: -.015em; line-height: 1.3; color: color-mix(in srgb, var(--text) 80%, transparent); transition: color .2s; }
.srow small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.srow__go { width: 20px; height: 20px; color: var(--accent); opacity: 0; transform: translate(-6px, 6px); transition: opacity .25s, transform .35s var(--ease); }
.srow.is-active, .srow:hover { padding-left: 16px; }
.srow.is-active strong, .srow:hover strong { color: var(--text); }
.srow.is-active > .i:first-child { background: var(--accent); color: var(--on-accent); }
.srow.is-active .srow__go, .srow:hover .srow__go { opacity: 1; transform: none; }

.services__panel { position: sticky; top: 112px; display: grid; padding: clamp(28px, 3vw, 40px); min-height: 460px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-sig); background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%), var(--ink-2); border: 1px solid var(--line); }
.spanel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s; }
.spanel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease) .05s, transform .45s var(--ease) .05s, visibility 0s; }
.spanel h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.spanel > p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.spanel__case { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.spanel__case b { color: var(--text); font-weight: 600; }

/* ---------- Sezione chiara: numeri e casi ---------- */
.paper { background: var(--paper); color: var(--paper-ink); padding: clamp(80px, 9vw, 128px) 0; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.paper .tag { background: color-mix(in srgb, var(--accent-deep) 12%, transparent); color: var(--accent-deep); }
.paper .tag--quiet { background: color-mix(in srgb, var(--paper-ink) 8%, transparent); color: var(--paper-muted); }
.paper .tag--line { background: transparent; border-color: var(--paper-line); color: var(--paper-muted); }
.paper .section__head p, .paper .muted { color: var(--paper-muted); }
.paper .link { color: var(--accent-deep); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(56px, 6vw, 80px); margin-bottom: clamp(64px, 7vw, 96px); border-bottom: 1px solid var(--paper-line); }
.stat b { display: block; font-size: clamp(44px, 5vw, 76px); font-weight: 560; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--paper-muted); max-width: 16em; }

.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.case { display: flex; flex-direction: column; background: #fff; color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 24px; overflow: hidden; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.case:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-deep) 40%, transparent); box-shadow: 0 24px 50px rgba(11, 22, 33, .08); }
.case__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.case h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.case__body > p:not(.case__meta) { font-size: 15.5px; color: var(--paper-muted); }
.case__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.case__kpis--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case__kpis dt { font-size: 13px; color: var(--paper-muted); }
.case__kpis dd { font-size: clamp(24px, 2.2vw, 32px); font-weight: 560; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.case--xl { grid-column: span 7; grid-row: span 2; border-radius: 24px var(--r-sig) 24px 24px; }
.case--ads { grid-column: span 5; }
.case--ai { grid-column: span 5; background: var(--ink); color: var(--text); border-color: transparent; }
.case--ai .case__body > p:not(.case__meta), .case--ai .case__kpis dt { color: var(--muted); }
.case--ai .case__kpis { border-color: var(--line); }
.case--ai .tag { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.case--ai .tag--line { background: transparent; border-color: var(--line-2); color: var(--muted); }
.case--ghost { grid-column: span 12; background: transparent; border: 1.5px dashed color-mix(in srgb, var(--paper-ink) 22%, transparent); }
.case--ghost .case__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px 48px; align-items: center; }
.case--ghost .case__meta, .case--ghost h3, .case--ghost .case__body > p { grid-column: 1; }
.case--ghost .case__kpis { grid-column: 2; grid-row: 1 / span 3; border-top: 0; padding-top: 0; margin-top: 0; }

.case__media { position: relative; height: clamp(220px, 22vw, 300px); background: radial-gradient(80% 90% at 85% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink)); overflow: hidden; }
.mock-browser { position: absolute; left: 8%; top: 18%; right: -4%; bottom: -8%; border-radius: 14px 14px 0 0; background: var(--ink-2); border: 1px solid var(--line-2); padding: 12px; }
.mock-browser i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); margin-right: 5px; }
.mock-grid { position: absolute; left: calc(8% + 14px); right: 0; top: calc(18% + 38px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-grid span { height: 70px; border-radius: 10px; background: linear-gradient(160deg, var(--ink-3), color-mix(in srgb, var(--accent) 22%, var(--ink-3))); }

.roas { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; }
.roas__bar { height: 42px; border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.roas__bar span { display: flex; align-items: center; justify-content: flex-end; height: 100%; width: var(--w); padding-right: 12px; border-radius: 12px; background: color-mix(in srgb, var(--paper-ink) 22%, transparent); color: var(--paper-ink); font: 500 15px var(--mono); }
.roas__bar--after span { background: var(--accent-deep); color: #fff; }
.roas .muted { font-size: 13px; margin-top: 4px; }

.paper__more { margin-top: 36px; }

/* ---------- AI ---------- */
.ai { position: relative; background: radial-gradient(50% 50% at 90% 20%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), var(--ink); }
.ai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ai h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.038em; }
.ai__lede { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 34em; }
.ai__uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; margin: 40px 0 44px; }
.ai__uses li { display: flex; gap: 14px; }
.ai__uses li > .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.ai__uses h3 { font-size: 17px; letter-spacing: -.01em; }
.ai__uses p { margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.chat { padding: 22px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat__head > .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.chat__head b { display: block; font-size: 15px; font-weight: 560; }
.chat__head small { display: block; font-size: 13px; color: var(--muted); }
.chat .bubble { font-size: 14.5px; margin-top: 14px; }
.chat__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.chip:first-child { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.dev { margin-top: 16px; padding: 24px; border-radius: var(--r-lg) 8px var(--r-sig) var(--r-lg); border: 1px solid var(--line); }
.dev h3 { font-size: 18px; }
.dev ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 16px; font-size: 14.5px; }
.dev li { display: flex; align-items: center; gap: 10px; }
.dev li .i { width: 18px; height: 18px; color: var(--accent); }
.dev__stack { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font: 400 12.5px/1.6 var(--mono); color: var(--dim); }

/* ---------- Metodo ---------- */
.method { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); counter-reset: s; }
.steps li { position: relative; padding: 28px 28px 0 0; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--accent); }
.steps__n { font: 500 14px var(--mono); color: var(--accent); }
.steps h3 { margin-top: 14px; font-size: 22px; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------- Settori ---------- */
.sectors { padding-top: 0; }
.sectors__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.sectors__list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
.sectors__list a:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.sectors__list .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.sectors__list strong { font-size: 18px; font-weight: 560; letter-spacing: -.015em; }
.sectors__list small { font-size: 14px; color: var(--muted); }

/* ---------- Recensioni ---------- */
.reviews { padding-top: 0; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-self: end; font-size: 16px !important; color: var(--muted); }
.reviews__score b { color: var(--text); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .i { width: 18px; height: 18px; fill: currentColor; stroke-width: 1; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 52px); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 28px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); }
.quote blockquote { font-size: 18px; line-height: 1.5; letter-spacing: -.01em; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--text); font-weight: 560; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq__head h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.038em; }
.faq__head p { margin-top: 18px; color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 560; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.6px; background: var(--accent); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq__a p { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }
.faq details[open] .faq__a { animation: rise .45s var(--ease); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(80px, 9vw, 128px); }
.cta__panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: 36px 36px 36px var(--r-sig);
  background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%), var(--ink-2);
  border: 1px solid var(--line-2);
}
.cta h2 span { display: block; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -.038em; }
.cta h2 em { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 60px); line-height: 1; letter-spacing: -.02em; color: var(--accent-hi); }
.cta__copy > p { margin-top: 22px; font-size: 17.5px; color: var(--muted); max-width: 32em; }
.cta__alt { display: grid; gap: 10px; margin-top: 30px; font-size: 16px; }
.cta__alt li { display: flex; align-items: center; gap: 10px; }
.cta__alt .i { color: var(--accent); }
.cta__alt a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input { height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--dim); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--alert); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__msg { min-height: 1.4em; font-size: 14px; }
.form__msg.is-error { color: var(--alert); }
.form__msg.is-ok { color: var(--ok); }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 6vw, 80px) 0 28px; border-top: 1px solid var(--line); font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; }
.footer__brand img { width: 180px; height: auto; }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 22em; }
.footer address { margin-top: 18px; font-style: normal; line-height: 1.8; color: var(--muted); }
.footer address a:hover { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer__t { font-weight: 600; margin-bottom: 12px; }
.footer__cols li + li { margin-top: 8px; }
.footer__cols a { color: var(--muted); transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__bottom ul { display: flex; gap: 18px; }
.footer__bottom a:hover { color: var(--text); }
.footer__geo { font-family: var(--mono); font-size: 12px; }

/* ---------- Barra prototipo ---------- */
.proto { position: fixed; left: 16px; bottom: 16px; z-index: 200; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 14px; border-radius: 999px; background: rgba(4, 6, 10, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12.5px; color: #cfd6de; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.proto__t { font-weight: 600; color: #fff; }
.proto__pal { display: flex; gap: 6px; }
.proto__pal button { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.proto__pal button[aria-checked="true"] { box-shadow: 0 0 0 2px #04060a, 0 0 0 4px #fff; }
.proto__name { min-width: 92px; }
.proto__ph { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .14); }
.proto__ph input { accent-color: var(--ph); }
.show-ph [data-placeholder] { outline: 1.5px dashed var(--ph); outline-offset: 2px; background-color: color-mix(in srgb, var(--ph) 14%, transparent); border-radius: 4px; }

/* ---------- Barra prototipo: versioni ---------- */
.proto__v { padding: 2px 8px; border-radius: 99px; font-weight: 600; color: #cfd6de; }
.proto__v:hover { color: #fff; }
.proto__v.is-on { background: #fff; color: #04060a; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav__btn { padding: 0 10px; font-size: 14px; }
  .logo img { width: 150px; }
}
@media (max-width: 1220px) {
  .nav, .bar__cta { display: none; }
  .burger { display: block; }
  .mega { display: none; }
  .utility__claim { display: none; }
  .utility__in { justify-content: flex-end; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 540px; max-width: 680px; width: 100%; margin-inline: auto; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .services__panel { display: none; }
  .ai__grid, .faq__grid, .cta__panel { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--xl, .case--ads, .case--ai { grid-column: span 12; grid-row: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --page: min(100% - 32px, 680px); --header-h: 104px; }
  .utility { height: 34px; font-size: 12.5px; }
  .utility__links li:nth-child(-n+3) { display: none; }
  .site-header.is-scrolled { transform: translateY(-34px); }
  .bar { height: 60px; padding-left: 18px; }
  .logo img { width: 138px; }
  .section__head--split { grid-template-columns: minmax(0, 1fr); }
  .reviews__score { justify-self: start; }
  .stage { height: 470px; }
  .c-sales { width: 92%; top: 64px; }
  .c-ads { display: none; }
  .c-ai { width: 82%; top: 286px; }
  .c-speed { top: 0; right: 0; }
  .toast { left: 0; }
  .ai__uses, .dev ul { grid-template-columns: minmax(0, 1fr); }
  .sectors__list, .quotes { grid-template-columns: minmax(0, 1fr); }
  .case--ghost .case__body { grid-template-columns: minmax(0, 1fr); }
  .case--ghost .case__kpis { grid-column: 1; grid-row: auto; border-top: 1px solid var(--paper-line); padding-top: 18px; }
  .case__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proto { left: 8px; right: 8px; bottom: 8px; justify-content: space-between; }
  .proto__name { display: none; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 28px 16px; }
  .hero__ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: 16px 40px; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: 24px; }
}

/* Errori dei singoli campi segnalati dal server (plugin professionalsite-core) */
.field__error { display: block; margin-top: 4px; font-size: 13px; color: var(--alert); }
.band--light .field__error, .cform .field__error { color: #B42318; }
.form-fallback { padding: 22px; border-radius: 16px; border: 1px solid var(--line-2); font-size: 16px; }
.form-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barra di contatto su smartphone ---------- */
.cbar { display: none; }
@media (max-width: 760px) {
  .cbar {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--ink) 90%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .cbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 10px; border-radius: 999px;
    border: 1px solid var(--line-2); color: var(--text);
    font-size: 15px; font-weight: 600; line-height: 1;
  }
  .cbar a .i { width: 18px; height: 18px; }
  .cbar a.cbar__main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  /* spazio perche' la barra non copra la fine della pagina */
  body { padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .cbar { display: none; } }
