@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..700,0..100,0..1;1,9..144,300..700,0..100,0..1&family=Manrope:wght@400;500;600;700;800&display=swap");
/* ==========================================================================
   B Side Italia — Design System & Styles
   Brand: indaco profondo dal logo (#281850) + grigio + azzurro opaco
   Font: Fraunces (display) / Manrope (testo)
   ========================================================================== */

:root {
  --brand: #281850;
  --brand-deep: #1b0f3b;
  --brand-soft: #3d2c6e;
  --brand-tint: #ece8f3;
  --azure: #a9c4d6;
  --azure-strong: #7e9fb8;
  --azure-ink: #4b6f8e;
  --azure-tint: #e6eef4;
  --azure-glow: rgba(169, 196, 214, 0.55);
  --ink: #1e1a2b;
  --ink-2: #3b3747;
  --muted: #6e6b78;
  --muted-2: #9895a1;
  --line: #e2e1e7;
  --grey-50: #f6f6f8;
  --grey-100: #eeeef1;
  --grey-200: #e0e0e5;
  --surface: #ffffff;
  --bg: #f4f4f7;
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 18px 50px -18px rgba(40, 24, 80, 0.22);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;
  --nav-h: 66px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--brand); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--azure-strong); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; background: var(--brand); color: #fff; border-radius: var(--r-pill);
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }
.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; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--grey { background: var(--grey-50); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azure-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--azure); border-radius: 2px; }
.section--brand .eyebrow { color: var(--azure); }
.section--brand .eyebrow::before { background: var(--azure); }

.h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 64ch; }
.text-muted { color: var(--muted); }
em.accent { font-style: italic; font-weight: 400; color: var(--azure-ink); font-variation-settings: "SOFT" 60, "WONK" 1; }
.section--brand em.accent { color: var(--azure); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill); font-weight: 700; font-size: 15px; line-height: 1;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(40, 24, 80, 0.55); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(40, 24, 80, 0.6); }
.btn--azure { background: var(--azure); color: var(--brand); }
.btn--azure:hover { background: #b9d0df; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--azure-strong); background: var(--azure-tint); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--azure-tint); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav pill ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
  transition: padding var(--dur) var(--ease-out);
}
.nav {
  pointer-events: auto;
  width: min(1120px, 100%); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 18px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: height var(--dur) var(--ease-out), background var(--dur), box-shadow var(--dur), width var(--dur-slow) var(--ease-out);
}
.header.is-scrolled { padding-top: 10px; }
.header.is-scrolled .nav { height: 58px; background: var(--glass-bg-strong); box-shadow: 0 12px 34px -16px rgba(40, 24, 80, 0.3), inset 0 1px 0 rgba(255,255,255,0.9); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; object-fit: contain; transition: transform var(--dur) var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; color: var(--brand); line-height: 1; }
.brand__text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__link svg { width: 14px; height: 14px; transition: transform var(--dur); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); background: rgba(169, 196, 214, 0.28); }
.nav__item { position: relative; }
.nav__item.is-open .nav__link svg, .nav__item:hover .nav__link svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; padding: 8px;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  box-shadow: var(--glass-shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.nav__dropdown::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item.is-open .nav__dropdown, .nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav__dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background var(--dur-fast), color var(--dur-fast);
}
.nav__dropdown a span { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.nav__dropdown a:hover { background: rgba(169, 196, 214, 0.3); color: var(--brand); }
.nav__dropdown a i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--azure-tint); color: var(--azure-ink); flex-shrink: 0; }
.nav__dropdown a i svg { width: 18px; height: 18px; }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  place-items: center; color: var(--brand); transition: background var(--dur-fast);
}
.nav__toggle:hover { background: rgba(169, 196, 214, 0.3); }
.nav__toggle span { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur), background var(--dur); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out); }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 800; padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  background: rgba(244, 244, 247, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
body.menu-open { overflow: hidden; }
.mobile-menu__list { display: grid; gap: 6px; max-width: 520px; margin-inline: auto; }
.mobile-menu__list > li { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(60ms + var(--i, 0) * 45ms); }
body.menu-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.8);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--brand);
}
.mobile-menu__link svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--azure-ink); }
.mobile-menu__sub { display: grid; gap: 4px; padding: 6px 0 6px 12px; }
.mobile-menu__sub a { display: block; padding: 10px 14px; font-weight: 600; color: var(--ink-2); border-radius: 12px; }
.mobile-menu__sub a:hover { background: rgba(255,255,255,0.7); color: var(--brand); }
.mobile-menu__footer { max-width: 520px; margin: 28px auto 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(180deg, #f7f7fa 0%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(40,24,80,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(40,24,80,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.85; will-change: transform; }
.blob--azure { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; right: -12vw; top: -10vw; background: radial-gradient(circle at 40% 40%, var(--azure), rgba(169,196,214,0) 68%); animation: float 14s ease-in-out infinite; }
.blob--brand { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; left: -14vw; bottom: -8vw; background: radial-gradient(circle at 50% 50%, rgba(61,44,110,0.35), rgba(61,44,110,0) 70%); animation: float 18s ease-in-out infinite reverse; }
.blob--grey { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 34%; top: 55%; background: radial-gradient(circle, rgba(168,166,178,0.45), rgba(168,166,178,0) 70%); animation: float 16s ease-in-out 2s infinite; }
@keyframes float { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2%, -4%, 0) scale(1.06); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: 0 6px 18px -10px rgba(40,24,80,0.25);
  margin-bottom: 26px;
}
.hero__pill > span { line-height: 1.3; }
.hero__pill i { display: grid; flex-shrink: 0; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--azure); color: var(--brand); }
.hero__pill i svg { width: 13px; height: 13px; }
.hero__pill b { color: var(--brand); font-weight: 700; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lead { margin-bottom: 34px; opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.35s forwards; }
.hero .btn-group { opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.5s forwards; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 44px; opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.65s forwards; }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.hero__trust li svg { width: 18px; height: 18px; color: var(--azure-ink); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero visual composition */
.hero__visual { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: auto auto auto; gap: 16px; align-items: start; }
.glass-card {
  position: relative;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hv-card { padding: 22px 24px; min-width: 0; opacity: 0; animation: cardIn 1s var(--ease-out) forwards; }
.hv-card--main { grid-column: 1; grid-row: 1 / span 2; animation-delay: 0.3s; }
.hv-card--tag { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; margin-top: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--brand); animation-delay: 0.9s; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hv-card--stats { grid-column: 2; grid-row: 2; animation-delay: 0.5s; }
.hv-card--cert { grid-column: 1 / -1; grid-row: 3; width: min(100%, 460px); margin-left: 8%; animation-delay: 0.7s; }
.hv-card--tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--azure-strong); box-shadow: 0 0 0 0 var(--azure-glow); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--azure-glow); } 70% { box-shadow: 0 0 0 10px rgba(169,196,214,0); } 100% { box-shadow: 0 0 0 0 rgba(169,196,214,0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: none; } }
.hv-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; margin-bottom: 16px; }
.hv-card__icon svg { width: 22px; height: 22px; }
.hv-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.hv-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.hv-card__list { display: grid; gap: 8px; margin-top: 14px; }
.hv-card__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hv-card__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azure-strong); flex-shrink: 0; }
.hv-stat { display: grid; gap: 12px; }
.hv-stat div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(40,24,80,0.08); }
.hv-stat div:last-child { border-bottom: 0; padding-bottom: 0; }
.hv-stat strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: var(--brand); line-height: 1; white-space: nowrap; }
.hv-stat span { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: right; line-height: 1.3; }
.hv-cert { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hv-cert img { width: 150px; flex-shrink: 0; }
.hv-cert p { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.hv-cert p small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--azure-strong), transparent); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azure); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
  overflow: hidden;
}
.pillar::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--azure-tint), transparent 70%); opacity: 0; transition: opacity var(--dur); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(40,24,80,0.35); border-color: var(--azure); }
.pillar:hover::after { opacity: 1; }
.pillar__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 300; line-height: 1; color: var(--azure); font-style: italic; margin-bottom: 18px; }
.pillar h3 { font-size: 1.45rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { position: relative; }
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat { padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--brand); }
.stat strong sup { font-size: 1.2rem; color: var(--azure-ink); vertical-align: top; margin-left: 2px; }
.stat span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }

.quote-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.quote-card::before { content: "“"; position: absolute; right: 22px; top: -26px; font-family: var(--font-display); font-size: 12rem; line-height: 1; color: rgba(169,196,214,0.25); font-style: italic; }
.quote-card::after { content: ""; position: absolute; left: -20%; bottom: -50%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(169,196,214,0.35), transparent 70%); }
.quote-card blockquote { position: relative; margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-style: italic; font-weight: 400; line-height: 1.45; }
.quote-card figcaption { position: relative; margin-top: 22px; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(255,255,255,0.4); }
.quote-card figcaption b { display: block; font-weight: 700; }
.quote-card figcaption span { color: var(--azure); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento > * { grid-column: span 4; }
.bento > .span-5 { grid-column: span 5; }
.bento > .span-6 { grid-column: span 6; }
.bento > .span-7 { grid-column: span 7; }
.bento > .span-8 { grid-column: span 8; }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px; min-height: 280px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--dur);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(169,196,214,0.32), transparent 45%);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(40,24,80,0.35); border-color: var(--azure); }
.service-card:hover::before { opacity: 1; }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--azure-tint); color: var(--brand); transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-spring); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.45rem; position: relative; }
.service-card p { color: var(--muted); font-size: 15px; position: relative; flex-grow: 1; }
.service-card .link-arrow { position: relative; margin-top: auto; font-size: 14.5px; }
.service-card--featured { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%); color: #fff; border-color: transparent; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: rgba(255,255,255,0.78); }
.service-card--featured .service-card__icon { background: rgba(255,255,255,0.14); color: #fff; }
.service-card--featured .link-arrow { color: var(--azure); }
.service-card--featured::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(169,196,214,0.28), transparent 45%); }
.service-card--featured::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(169,196,214,0.35); }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.tag { display: inline-block; padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; background: var(--azure-tint); color: var(--azure-ink); white-space: nowrap; }
.service-card--featured .tag { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Certificazioni ---------- */
.cert-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cert-panel .glass-card { padding: clamp(24px, 3vw, 40px); }
.cert-list { display: grid; gap: 14px; margin-top: 26px; }
.cert-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.cert-list li i { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; }
.cert-list li i svg { width: 20px; height: 20px; }
.cert-list li b { display: block; color: var(--brand); font-weight: 700; }
.cert-list li span { font-size: 14px; color: var(--muted); }

/* ---------- Team ---------- */
.team-scroller { position: relative; }
.team-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 300px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 22px; margin: -6px -6px 0;
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card { scroll-snap-align: start; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(40,24,80,0.4); }
.team-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-100); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(0.25); transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow); }
.team-card:hover .team-card__photo img { transform: scale(1.05); filter: grayscale(0); }
.team-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(40,24,80,0.55)); }
.team-card__body { padding: 18px 20px 20px; }
.team-card__body b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--brand); }
.team-card__body span { font-size: 13px; font-weight: 600; color: var(--muted); }
.team-nav { display: flex; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--brand); transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.icon-btn:active { transform: scale(0.94); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

/* ---------- Partner ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.partners li { display: grid; place-items: center; height: 96px; padding: 16px 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); flex: 1 1 180px; max-width: 240px; transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.partners li:hover { border-color: var(--azure); transform: translateY(-3px); }
.partners img { max-height: 56px; width: auto; filter: grayscale(1) opacity(0.65); transition: filter var(--dur); }
.partners li:hover img { filter: none; }

/* ---------- News teaser ---------- */
.news-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.news-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.news-topics .tag { font-size: 13px; padding: 8px 14px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); background: var(--brand); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(169,196,214,0.45), transparent 70%); }
.cta-band::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; left: -15%; bottom: -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto 30px; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-deep); color: rgba(255,255,255,0.75); padding: clamp(56px, 7vw, 88px) 0 28px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(169,196,214,0.16), transparent 70%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 84px; margin-bottom: 20px; }
.footer__brand p { font-size: 14px; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--azure); margin-bottom: 18px; font-weight: 700; }
.footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer a { transition: color var(--dur-fast); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.6; }
.footer address b { display: block; color: #fff; font-weight: 600; }
.footer__bottom { position: relative; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background var(--dur-fast), border-color var(--dur-fast); }
.footer__social a:hover { background: var(--azure); border-color: var(--azure); color: var(--brand); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 96px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, #f7f7fa, var(--bg)); }
.page-hero .blob--azure { width: 46vw; height: 46vw; right: -16vw; top: -22vw; }
.page-hero .blob--brand { width: 30vw; height: 30vw; left: -12vw; bottom: -18vw; }
.page-hero__inner { position: relative; max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Content blocks ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.detail-card { padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.detail-card:hover { transform: translateY(-4px); border-color: var(--azure); box-shadow: 0 30px 50px -30px rgba(40,24,80,0.3); }
.detail-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--azure-tint); color: var(--brand); margin-bottom: 18px; }
.detail-card__icon svg { width: 22px; height: 22px; }
.detail-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.detail-card p { font-size: 15px; color: var(--muted); }
.detail-card p + .check-list, .detail-card h3 + .check-list { margin-top: 14px; }
.check-list { display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--azure-tint); }
.check-list li::after { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 4px; border-left: 2px solid var(--azure-ink); border-bottom: 2px solid var(--azure-ink); transform: rotate(-45deg); }
.detail-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.detail-card .meta { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azure-ink); }

.prose { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2em 0 0.7em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 0.6em; }
.prose ul { display: grid; gap: 10px; margin: 1em 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--azure); }
.prose .doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 14px 18px; border-radius: var(--r-md); background: var(--grey-100); margin-bottom: 2em; }

.feature-rows { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.feature-row:hover { border-color: var(--azure); transform: translateX(6px); }
.feature-row i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; }
.feature-row i svg { width: 28px; height: 28px; }
.feature-row h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature-row p { color: var(--muted); }

/* ---------- Team detail ---------- */
.profile { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile__aside { position: sticky; top: calc(var(--nav-h) + 30px); }
.profile__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--grey-100); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__contact { margin-top: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.profile__contact a { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color var(--dur-fast); }
.profile__contact a:hover { color: var(--brand); }
.profile__contact a svg { width: 18px; height: 18px; color: var(--azure-ink); flex-shrink: 0; }
.profile__contact .btn { margin-top: 6px; }
.profile__role { display: inline-block; padding: 6px 12px; border-radius: var(--r-pill); background: var(--azure-tint); color: var(--azure-ink); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.profile__block { margin-top: 44px; }
.profile__block h2 { font-size: 1.6rem; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.profile__block h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-card i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--azure-tint); color: var(--brand); margin-bottom: 16px; }
.contact-card i svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.contact-card p, .contact-card a { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.contact-card a { font-weight: 600; }
.contact-card a:hover { color: var(--brand); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--azure-strong); box-shadow: 0 0 0 4px rgba(169,196,214,0.35); }
.field small { font-size: 12.5px; color: var(--muted); }
.form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form__note { font-size: 13px; color: var(--muted); padding: 12px 16px; border-radius: 12px; background: var(--azure-tint); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--grey-100); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- News / Archive ---------- */
.empty-state { text-align: center; padding: clamp(40px, 6vw, 72px); border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--grey-200); }
.empty-state i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--azure-tint); color: var(--brand); margin: 0 auto 18px; }
.empty-state i svg { width: 28px; height: 28px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 50ch; margin-inline: auto; }
.archive { display: grid; gap: 12px; }
.archive details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.archive summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.35rem; color: var(--brand); }
.archive summary::-webkit-details-marker { display: none; }
.archive summary svg { width: 18px; height: 18px; transition: transform var(--dur); }
.archive details[open] summary svg { transform: rotate(180deg); }
.archive__months { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; padding: 0 22px 22px; }
.archive__months a { display: block; padding: 10px 14px; border-radius: 12px; background: var(--grey-50); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.archive__months a:hover { background: var(--azure-tint); border-color: var(--azure); color: var(--brand); }

/* ---------- Reveal animations ---------- */
.bs-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.bs-js [data-reveal="left"] { transform: translateX(-28px); }
.bs-js [data-reveal="right"] { transform: translateX(28px); }
.bs-js [data-reveal="scale"] { transform: scale(0.94); }
.bs-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 700; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -12px rgba(40,24,80,0.6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity var(--dur), transform var(--dur) var(--ease-out), background var(--dur-fast); }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento > *, .bento > .span-5, .bento > .span-6, .bento > .span-7, .bento > .span-8 { grid-column: span 6; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 56px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 600px; }
  .hero__scroll { display: none; }
  .split, .cert-panel, .news-teaser, .contact-split { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__aside { position: static; max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .header { padding: 10px 12px 0; }
  .nav { padding: 0 6px 0 14px; }
  .brand__text small { display: none; }
  .bento > *, .bento > .span-5, .bento > .span-6, .bento > .span-7, .bento > .span-8 { grid-column: span 12; }
  .service-card { min-height: 0; }
  .hero__visual { grid-template-columns: 1fr; gap: 12px; }
  .hv-card--main, .hv-card--tag, .hv-card--stats, .hv-card--cert { grid-column: 1; grid-row: auto; margin: 0; width: 100%; }
  .hv-card--tag { justify-self: start; }
  .hv-cert { flex-wrap: wrap; }
  .stat-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .team-track { grid-auto-columns: 78%; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row i { width: 52px; height: 52px; }
  .btn-group .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero .lead, .hero .btn-group, .hero__trust, .hv-card { opacity: 1; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Override per il tema Framework 360 (ambiente B side)
   ========================================================================== */
html, body { margin: 0 !important; padding: 0 !important; background: var(--bg) !important; font-family: var(--font-body) !important; color: var(--ink) !important; }
body .header { z-index: 900; }
.nav ul, .footer ul, .mobile-menu ul, .hero__trust, .partners, .hv-card__list, .cert-list, .hv-stat { list-style: none; margin: 0; padding: 0; }
.footer ul { display: grid; }
.header a, .footer a, main a { text-decoration: none; }
.nav__link, .nav__dropdown a, .mobile-menu__link, .mobile-menu__sub a, .btn { cursor: pointer; }
