/* ───────── Tokens ───────── */
:root {
  --f-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --f-body: 'Satoshi', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  --r-s: 6px; --r-m: 12px; --r-l: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* Arena — la palette attuale di Fuerte Digitales, raffinata */
[data-theme="arena"] {
  --bg: #FBF6EC;
  --bg-2: #F3E6C9;
  --ink: #192B29;
  --muted: #5C6E6A;
  --line: rgba(25, 43, 41, .14);
  --dark: #13302E;
  --dark-2: #0E2422;
  --on-dark: #F4EFE4;
  --on-dark-muted: #9DB3AE;
  --line-dark: rgba(244, 239, 228, .16);
  --accent: #DE5A36;
  --accent-hi: #EE7752;
  --on-accent: #FFFFFF;
  --live: #41D6BE;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; transition: background .5s, color .5s; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.dark { background: var(--dark); color: var(--on-dark); }
.acc { color: var(--accent-hi); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent); }
.dot--pulse { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 16px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--on-dark); color: var(--dark); width: 100%; }
.link { display: inline-flex; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: color .25s, gap .25s var(--ease); }
.link:hover { color: var(--accent); gap: 12px; }

/* ───────── Header ───────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .35s, color .35s, box-shadow .35s; }
.hdr__in { height: 72px; display: flex; align-items: center; gap: 32px; }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--f-body); letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 12px 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { display: none; }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 120px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent); filter: blur(30px); z-index: -1; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.hero__clock { display: inline-flex; align-items: center; gap: 10px; }
.hero__clock b { color: var(--on-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__grid { display: grid; grid-template-columns: 1.55fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero__title { font: 600 clamp(44px, 6.3vw, 96px)/.96 var(--f-display); letter-spacing: -.025em; word-spacing: .06em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .ln > span { display: inline-block; }
.js .hero__title .ln > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero__title .ln:nth-child(3) > span { animation-delay: .12s; }
.js .hero__title .ln:nth-child(4) > span { animation-delay: .24s; }
.hero__kicker { display: block; margin-bottom: 22px; font: 700 13px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--live); word-spacing: 0; }
@keyframes rise { to { transform: none; } }
.hero__sub { max-width: 540px; margin-top: 32px; font-size: clamp(17px, 1.4vw, 19px); color: var(--on-dark-muted); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* Phone demo */
.phone { position: relative; justify-self: end; width: min(100%, 360px); }
.phone__label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.phone__body { height: 500px; border-radius: 40px; background: #0B0B0A; border: 1px solid var(--line-dark); padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 6px #1d1d1b; display: flex; flex-direction: column; }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 18px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.06); color: #EDEDED; }
.phone__bar small { display: block; font-size: 12px; color: var(--live); }
.phone__bar b { font-size: 15px; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 10px 14px; overflow: hidden; font-size: 14.5px; line-height: 1.4; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; animation: pop .45s var(--ease) both; }
.msg.in { align-self: flex-start; background: #232320; color: #EDEDED; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: color-mix(in srgb, var(--live) 85%, #0b0b0a); color: #08201C; border-bottom-right-radius: 4px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #0b2a25; opacity: .5; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.toast { position: absolute; left: -36px; bottom: -18px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; background: var(--on-dark); color: var(--dark); font-size: 13.5px; font-weight: 700; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); }
.toast svg { color: var(--accent); }
.toast.show { opacity: 1; transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stats div { padding: 26px 24px 4px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stats dt { font: 600 clamp(28px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.02em; }
.stats dd { margin-top: 10px; font-size: 14px; color: var(--on-dark-muted); max-width: 22ch; }

/* Marquee */
.marquee { background: var(--accent); color: var(--on-accent); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 32px; width: max-content; align-items: center; font: 500 clamp(20px, 2.2vw, 28px)/1 var(--f-display); letter-spacing: -.01em; animation: slide 38s linear infinite; }
.marquee i { font-style: normal; font-size: .6em; opacity: .7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── Section heads ───────── */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-title { font: 600 clamp(48px, 8vw, 120px)/.9 var(--f-display); letter-spacing: -.03em; word-spacing: .05em; }
.sec-title sup { font-size: .22em; letter-spacing: 0; vertical-align: top; position: relative; top: .5em; color: var(--accent); font-family: var(--f-body); font-weight: 700; }
.sec-title--sm { font-size: clamp(38px, 5vw, 68px); }
.sec-lede { max-width: 380px; color: var(--muted); }
.dark .sec-lede { color: var(--on-dark-muted); }
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 14px; }

/* ───────── Work ───────── */
.work { padding: var(--sec) 0; }
.case { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.case--flip { grid-template-columns: 1fr 1.5fr; }
.case--flip .case__media { order: 2; }
.case__media { position: relative; padding: 0 0 48px; }
.browser { border-radius: var(--r-m); overflow: hidden; background: #0d0d0c; box-shadow: 0 50px 90px -40px rgba(20,20,18,.45), 0 0 0 1px var(--line); transform: perspective(1600px) rotateY(0deg); transition: transform .8s var(--ease); }
.case:hover .browser { transform: perspective(1600px) rotateY(-2deg) translateY(-6px); }
.case--flip:hover .browser { transform: perspective(1600px) rotateY(2deg) translateY(-6px); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #1b1b19; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a37; }
.browser__bar span { margin-left: 12px; flex: 1; max-width: 260px; font-size: 12px; color: #9a968d; background: #262624; border-radius: 6px; padding: 4px 12px; }
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.mini-phone { position: absolute; right: -14px; bottom: 0; width: 26%; min-width: 120px; border-radius: 22px; overflow: hidden; border: 6px solid #0d0d0c; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transition: transform .8s var(--ease); }
.case--flip .mini-phone { right: auto; left: -14px; }
.case:hover .mini-phone { transform: translateY(-14px); }
.mini-phone img { aspect-ratio: 9 / 19; object-fit: cover; object-position: top; width: 100%; }
.case__n { display: block; font: 600 14px/1 var(--f-body); color: var(--accent); letter-spacing: .1em; margin-bottom: 18px; }
.case__info h3, .tile h3 { font: 600 clamp(32px, 3.6vw, 52px)/1 var(--f-display); letter-spacing: -.02em; word-spacing: .05em; }
.case__kind { margin: 10px 0 20px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.case__info > p:not(.case__kind) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.tile { padding: 0 0 8px; }
.tile h3 { font-size: clamp(28px, 2.6vw, 38px); }
.tile > p { color: var(--muted); margin-top: 14px; }
.tile .case__n { margin: 28px 0 14px; }
.tile .tags { margin-bottom: 20px; }
.note { display: block; font-size: 12.5px; color: var(--muted); }
.tile__media { border-radius: var(--r-l); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.tile__media--chat { background: var(--dark); }
.tile__media--gbp { background: var(--bg-2); }
.mchat { width: min(100%, 340px); display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.mchat__bar { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-dark); margin-bottom: 4px; }
.mchat__bar img { border-radius: 50%; background: #fff; }
.mchat .b { max-width: 85%; padding: 9px 12px; border-radius: 14px; }
.mchat .in { align-self: flex-start; background: #2a2926; color: #eee; border-bottom-left-radius: 4px; }
.mchat .out { align-self: flex-end; background: color-mix(in srgb, var(--live) 85%, #0b0b0a); color: #08201C; border-bottom-right-radius: 4px; }
.gbp { width: min(100%, 340px); background: #fff; color: #202124; border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -25px rgba(20,20,18,.35); font-family: var(--f-body); }
.gbp__top { display: flex; gap: 14px; align-items: center; }
.gbp__top img { border-radius: 50%; border: 1px solid #eee; }
.gbp__top b { font-size: 18px; display: block; }
.gbp__top small { color: #5f6368; font-size: 13px; }
.gbp__badge { display: inline-flex; align-items: center; gap: 6px; margin: 18px 0; padding: 6px 12px; border-radius: 999px; background: #E6F4EA; color: #137333; font-size: 13px; font-weight: 700; }
.gbp__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gbp__btns span { text-align: center; font-size: 12.5px; color: #1a73e8; font-weight: 700; padding: 9px 4px; border: 1px solid #dadce0; border-radius: 999px; }

.wip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding: 24px 28px; border: 1px dashed var(--line); border-radius: var(--r-l); }
.wip p { flex: 1; min-width: 240px; color: var(--muted); }
.wip b { color: var(--ink); }

/* ───────── Services ───────── */
.services { padding: var(--sec) 0; }
.svc__row { display: grid; grid-template-columns: 90px 1.4fr 1fr; grid-template-areas: "n main list" "n price list"; column-gap: clamp(24px, 4vw, 64px); row-gap: 18px; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line-dark); transition: background .4s; }
.svc__row:last-child { border-bottom: 1px solid var(--line-dark); }
.svc__n { grid-area: n; font: 600 20px/1.1 var(--f-display); color: var(--accent-hi); padding-top: .5em; }
.svc__main { grid-area: main; }
.svc__main h3 { font: 600 clamp(36px, 4.6vw, 68px)/.95 var(--f-display); letter-spacing: -.025em; word-spacing: .05em; margin-bottom: 18px; transition: transform .5s var(--ease), color .3s; }
.svc__row:hover h3 { transform: translateX(10px); color: var(--accent-hi); }
.svc__main p { color: var(--on-dark-muted); max-width: 560px; }
.svc__list { grid-area: list; align-self: center; display: flex; flex-direction: column; }
.svc__list li { padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-weight: 500; display: flex; justify-content: space-between; }
.svc__list li::after { content: "→"; opacity: .4; }
.svc__price { grid-area: price; font-size: 14px; font-weight: 700; color: var(--on-dark); letter-spacing: .02em; }

/* ───────── Manifesto ───────── */
.manifesto { position: relative; min-height: clamp(520px, 90vh, 900px); display: grid; align-items: end; color: #F6F1E7; overflow: hidden; }
.manifesto img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.manifesto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,9,.15) 0%, rgba(10,10,9,.2) 40%, rgba(10,10,9,.78) 100%); }
.manifesto__in { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 110px); }
.manifesto blockquote p { font: 400 clamp(44px, 7.4vw, 116px)/.98 var(--f-serif); letter-spacing: -.02em; max-width: 14ch; }
.manifesto em { color: color-mix(in srgb, var(--accent-hi) 70%, #fff); }
.manifesto footer { margin-top: 28px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* ───────── About ───────── */
.about { padding: var(--sec) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__photos { position: relative; aspect-ratio: 1 / 1.08; }
.ph { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-l); box-shadow: 0 40px 80px -40px rgba(20,20,18,.5); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph--a { left: 0; top: 0; width: 64%; height: 78%; }
.ph--b { right: 0; bottom: 0; width: 50%; height: 62%; border: 8px solid var(--bg); }
.about__stamp { position: absolute; left: 6%; bottom: 4%; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; text-align: center; font: 600 15px/1.15 var(--f-display); transform: rotate(-10deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,.35); }
.about__copy .sec-title { margin-bottom: 28px; }
.about__lead { font: 500 clamp(22px, 2.2vw, 28px)/1.3 var(--f-body); letter-spacing: -.01em; margin-bottom: 22px; }
.about__copy > p:not(.about__lead) { color: var(--muted); margin-bottom: 14px; max-width: 520px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.pills li { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14px; font-weight: 500; }

/* ───────── Process ───────── */
.process { padding: 0 0 var(--sec); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; counter-reset: s; }
.steps li { padding: 32px 32px 0 0; border-top: 2px solid var(--ink); }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps span { font: 600 15px/1 var(--f-body); color: var(--accent); }
.steps h3 { font: 600 clamp(26px, 2.4vw, 34px)/1.05 var(--f-display); letter-spacing: -.02em; margin: 16px 0 12px; }
.steps p { color: var(--muted); max-width: 32ch; }

/* ───────── Pricing ───────── */
.pricing { padding: var(--sec) 0; background: var(--bg-2); transition: background .5s; }
.founder { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; border-radius: var(--r-l); padding: clamp(28px, 4vw, 52px); margin-bottom: 24px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 60px -30px rgba(19,48,46,.45); }
.founder__badge { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--accent-hi); color: #fff; font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.founder__title { font: 600 clamp(28px, 3.2vw, 44px)/1.06 var(--f-display); letter-spacing: -.02em; max-width: 18ch; }
.founder__sub { margin-top: 16px; color: var(--on-dark-muted); max-width: 52ch; }
.founder__price { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.founder__price s { color: var(--on-dark-muted); font-size: 18px; text-decoration-thickness: 2px; }
.founder__price b { font: 600 clamp(40px, 4.4vw, 60px)/1 var(--f-display); letter-spacing: -.02em; color: var(--on-dark); }
.seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.seats i { height: 10px; border-radius: 5px; background: var(--line-dark); }
.seats i.on { background: var(--accent-hi); }
.founder__left { display: flex; align-items: center; gap: 10px; margin: 16px 0 26px; font-size: 15px; font-weight: 700; color: var(--live); }
.founder__left b { color: var(--live); }
.founder__side .btn { box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--accent) 80%, transparent); }

.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(19,48,46,.35); }
.pcard--feat { background: var(--dark); color: var(--on-dark); border-color: transparent; box-shadow: 0 0 0 1px color-mix(in srgb, var(--live) 45%, transparent); }
.pcard__eyebrow { display: block; font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #2C7D72; margin-bottom: 14px; }
.pcard--feat .pcard__eyebrow { color: var(--live); }
.pcard h3, .pwide h3 { font: 600 24px/1.12 var(--f-display); letter-spacing: -.01em; }
.pcard__price { margin: 14px 0 20px; font: 600 clamp(40px, 3.6vw, 50px)/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.pcard__price small { font: 500 14px var(--f-body); letter-spacing: 0; color: var(--muted); margin: 0 4px; }
.pcard--feat .pcard__price small { color: var(--on-dark-muted); }
.pcard__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: 15px; line-height: 1.4; }
.pcard__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.pcard__list svg { margin-top: 2px; color: #2C7D72; }
.pcard--feat .pcard__list svg { color: var(--live); }
.pcard__cta { margin-top: auto; width: 100%; }
.pwide { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; margin-top: 16px; padding: 28px 32px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.pwide p { color: var(--muted); max-width: 60ch; margin-top: 8px; }
.pwide .pcard__price { margin: 0; }
.pricing__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ───────── Voices ───────── */
.voices { padding: var(--sec) 0; }
.voices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gbadge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.gbadge:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(19,48,46,.4); }
.gbadge__g { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 700 18px var(--f-display); color: var(--ink); }
.gbadge b { font: 600 20px var(--f-display); }
.gbadge .stars { color: var(--accent); letter-spacing: 1px; font-size: 14px; margin-left: 4px; }
.gbadge small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.contact__map { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--on-dark-muted); text-decoration: none; }
.contact__map:hover { color: var(--on-dark); }
.contact__map svg { flex: none; color: var(--live); }
.voice blockquote { font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--f-serif); letter-spacing: -.01em; }
.voice figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }
.voice figcaption b { color: var(--ink); margin-right: 8px; }
.stars { color: var(--accent); letter-spacing: 2px; margin-right: 8px; }

/* ───────── FAQ ───────── */
.faq { padding: 0 0 var(--sec); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .sec-title { position: sticky; top: 110px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; font: 700 18px/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--f-body); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* ───────── Contact ───────── */
.contact { padding: var(--sec) 0; }
.contact__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact__title { font: 600 clamp(42px, 5.6vw, 84px)/.98 var(--f-display); letter-spacing: -.025em; word-spacing: .05em; }
.contact__title .acc { display: block; }
.contact__sub { margin-top: 26px; color: var(--on-dark-muted); max-width: 460px; }
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.contact__tel { font: 600 22px/1 var(--f-display); text-decoration: none; border-bottom: 1.5px solid var(--line-dark); padding-bottom: 4px; }
.contact__tel:hover { border-color: var(--on-dark); }
.form { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-l); background: var(--dark-2); border: 1px solid var(--line-dark); }
.form__hint { font-size: 14px; color: var(--on-dark-muted); }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.form input, .form textarea { font: 400 16px var(--f-body); color: var(--on-dark); background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); padding: 10px 0; resize: vertical; transition: border-color .2s; }
.form input::placeholder, .form textarea::placeholder { color: color-mix(in srgb, var(--on-dark-muted) 70%, transparent); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent-hi); }
.form .btn { margin-top: 8px; }

/* ───────── Footer ───────── */
.ftr { padding: 72px 0 28px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 14px; }
.ftr p { line-height: 1.75; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--accent-hi); }
.ftr__muted { margin-top: 14px; color: var(--on-dark-muted); }
.ftr__base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 22px; background: linear-gradient(var(--line-dark), var(--line-dark)) no-repeat center top / calc(100% - 2 * var(--gut)) 1px; font-size: 13px; color: var(--on-dark-muted); }

/* ───────── Palette switch (solo anteprima) ───────── */

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phone { justify-self: start; }
  .toast { left: auto; right: -8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__media { order: 0; }
  .svc__row { grid-template-columns: 60px 1fr; grid-template-areas: "n main" "n list" "n price"; }
  .founder { grid-template-columns: 1fr; }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .pwide { grid-template-columns: 1fr auto; }
  .pwide > div { grid-column: 1 / -1; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__grid .sec-title { position: static; }
}
@media (max-width: 860px) {
  .nav, .hdr__right .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .hdr__right { margin-left: auto; }
  .mnav { display: flex; flex-direction: column; gap: 4px; padding: 0 var(--gut); max-height: 0; overflow: hidden; background: var(--bg); color: var(--ink); transition: max-height .45s var(--ease), padding .45s; }
  .mnav.open { max-height: 420px; padding: 8px var(--gut) 24px; }
  .mnav a { padding: 12px 0; font: 600 26px/1.1 var(--f-display); text-decoration: none; border-bottom: 1px solid var(--line); }
  .hdr.menu-open { background: var(--bg); color: var(--ink); }
  .duo { grid-template-columns: 1fr; gap: 56px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 30px; border-left: 0; }
    .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 100px; }
  .hero__meta { font-size: 11.5px; }
  .hero__ctas .btn { width: 100%; }
  .phone { width: 100%; }
  .phone__body { height: 460px; }
  .toast { right: 8px; bottom: 20px; }
  .stats div, .stats div + div { padding: 20px 12px 16px 0; }
  .stats div:nth-child(even) { padding-left: 16px; }
  .stats dd { font-size: 13px; }
  .mini-phone { width: 30%; right: -4px; }
  .case--flip .mini-phone { left: -4px; }
  .svc__row { grid-template-columns: 1fr; grid-template-areas: "n" "main" "list" "price"; row-gap: 12px; }
  .svc__n { padding-top: 0; }
  .pcards { grid-template-columns: 1fr; }
  .pwide { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .pwide .btn { width: 100%; }
  .about__stamp { width: 96px; height: 96px; font-size: 13px; }
  .ftr__base { flex-direction: column; gap: 8px; }
    .ftr { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero__title .ln > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ───────── Utility ───────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Chatbot ───────── */
.bot { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--f-body); }
.bot__fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 18px; border: 0; border-radius: 999px; background: var(--dark); color: var(--on-dark); font: 700 15px var(--f-body); cursor: pointer; box-shadow: 0 18px 40px -14px rgba(19,48,46,.6), 0 0 0 1px var(--line-dark) inset; transition: transform .3s var(--ease); }
.bot__fab:hover { transform: translateY(-2px); }
.bot__fab-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 25%, transparent); animation: pulse 2s infinite; }
.bot__ico-close { display: none; }
.bot.open .bot__fab { width: 56px; padding: 0; justify-content: center; }
.bot.open .bot__fab-txt, .bot.open .bot__fab-dot, .bot.open .bot__ico-open { display: none; }
.bot.open .bot__ico-close { display: block; }
.bot__panel { position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--bg); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(19,48,46,.55), 0 0 0 1px var(--line); transform-origin: bottom right; animation: botIn .35s var(--ease); }
.bot__panel[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--dark); color: var(--on-dark); }
.bot__head b { display: block; font: 600 17px/1.1 var(--f-display); }
.bot__head small { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12px; color: var(--on-dark-muted); }
.bot__head small .dot { width: 6px; height: 6px; box-shadow: none; }
.bot__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 17px var(--f-display); }
.bot__x { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer; display: grid; place-items: center; }
.bot__x:hover { background: rgba(255,255,255,.08); }
.bot__log { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bm { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; animation: botIn .3s var(--ease); overflow-wrap: anywhere; }
.bm a { color: inherit; font-weight: 700; }
.bm--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bm--me { align-self: flex-end; background: var(--dark); color: var(--on-dark); border-bottom-right-radius: 6px; }
.bm--typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.bm--typing i { opacity: .35; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.bm--typing i:nth-child(2) { animation-delay: .15s; } .bm--typing i:nth-child(3) { animation-delay: .3s; }
.bot__chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 10px; scrollbar-width: none; }
.bot__chips::-webkit-scrollbar { display: none; }
.bot__chips button { flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 13px; font: 600 13px var(--f-body); cursor: pointer; }
.bot__chips button:hover { border-color: var(--ink); }
.bot__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg); }
.bot__form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 16px var(--f-body); color: var(--ink); }
.bot__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.bot__send { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bot__send:disabled { opacity: .5; cursor: default; }
.bot__foot { padding: 0 16px 12px; font-size: 11.5px; color: var(--muted); }
.bot__foot a { color: var(--ink); }
@media (max-width: 560px) {
  .bot { right: 14px; bottom: 14px; }
  .bot__fab { height: 52px; }
  .bot.open .bot__fab { width: 52px; }
  .bot__panel { position: fixed; right: 8px; left: 8px; bottom: 76px; width: auto; height: calc(100dvh - 96px); }
}

/* ───────── Samsara case ───────── */
.mini-phone--chat { width: 38%; min-width: 210px; max-width: 280px; background: #ECE5DD; border-radius: 26px; }
.wa { display: flex; flex-direction: column; font-family: var(--f-body); }
.wa__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #1F3B36; color: #fff; }
.mini-phone .wa__bar img { width: 26px; height: 26px; aspect-ratio: 1; border-radius: 50%; background: #fff; object-fit: cover; }
.wa__bar b { display: block; font-size: 12.5px; line-height: 1.1; }
.wa__bar small { font-size: 10.5px; opacity: .7; }
.wa__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 9px 14px; }
.w { max-width: 88%; padding: 7px 9px; border-radius: 10px; font-size: 11.5px; line-height: 1.35; color: #111; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.w.in { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.w.out { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.w--ok { border-left: 3px solid #25A35A; }
.wa__opts { display: flex; gap: 5px; flex-wrap: wrap; }
.wa__opts span { padding: 5px 9px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; color: #1F7A68; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.wa__opts span.on { background: #1F7A68; color: #fff; }
.wa__opts--btn span { flex: 1; text-align: center; border-radius: 8px; }
.case--sam .case__info > p + p { margin-top: 14px; }
.tile__media--site { background: var(--dark); padding: 32px; }
.browser--sm { width: 100%; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.tile:hover .browser--sm { transform: translateY(-4px); }

/* ───────── Google reviews ───────── */
.voices__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; margin-top: 48px; }
.greview { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.greview .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.greview blockquote { margin-top: 16px; font: 400 clamp(20px, 1.7vw, 25px)/1.32 var(--f-serif); color: var(--ink); }
.greview--short blockquote { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.05; margin: auto 0; padding: 24px 0; }
.greview figcaption { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--muted); }
.greview figcaption b { color: var(--ink); margin-right: 8px; }
@media (max-width: 900px) { .voices__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .case--sam .case__media { padding-bottom: 0; }
  .mini-phone--chat { position: relative; right: auto; bottom: auto; width: 82%; max-width: 300px; min-width: 0; margin: -70px -4px 0 auto; }
}

/* ───────── Language pill ───────── */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); font: 700 12px/1 var(--f-body); letter-spacing: .06em; }
.lang a { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; text-decoration: none; opacity: .72; transition: opacity .2s, background .2s, color .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; }
.hdr .lang a[aria-current] { background: var(--on-dark); color: var(--dark); }
.hdr.is-solid .lang a[aria-current], .hdr.menu-open .lang a[aria-current] { background: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .lang a { min-width: 32px; height: 30px; padding: 0 6px; } }
.voices__grid .greview--feature { grid-column: 1 / -1; }
.greview--feature blockquote { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; max-width: 62em; }
