/* Berlin Strategy — sistema grafico (19/11/2026).
   Caricato DOPO build/tailwind.css. Tailwind v4 legge i colori da variabili CSS
   (--color-blue-600 …): ridefinendole qui cambia l'intera palette del sito senza
   riscrivere ogni template. Il resto sono componenti comuni (titoli, card, bottoni,
   moduli, sezioni scure). */

:root {
  --ink: #070b14;
  --ink-2: #0e1424;
  --ink-3: #182238;
  --gold: #f5b800;
  --gold-2: #ffcb33;
  --cobalt: #3567ff;
  --cyan: #22d3ee;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --paper: #fafaf7;
  --line: #e8e6df;
  --muted: #5d6474;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -16px rgba(11, 18, 32, .18);
  --shadow-hover: 0 2px 4px rgba(11, 18, 32, .05), 0 24px 48px -20px rgba(11, 18, 32, .28);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* blu → cobalto (link, icone, stati attivi) */
  --color-blue-50: #f1f5ff; --color-blue-100: #e3eaff; --color-blue-200: #c7d5ff;
  --color-blue-300: #9db4fb; --color-blue-400: #6d8ef4; --color-blue-500: #3d66ec;
  --color-blue-600: #2754e6; --color-blue-700: #1d42c2; --color-blue-800: #1a3797; --color-blue-900: #172f77;
  /* viola/indaco → inchiostro: niente più sfumature viola */
  --color-purple-50: #f3f4f7; --color-purple-100: #e7e9ef; --color-purple-500: #1d2840;
  --color-purple-600: #131c2f; --color-purple-700: #0b1220; --color-purple-800: #0b1220;
  --color-indigo-50: #f3f4f7; --color-indigo-100: #e7e9ef; --color-indigo-500: #1d2840;
  --color-indigo-600: #131c2f; --color-indigo-700: #0b1220; --color-indigo-800: #0b1220;
  --color-violet-500: #1d2840; --color-violet-600: #131c2f;
  /* giallo → oro del logo */
  --color-yellow-300: #ffcb33; --color-yellow-400: #f5b800; --color-yellow-500: #e0a800;
  /* grigi freddi → neutri caldi */
  --color-gray-50: #f8f7f4; --color-gray-100: #f1f0eb; --color-gray-200: #e6e4dd;
  --color-gray-300: #d5d2c9; --color-gray-400: #a29f95; --color-gray-500: #77746b;
  --color-gray-600: #545862; --color-gray-700: #3b3f49; --color-gray-800: #232733; --color-gray-900: #0b1220;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font) !important;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Titoli: più grandi, più stretti, gerarchia chiara */
h1, .text-5xl, .text-6xl { letter-spacing: -.035em; }
/* Tailwind v4 mette le sue classi in @layer: una regola fuori layer le scavalca sempre.
   Per questo i titoli grandi valgono solo dove il template non ha già una classe text-*. */
h1:not([class*="text-"]) { font-size: clamp(2.3rem, 4.6vw, 3.7rem) !important; line-height: 1.04 !important; font-weight: 800 !important; }
h1[class*="text-"] { line-height: 1.1; font-weight: 800; }
@layer base { h2 { font-size: clamp(1.85rem, 3.3vw, 2.85rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; } }
h3 { letter-spacing: -.015em; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem) !important; }
.prose h2 { font-size: 1.6rem; }

/* Sezioni scure (ex sfumatura viola) */
.gradient-bg, .hero, section.bg-gradient-to-br, section.bg-gradient-to-r, .bs-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(53, 103, 255, .38), transparent 62%),
    radial-gradient(520px 320px at 70% 30%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(245, 184, 0, .10), transparent 60%),
    var(--ink) !important;
  color: #fff;
  overflow: hidden;
}
.gradient-bg::before, .hero::before, section.bg-gradient-to-br::before, .bs-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.gradient-bg p, .hero p { color: rgba(255, 255, 255, .78); }
.step-number { background: var(--ink) !important; color: var(--cyan) !important; font-family: var(--mono); }

/* Card */
.rounded-lg { border-radius: 14px; }
.rounded-xl { border-radius: var(--radius); }
.rounded-2xl { border-radius: 24px; }
.shadow, .shadow-md, .shadow-lg, .shadow-xl { box-shadow: var(--shadow) !important; }
.bg-white.shadow-lg, .bg-white.shadow-md, .bg-white.shadow-xl, .bg-white.shadow { border: 1px solid var(--line); }
.border-2.border-blue-100, .border-2.border-purple-100, .border-2.border-green-100, .border-2.border-orange-100 { border-width: 1px !important; border-color: var(--line) !important; }
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover) !important; border-color: #d9d5c9 !important; }

/* Bottoni: un solo stile primario (inchiostro), CTA oro, forma a pillola */
.bg-blue-600, .bg-purple-600, .bg-green-600, .bg-green-700, .bg-indigo-600 { background-color: var(--ink) !important; color: #fff; }
.hover\:bg-blue-700:hover, .hover\:bg-purple-700:hover, .hover\:bg-green-700:hover, .hover\:bg-green-800:hover, .hover\:bg-indigo-700:hover { background-color: var(--ink-3) !important; }
.w-16.h-16.bg-blue-600, .w-16.h-16.bg-purple-600, .w-16.h-16.bg-green-600, .w-12.h-12.bg-blue-600 { background: var(--ink) !important; border-radius: 16px !important; }
.w-16.h-16.bg-blue-600 svg, .w-16.h-16.bg-purple-600 svg, .w-16.h-16.bg-green-600 svg { color: #8fb0ff !important; }
a.rounded-lg[class*="bg-"], button.rounded-lg[class*="bg-"], a.rounded-lg[class*="border-2"], button.rounded-lg[class*="border-2"],
button[type="submit"].rounded-lg, .bs-btn { border-radius: 999px !important; }
.bg-yellow-400 { color: var(--ink) !important; box-shadow: 0 8px 24px -10px rgba(245, 184, 0, .7); }
.pulse-animation { animation: none !important; }
button, a { transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.transform.hover\:scale-105:hover { transform: translateY(-1px) !important; }

/* Moduli */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  border-radius: 12px !important; border-color: var(--line) !important; background-color: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--cobalt) !important; box-shadow: 0 0 0 4px rgba(53, 103, 255, .18) !important; outline: none !important; }

/* Link dentro il testo */
.prose a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { border-left-color: var(--gold); background: var(--paper); }

/* Sfondi chiari delle sezioni */
.bg-gray-50, .bg-gray-100 { background-color: var(--paper) !important; }

/* Componenti nuovi (header, footer, home) */
.bs-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt); }
.bs-dark .bs-eyebrow, .gradient-bg .bs-eyebrow { color: var(--cyan); }
.bs-eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 2px; box-shadow: 0 0 12px currentColor; }
.bs-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.bs-btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(245, 184, 0, .8); }
.bs-btn--gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.bs-btn--ink { background: var(--ink); color: #fff; }
.bs-btn--ink:hover { background: var(--ink-3); transform: translateY(-1px); }
.bs-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.bs-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.bs-btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.bs-btn--line:hover { border-color: var(--ink); }
.bs-btn svg { width: 18px; height: 18px; }
.bs-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.bs-link::after { content: "→"; transition: transform .2s; }
.bs-link:hover::after { transform: translateX(4px); }
.bs-section { padding: clamp(64px, 9vw, 120px) 0; }
.bs-head { max-width: 720px; margin-bottom: 48px; }
.bs-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.bs-head h2 { margin: 14px 0 14px; }

/* Header */
.bs-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(232, 230, 223, .9); }
.bs-header__bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.bs-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.bs-nav { display: flex; align-items: center; gap: 4px; }
.bs-nav > a, .bs-nav__drop > a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #3b3f49; text-decoration: none; }
.bs-nav > a:hover, .bs-nav__drop > a:hover { color: var(--ink); background: rgba(11, 18, 32, .05); }
.bs-nav a[aria-current="page"] { color: var(--ink); background: rgba(53, 103, 255, .10); box-shadow: inset 0 0 0 1px rgba(53, 103, 255, .22); }
.bs-nav__drop { position: relative; }
.bs-nav__drop > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.bs-nav__menu { position: absolute; left: -8px; top: 100%; padding-top: 10px; min-width: 260px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.bs-nav__drop:hover .bs-nav__menu, .bs-nav__drop:focus-within .bs-nav__menu { opacity: 1; visibility: visible; transform: none; }
.bs-nav__panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-hover); padding: 8px; }
.bs-nav__panel a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #3b3f49; text-decoration: none; }
.bs-nav__panel a:hover { background: var(--paper); color: var(--ink); }
.bs-header__actions { display: flex; align-items: center; gap: 10px; }
.bs-lang { appearance: none; -webkit-appearance: none; border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 8px 30px 8px 12px; font-size: 13px; font-weight: 700; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230b1220' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.bs-header .bs-btn { padding: 11px 18px; font-size: 14.5px; }
.bs-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.bs-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.bs-burger span::before, .bs-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.bs-burger span::before { top: -6px; } .bs-burger span::after { top: 6px; }
.bs-burger.open span { background: transparent; }
.bs-burger.open span::before { transform: translateY(6px) rotate(45deg); }
.bs-burger.open span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mobile-menu.active { max-height: 1000px; }
.bs-mobile { padding: 8px 0 20px; border-top: 1px solid var(--line); }
.bs-mobile a { display: block; padding: 12px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid #f1f0eb; }
.bs-mobile a.bs-sub { padding-left: 18px; font-weight: 500; color: var(--muted); font-size: 15px; }
.bs-mobile a[aria-current="page"] { color: var(--cobalt); }
@media (max-width: 1100px) { .bs-nav, .bs-header__actions .bs-lang--desk, .bs-header__actions .bs-btn { display: none; } .bs-burger { display: inline-flex; } }

/* Home */
.bs-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 9vw, 112px); }
.bs-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.bs-hero h1 { margin: 18px 0 22px; color: #fff; }
.bs-hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fb0ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-hero .bs-lead { color: rgba(255, 255, 255, .74); max-width: 600px; }
.bs-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bs-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.bs-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.bs-hero__trust b { color: #fff; }
.bs-stars { color: var(--gold); letter-spacing: 2px; }
.bs-panel { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 22px; backdrop-filter: blur(8px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.bs-panel__dots { display: flex; gap: 6px; margin-bottom: 16px; }
.bs-panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.bs-panel__row { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.bs-panel__row + .bs-panel__row { margin-top: 10px; }
.bs-panel__row:hover { background: rgba(255, 255, 255, .09); }
.bs-panel__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(53, 103, 255, .18); color: #9db8ff; border: 1px solid rgba(53, 103, 255, .35); display: grid; place-items: center; }
.bs-panel__ico svg { width: 22px; height: 22px; }
.bs-panel__row strong { display: block; font-size: 15.5px; }
.bs-panel__row small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 2px; }
.bs-panel__row .bs-arrow { margin-left: auto; color: rgba(255, 255, 255, .5); }

.bs-platforms { border-bottom: 1px solid var(--line); background: #fff; }
.bs-platforms .bs-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; padding-top: 26px; padding-bottom: 26px; color: #8a877d; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.bs-platforms small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.bs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.bs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #d9d5c9; }
.bs-card__ico { width: 52px; height: 52px; border-radius: 15px; background: var(--ink); color: #8fb0ff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: inset 0 0 0 1px rgba(53,103,255,.35), 0 10px 24px -12px rgba(53,103,255,.6); }
.bs-card__ico svg { width: 26px; height: 26px; }
.bs-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.bs-card p { color: var(--muted); margin: 0 0 20px; }
.bs-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.bs-card li { display: flex; gap: 10px; font-size: 15px; color: #3b3f49; }
.bs-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(53, 103, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230b1220' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat center; }
.bs-card .bs-link { margin-top: auto; }

.bs-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bs-quote { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: relative; }
.bs-quote::before { content: "“"; position: absolute; top: 6px; right: 26px; font-size: 96px; line-height: 1; color: rgba(245, 184, 0, .35); font-family: Georgia, serif; }
.bs-quote p { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 14px 0 0; font-weight: 500; }

.bs-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.bs-contact__aside h2 { margin: 14px 0 16px; }
.bs-contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.bs-contact__list a, .bs-contact__list span.bs-ci { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 600; }
.bs-contact__list a:hover { border-color: var(--ink); }
.bs-contact__list i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-style: normal; }
.bs-contact__list small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.bs-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.bs-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.bs-form input, .bs-form select, .bs-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); font: inherit; font-size: 15.5px; }
.bs-form .bs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-form > * + * { margin-top: 18px; }

.bs-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.bs-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .2s; }
.bs-faq details[open] { border-color: #cfcabb; }
.bs-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 17.5px; }
.bs-faq summary::-webkit-details-marker { display: none; }
.bs-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .2s; }
.bs-faq details[open] summary::after { transform: rotate(45deg); }
.bs-faq details p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }

.bs-cta { border-radius: 28px; padding: clamp(40px, 6vw, 72px); text-align: center; }
.bs-cta h2 { color: #fff; margin: 0 auto 16px; max-width: 760px; }
.bs-cta p { max-width: 620px; margin: 0 auto 32px; font-size: 18px; }
.bs-cta .bs-hero__cta { justify-content: center; margin-top: 0; }

/* Footer */
.bs-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 72px 0 32px; }
.bs-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.bs-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.bs-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.bs-footer a:hover { color: #8fb0ff; }
.bs-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.bs-footer__brand p { margin: 16px 0 0; max-width: 340px; line-height: 1.7; font-size: 15px; }
.bs-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.bs-footer__bottom nav { display: flex; gap: 20px; }

@media (max-width: 960px) {
  .bs-hero__grid, .bs-contact { grid-template-columns: 1fr; }
  .bs-cards { grid-template-columns: 1fr; }
  .bs-quotes { grid-template-columns: 1fr; }
  .bs-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bs-footer__grid { grid-template-columns: 1fr; }
  .bs-form .bs-row { grid-template-columns: 1fr; }
  .bs-hero__cta .bs-btn { width: 100%; }
  .bs-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* v2 — sezioni tecniche (stack, perché noi, metodo, log) */
.bs-mono { font-family: var(--mono); }
.bs-stack { background: var(--ink); color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.06); }
.bs-stack .bs-container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; padding-top: 26px; padding-bottom: 26px; }
.bs-stack small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-right: 12px; }
.bs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); }
.bs-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.bs-log { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.06); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.62); }
.bs-log b { color: #6ee7b7; font-weight: 500; }
.bs-log u { color: #8fb0ff; text-decoration: none; }
.bs-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: bsPulse 2s infinite; margin-right: 8px; vertical-align: 1px; }
@keyframes bsPulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.bs-panel__line { width: 2px; height: 14px; margin: 4px 0 4px 35px; background: linear-gradient(var(--cobalt), var(--cyan)); opacity: .6; }
.bs-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; overflow: hidden; }
.bs-why > div { background: var(--ink-2); padding: 32px 28px; }
.bs-why h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 18px 0 10px; }
.bs-why p { color: rgba(255,255,255,.62); margin: 0; font-size: 15.5px; line-height: 1.65; }
.bs-why .bs-card__ico { margin: 0; background: rgba(53,103,255,.12); }
.bs-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.bs-step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.bs-step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--cobalt); display: block; margin-bottom: 18px; }
.bs-step h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.bs-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.bs-dark h2 { color: #fff; }
.bs-dark .bs-lead { color: rgba(255,255,255,.66); }
@media (max-width: 960px) { .bs-why, .bs-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bs-why, .bs-steps { grid-template-columns: 1fr; } }

/* v2 — griglia a 2 colonne e riquadri colorati delle pagine interne */
.bs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bs-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .bs-cards, .bs-cards--2 { grid-template-columns: minmax(0, 1fr); } }
div.bg-gradient-to-br, div.bg-gradient-to-r, div.bg-gradient-to-b {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(53, 103, 255, .35), transparent 65%),
    linear-gradient(160deg, var(--ink-2), var(--ink)) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
}
div.bg-gradient-to-br.from-blue-50, div.bg-gradient-to-br.from-gray-50, div.bg-gradient-to-r.from-blue-50, div.bg-gradient-to-br.from-yellow-50, div.bg-gradient-to-br.from-green-50, div.bg-gradient-to-br.from-purple-50 {
  background: var(--paper) !important; color: var(--ink); border-color: var(--line);
}

.bs-mobile a.bs-btn { display: flex; justify-content: center; }

/* v3 — workflow per settore (percorso cliente + workflow animato stile n8n) */
.bs-wf { background: #fff; }
.bs-wf__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bs-wf__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: #3b3f49; cursor: pointer; }
.bs-wf__tab svg { width: 17px; height: 17px; color: var(--cobalt); }
.bs-wf__tab:hover { border-color: #c9c4b6; color: var(--ink); }
.bs-wf__tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 24px -14px rgba(7, 11, 20, .7); }
.bs-wf__tab[aria-selected="true"] svg { color: var(--cyan); }
.bs-wf__tab:focus-visible { outline: 3px solid rgba(53, 103, 255, .45); outline-offset: 2px; }
.bs-wf__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; }
.bs-wf__panel.is-entering { animation: bsWfIn .45s ease both; }
@keyframes bsWfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bs-wf__label { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.bs-wf__journey { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; }
.bs-wf__journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.bs-wf__journey li { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px 12px; border-radius: 14px; font-weight: 600; color: #3b3f49; cursor: pointer; transition: background .3s, color .3s; }
.bs-wf__journey li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.bs-wf__journey li.is-on { background: rgba(53, 103, 255, .08); color: var(--ink); }
.bs-wf__journey li.is-on span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: 0 0 0 6px rgba(53, 103, 255, .15); }
.bs-wf__journey li.is-done span { background: var(--ink); border-color: var(--ink); color: var(--cyan); }
.bs-wf__result { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.bs-wf__result b { color: var(--ink); }
.bs-wf__canvas { position: relative; border-radius: 22px; padding: 24px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 300px at 100% 0%, rgba(53, 103, 255, .28), transparent 60%), var(--ink); }
.bs-wf__canvas::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px); background-size: 22px 22px; }
.bs-wf__canvas .bs-wf__label { color: rgba(255, 255, 255, .5); margin: 0; }
.bs-wf__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.bs-wf__play { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.bs-wf__play:hover { background: rgba(255, 255, 255, .14); }
.bs-wf__nodes { display: flex; flex-direction: column; align-items: stretch; }
.bs-wf__node { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; transition: border-color .35s, background .35s, box-shadow .35s, transform .35s; }
.bs-wf__ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(53, 103, 255, .16); border: 1px solid rgba(53, 103, 255, .32); color: #9db8ff; transition: all .35s; }
.bs-wf__ico svg { width: 21px; height: 21px; }
.bs-wf__txt strong { display: block; font-size: 15px; }
.bs-wf__txt small { display: block; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .5); margin-top: 2px; }
.bs-wf__ok { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; background: #10b981; color: #04241a; opacity: 0; transform: scale(.4); transition: all .3s cubic-bezier(.3, 1.6, .5, 1); }
.bs-wf__node.is-on { border-color: rgba(34, 211, 238, .7); background: rgba(34, 211, 238, .08); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12), 0 14px 40px -18px rgba(34, 211, 238, .8); transform: translateX(4px); }
.bs-wf__node.is-on .bs-wf__ico { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.bs-wf__node.is-done .bs-wf__ok, .bs-wf__node.is-on .bs-wf__ok { opacity: 1; transform: none; }
.bs-wf__node.is-on .bs-wf__ok { background: var(--cyan); animation: bsSpin 1s linear infinite; }
.bs-wf__node.is-on .bs-wf__ok::before { content: ""; }
@keyframes bsSpin { to { transform: rotate(360deg); } }
.bs-wf__node.is-done { border-color: rgba(16, 185, 129, .35); }
.bs-wf__wire { position: relative; height: 22px; margin-left: 33px; width: 2px; background: rgba(255, 255, 255, .14); }
.bs-wf__wire.is-done { background: linear-gradient(var(--cobalt), var(--cyan)); }
.bs-wf__wire i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); opacity: 0; }
.bs-wf__wire.is-flow i { animation: bsFlow .9s ease-in infinite; }
@keyframes bsFlow { 0% { top: -4px; opacity: 0; } 20% { opacity: 1; } 100% { top: 18px; opacity: 0; } }
.bs-wf__log { margin: 18px 0 0; min-height: 118px; max-height: 118px; overflow: hidden; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .06); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #6ee7b7; white-space: pre-wrap; }
.bs-wf__panel.is-finished .bs-wf__canvas { box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .35); }
.bs-wf__more { margin-top: 24px; }
@media (min-width: 1100px) {
  /* desktop: catena orizzontale come nell'editor n8n */
  .bs-wf__panel { grid-template-columns: minmax(0, 1fr); }
  .bs-wf__panel { grid-template-columns: 380px minmax(0, 1fr); }
}
@media (max-width: 960px) { .bs-wf__panel { grid-template-columns: minmax(0, 1fr); } .bs-wf__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .bs-wf__tab { flex: none; } }
.bs-wf__node.is-on .bs-wf__ok { color: transparent; background: transparent; border: 2px solid var(--cyan); border-top-color: transparent; }
.bs-wf__play { white-space: nowrap; }
@media (max-width: 560px) { .bs-wf__canvas .bs-wf__label { font-size: 11px; } .bs-wf__journey { padding: 20px; } .bs-wf__journey li { padding: 9px 8px; } }

/* v3 — blog: testata, filtri, card, articolo */
.bs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.bs-crumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.bs-crumbs a:hover { color: #fff; }
.bs-blog-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.bs-blog-hero h1 { color: #fff; margin: 16px 0 16px; max-width: 820px; font-size: clamp(2.1rem, 4.2vw, 3.3rem) !important; }
.bs-blog-hero .bs-lead { max-width: 680px; }
.bs-blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.bs-blog-filter a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .85); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.bs-blog-filter a svg { width: 16px; height: 16px; color: var(--cyan); }
.bs-blog-filter a:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.bs-blog-filter a[aria-current="page"] { background: #fff; color: var(--ink); border-color: #fff; }
.bs-blog-filter a[aria-current="page"] svg { color: var(--cobalt); }
.bs-blog { background: var(--paper); }
.bs-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.bs-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.bs-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #d9d5c9; }
.bs-post__cover { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; isolation: isolate; background: var(--ink); }
.bs-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-post__cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 18px 18px; }
.bs-post__cover--ecommerce { background: radial-gradient(360px 200px at 100% 0%, rgba(53, 103, 255, .55), transparent 65%), var(--ink); }
.bs-post__cover--social_media { background: radial-gradient(360px 200px at 100% 0%, rgba(34, 211, 238, .38), transparent 65%), var(--ink); }
.bs-post__cover--seo_marketing { background: radial-gradient(360px 200px at 100% 0%, rgba(245, 184, 0, .32), transparent 65%), var(--ink); }
.bs-post__glyph { position: absolute; left: 22px; top: 20px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.bs-post__glyph svg { width: 22px; height: 22px; }
.bs-post__code { position: absolute; left: 22px; bottom: 16px; right: 22px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.bs-post__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.bs-post__cat { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cobalt); }
.bs-post__title { font-size: 19px !important; line-height: 1.3 !important; letter-spacing: -.015em !important; font-weight: 800; margin: 0 0 10px; }
.bs-post__title a { color: var(--ink); text-decoration: none; }
.bs-post__title a:hover { color: var(--cobalt); }
.bs-post__excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.bs-post__more { margin-top: auto; font-size: 15px; }
.bs-post--big { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.bs-post--big .bs-post__cover { aspect-ratio: auto; min-height: 300px; }
.bs-post--big .bs-post__body { padding: clamp(24px, 3.5vw, 44px); justify-content: center; }
.bs-post--big .bs-post__title { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; line-height: 1.18 !important; }
.bs-post--big .bs-post__excerpt { font-size: 16.5px; }
.bs-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.bs-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.bs-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt), var(--cyan)); transform-origin: 0 50%; transform: scaleX(0); }
.bs-article-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.bs-article-hero__in { max-width: 1104px; }
.bs-article-hero__in > h1, .bs-article-hero__in > .bs-lead { max-width: 820px; }
.bs-article-hero h1 { color: #fff; margin: 16px 0 18px; font-size: clamp(2rem, 4vw, 3.1rem) !important; line-height: 1.1 !important; }
.bs-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .62); }
.bs-article-meta span + span::before { content: "·"; margin-right: 20px; color: rgba(255, 255, 255, .3); }
.bs-article-langs a { color: #fff; font-weight: 700; margin-right: 8px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.bs-article { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 64px; justify-content: center; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(24px, 4vw, 40px); }
.bs-article__img { width: 100%; border-radius: 18px; margin-bottom: 32px; }
.bs-prose { font-size: 1.09rem; line-height: 1.8; color: #2b2f39; }
.bs-prose h2 { font-size: 1.65rem !important; letter-spacing: -.02em; border-bottom: 0 !important; padding-bottom: 0 !important; margin-top: 2.6rem !important; scroll-margin-top: 96px; }
.bs-prose h3 { font-size: 1.25rem; letter-spacing: -.01em; scroll-margin-top: 96px; }
.bs-prose li::marker { color: var(--cobalt); }
.bs-prose code { color: var(--cobalt) !important; background: #eef2ff !important; }
.bs-prose blockquote { font-style: normal !important; border-radius: 0 14px 14px 0 !important; border-left-color: var(--cobalt) !important; background: #f1f5ff !important; }
.bs-prose table { border-radius: 12px; overflow: hidden; }
.bs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.bs-tags span { font-family: var(--mono); font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.bs-article__aside { position: relative; }
.bs-aside-sticky { position: sticky; top: 96px; }
.bs-toc { padding: 4px 0 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.bs-toc h2 { font-family: var(--mono); font-size: 12.5px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.bs-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: t; }
.bs-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); text-decoration: none; }
.bs-toc a:hover { color: var(--ink); }
.bs-toc a.is-on { color: var(--ink); font-weight: 700; border-left-color: var(--cobalt); }
.bs-aside-cta { padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.bs-aside-cta strong { display: block; font-size: 17px; margin-bottom: 8px; }
.bs-aside-cta p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.bs-aside-cta .bs-btn { padding: 13px 18px; font-size: 15px; }
@media (max-width: 1100px) { .bs-article { grid-template-columns: minmax(0, 1fr); gap: 32px; } .bs-aside-sticky { position: static; } }
@media (max-width: 960px) { .bs-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bs-post--big { grid-template-columns: minmax(0, 1fr); } .bs-post--big .bs-post__cover { min-height: 200px; } }
@media (max-width: 620px) { .bs-posts { grid-template-columns: minmax(0, 1fr); } }

/* Il CSS critico fissa .container a 1280px fuori layer: rimettiamo le larghezze massime dei template */
.container.max-w-2xl { max-width: 42rem; } .container.max-w-3xl { max-width: 48rem; } .container.max-w-4xl { max-width: 56rem; } .container.max-w-5xl { max-width: 64rem; } .container.max-w-6xl { max-width: 72rem; }
main.container.max-w-3xl { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
main.container.max-w-3xl section { border-top: 1px solid var(--line); padding-top: 24px; }
main.container.max-w-3xl h2 { letter-spacing: -.01em; }

/* parole tedesche lunghe (es. «Suchmaschinenoptimierung») non devono uscire dallo schermo */
h1, h2, h3, h4 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* reCAPTCHA nei moduli */
.bs-recaptcha { margin: 4px 0 16px; min-height: 78px; }
.bs-recaptcha__hint { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #b42318; }
@media (max-width: 360px) { .bs-recaptcha .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }
