/* ============================================================
   STANDING BABA — sito vetrina
   Palette Midnight & Electric Amber · dark-mode-first
   ============================================================ */

:root {
  --midnight: #0E0F12;
  --deep:     #0B0C0E;
  --surface:  #16181C;
  --offwhite: #F4F1EA;
  --amber:    #FF7A1A;
  --talco:    #8a8f98;
  --grey:     #c9cdd3;
  --line:     #24272d;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(24px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--offwhite);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.amber { color: var(--amber); }
.dot { color: var(--amber); }

/* ---------- grana di fondo ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.svg-defs { position: absolute; width: 0; height: 0; }

/* ============================================================
   NAV — frosted / liquid glass
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, border-color .4s ease;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;

  /* vetro */
  background: rgba(14, 15, 18, 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0 0 16px 16px;
  /* riflesso di vetro */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10),
              0 8px 30px rgba(0, 0, 0, 0.35);
}
/* la navbar si compatta/scurisce dopo lo scroll */
.nav.scrolled .nav__inner {
  background: rgba(11, 12, 14, 0.72);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__logo { font-family: var(--serif); font-size: 22px; letter-spacing: .5px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav__links a { font-size: 15px; color: var(--grey); transition: color .25s ease; }
.nav__links a:hover { color: var(--offwhite); }

/* bottoni */
.btn {
  display: inline-block; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: .3px; cursor: pointer; transition: all .28s ease;
  text-align: center;
}
.btn--ghost {
  padding: 9px 20px; border: 1.5px solid var(--amber); color: var(--amber);
}
.btn--ghost:hover { background: var(--amber); color: var(--deep) !important; }
.btn--muted {
  padding: 13px 30px; font-size: 16px; border: 1.5px solid var(--talco); color: var(--talco);
}
.btn--muted:hover, .btn--muted:focus-visible { border-color: var(--amber); color: var(--amber); }
.btn--primary {
  padding: 16px 38px; background: var(--amber); color: var(--deep);
  box-shadow: 0 0 0 rgba(255,122,26,0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 122, 26, 0.35);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--pad) 80px;
  background: radial-gradient(60% 50% at 50% 22%, #1b160f 0%, #121316 48%, var(--deep) 100%);
  overflow: hidden;
}

/* aurora ambra che deriva lenta */
.aurora {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,122,26,0.22) 0%, rgba(255,122,26,0) 70%);
  filter: blur(40px);
}
.aurora--a { width: 760px; height: 380px; top: 6%;  left: 50%; transform: translateX(-50%);
  animation: drift1 16s ease-in-out infinite; }
.aurora--b { width: 520px; height: 320px; bottom: 4%; left: 18%;
  background: radial-gradient(circle, rgba(255,122,26,0.10) 0%, rgba(255,122,26,0) 70%);
  animation: drift2 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(-50%, 0) scale(1);} 50%{ transform: translate(-50%, 24px) scale(1.06);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,-20px) scale(1.08);} }

/* firma STB gigante */
.ghost {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 700; font-size: clamp(180px, 38vw, 540px);
  color: #fff; opacity: .04; letter-spacing: .04em; user-select: none; pointer-events: none;
  white-space: nowrap;
}

.hero__content { position: relative; z-index: 2; max-width: 960px; }
.eyebrow {
  font-family: var(--mono); font-size: 15px; letter-spacing: .38em;
  color: var(--amber);
}
.hero .eyebrow { font-size: 16px; letter-spacing: .42em; margin-bottom: 26px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6.2vw, 78px); line-height: 1.04; letter-spacing: .5px;
}
.hero__payoff {
  margin-top: 26px; font-size: clamp(17px, 1.7vw, 22px); color: #aab0b8;
}
.hero__cta {
  margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.hero__secondary {
  font-size: 17px; color: var(--offwhite); transition: opacity .25s ease;
}
.hero__secondary:hover { opacity: .75; }
.hero__secondary .arrow { display: inline-block; transition: transform .25s ease; }
.hero__secondary:hover .arrow { transform: translateY(3px); }

.scrollhint {
  position: absolute; bottom: 34px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .28em; color: #5a5e66; z-index: 2;
}
.scrollhint span { display: block; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* ============================================================
   SEZIONI GENERICHE
   ============================================================ */
.section { padding: clamp(62px, 7vw, 96px) var(--pad); position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section .eyebrow { display: block; margin-bottom: 26px; }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; letter-spacing: .5px;
}
.lead { margin-top: 18px; font-size: clamp(16px, 1.7vw, 21px); color: var(--talco); max-width: 760px; }

/* carte */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: #3a3d44; }
.card:hover::before { opacity: 1; }
.card__label { font-family: var(--mono); font-size: 13px; letter-spacing: .18em; color: var(--talco); }
.card__title { font-family: var(--serif); font-size: 26px; margin: 22px 0 16px; line-height: 1.15; }
.card__text { color: var(--talco); font-size: 17px; }
.cards--amber .card__label { color: var(--amber); }
.lead--wide { max-width: 1000px; color: var(--grey); }

/* barra accento ambra sotto headline (stile Metodo) */
.accent-bar { display: block; width: 120px; height: 3px; border-radius: 2px; margin-top: 24px;
  background: linear-gradient(90deg, var(--amber), rgba(255,122,26,0)); }

/* carte con numero gigante sfumato */
.cards--num .card { padding-top: 34px; }
.card__bignum {
  position: absolute; top: -18px; right: 14px; line-height: 1;
  font-family: var(--serif); font-weight: 700; font-size: 140px;
  color: var(--offwhite); opacity: .05; pointer-events: none; user-select: none;
}
.metodo__close {
  margin-top: clamp(42px, 6vw, 58px); font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 30px); color: var(--grey);
}

/* bridge */
.bridge { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.bridge .eyebrow { display: block; margin-bottom: 18px; }
.bridge__text { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; }

/* sezione chiara (Il mercato) */
.section--light { background: var(--offwhite); color: var(--deep); }
.section--light .h2 { color: var(--deep); }
.section--light .eyebrow { color: #C9772E; }

/* sottolineatura ambra (stile Metodo) */
.ul { position: relative; white-space: nowrap; }
.ul::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.18em; height: 5px;
  background: linear-gradient(90deg, var(--amber), rgba(255,122,26,0));
  border-radius: 2px;
}

/* numeri di mercato */
.stats { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num {
  font-family: var(--sans); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  font-size: clamp(46px, 6vw, 78px); color: var(--deep); font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 16px; font-size: 15px; color: #6b6f76; line-height: 1.4; }
.market__foot { margin-top: clamp(40px, 6vw, 60px); padding-top: 22px; border-top: 1px solid #d8d2c4; }
.market__sources { font-family: var(--mono); font-size: 12px; color: #a59f93; }

/* ============================================================
   CHI SONO
   ============================================================ */
#vantaggio { padding-bottom: clamp(28px, 3.5vw, 50px); }
.chisono { padding-top: clamp(22px, 3vw, 40px); padding-bottom: clamp(34px, 4vw, 56px); }
.chisono__top { position: relative; }
.chisono__bigname {
  position: absolute; top: -.26em; left: -2px; z-index: 0; line-height: .9;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(54px, 12vw, 150px); color: var(--offwhite); opacity: .13;
  white-space: nowrap; pointer-events: none; user-select: none;
}
.chisono__grid {
  position: relative; z-index: 1;
  margin-top: clamp(28px, 5vw, 62px);
  display: grid; grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(36px, 5vw, 80px); align-items: start;
}

/* foto scontornata + icona LinkedIn */
.portrait-col { display: flex; flex-direction: column; }
.portrait { position: relative; display: block; width: 100%; cursor: pointer; }
.portrait-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.linkedin {
  display: inline-flex; align-items: center;
  color: var(--talco); transition: color .25s ease, transform .25s ease;
}
.linkedin:hover, .linkedin:focus-visible { color: var(--amber); transform: translateY(-2px); }
.linkedin svg { width: 38px; height: 38px; fill: currentColor; }
.portrait img { width: 100%; display: block; }
.portrait__amber { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.portrait:hover .portrait__amber, .portrait:focus-visible .portrait__amber { opacity: 1; }

/* bio */
.bio__name { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 50px); margin-top: 6px; line-height: 1.05; }
.bio__role { font-family: var(--mono); font-size: 13.5px; letter-spacing: .14em; color: var(--talco); margin-top: 14px; }
.bio__text { margin-top: 26px; color: var(--grey); font-size: 18px; line-height: 1.62; max-width: 720px; }
.bio__quote {
  margin-top: 30px; padding-left: 24px; border-left: 3px solid var(--amber);
  font-family: var(--serif); font-style: normal; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.32;
}

/* percorso */
.percorso { margin-top: clamp(56px, 8vw, 92px); padding-top: 44px; border-top: 1px solid var(--line); }
.percorso .eyebrow { display: block; margin-bottom: 30px; }
.percorso__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 64px; }
.ptappa { display: flex; gap: 14px; }
.ptappa__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-top: 8px; flex: none; }
.ptappa__title { font-weight: 600; font-size: 18px; }
.ptappa__desc { color: var(--talco); font-size: 15px; margin-top: 3px; }

/* ============================================================
   GLI AMBITI — pillole
   ============================================================ */
.pills { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  display: inline-block; padding: 11px 21px; border-radius: 999px; white-space: nowrap;
  border: 1.3px solid #3a3d44; color: var(--grey); font-size: 16px; cursor: default;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.pill:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
/* Ambiti su fondo chiaro */
.section--light .lead { color: #6b6f76; }
.section--light .pill { border-color: #cdc6b6; color: #4a4e55; }
.section--light .pill:hover { color: var(--amber); border-color: var(--amber); }
.section--light .ambiti__close { color: #3a3d44; }
#ambiti .lead { max-width: none; }
#ambiti { overflow: hidden; }
#ambiti .wrap { position: relative; z-index: 1; }
.ambiti-ghost {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0;
  font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: clamp(180px, 32vw, 440px); color: #EDE7DA;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.ambiti__close {
  margin-top: clamp(44px, 6vw, 64px); font-family: var(--serif); font-style: normal;
  font-size: clamp(18px, 2vw, 26px); color: var(--grey); line-height: 1.32; white-space: nowrap;
}

/* ============================================================
   MARQUEE — "La vivo da dentro"
   ============================================================ */
.marquee {
  background: var(--offwhite); overflow: hidden; position: relative;
  display: flex; align-items: center;
}
.marquee__track { display: flex; width: max-content; animation: scrollx 42s linear infinite; }
.marquee__group {
  white-space: nowrap; font-family: var(--sans); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 70px); color: var(--deep);
  letter-spacing: .01em; padding: 30px 0;
}
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--offwhite), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--offwhite), transparent); }

/* ============================================================
   CONTATTO + FOOTER
   ============================================================ */
.contatto {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 12vw, 150px) var(--pad);
  background:
    linear-gradient(180deg, var(--midnight) 0%, rgba(14,15,18,0) 26%),
    radial-gradient(58% 50% at 50% 38%, #1b160f 0%, #111216 52%, var(--deep) 100%);
}
.aurora--c {
  width: 720px; height: 360px; top: 8%; left: 50%; transform: translateX(-50%);
  animation: drift1 18s ease-in-out infinite;
}
.contatto .ghost { font-size: clamp(150px, 30vw, 420px); }
.contatto__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.contatto .eyebrow { display: inline-block; margin-bottom: 26px; letter-spacing: .42em; }
.contatto__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 80px); line-height: 1.02; }
.contatto__sub { margin-top: 24px; font-size: clamp(17px, 1.8vw, 21px); color: var(--talco); }
.contatto__cta { margin-top: 40px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn--outline { padding: 16px 38px; border: 1.5px solid #3a3d44; color: var(--offwhite); }
.btn--outline:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* ===== Self-assessment ===== */
.assess { text-align: center; padding-bottom: clamp(26px, 3.5vw, 44px); }
.contatto { padding-top: clamp(44px, 6vw, 72px); }
.assess .lead { margin-left: auto; margin-right: auto; }
.assess__card {
  max-width: 680px; margin: 46px auto 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(30px, 4vw, 50px); min-height: 300px;
  display: flex; flex-direction: column; justify-content: center;
}
.assess__progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; }
.assess__dot { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background .35s ease; }
.assess__dot.on { background: var(--amber); }
.assess__count { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; color: var(--talco); margin-bottom: 16px; }
.assess__q {
  font-family: var(--serif); font-size: clamp(20px, 2.5vw, 29px); line-height: 1.3;
  color: var(--offwhite); margin-bottom: 32px;
  opacity: 0; transform: translateY(10px); animation: fadeUp .4s ease forwards;
}
.assess__answers { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.assess__ans {
  padding: 13px 32px; font-family: var(--sans); font-size: 16px; cursor: pointer;
  background: transparent; color: var(--grey);
  border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .2s ease, color .2s ease;
}
.assess__ans:hover { border-color: var(--amber); color: var(--amber); }
.assess__result { opacity: 0; transform: translateY(10px); animation: fadeUp .45s ease forwards; }
.assess__verdict { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); color: var(--offwhite); margin-bottom: 16px; }
.assess__msg { font-size: clamp(16px, 1.6vw, 19px); color: var(--grey); max-width: 470px; margin: 0 auto 30px; line-height: 1.55; }
.assess__cta { display: flex; justify-content: center; margin-bottom: 20px; }
.assess__restart {
  background: none; border: none; cursor: pointer;
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--talco);
  text-decoration: underline; text-underline-offset: 4px; transition: color .2s ease;
}
.assess__restart:hover { color: var(--amber); }
.contatto__contacts { margin-top: 40px; font-family: var(--mono); font-size: 15px; color: var(--talco); }
.contatto__contacts a { transition: color .25s ease; }
.contatto__contacts a:hover { color: var(--amber); }
.contatto__contacts .sep { margin: 0 14px; color: #46494f; }

.footer { border-top: 1px solid var(--line); background: var(--deep); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 30px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer__logo { font-family: var(--serif); font-size: 22px; }
.footer__center { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #5a5e66; }
.footer__link { font-size: 15px; color: var(--talco); transition: color .25s ease; }
.footer__link:hover { color: var(--amber); }
.footer__social { display: flex; align-items: center; gap: 18px; }
.footer__social a { display: inline-flex; color: var(--talco); transition: color .25s ease, transform .25s ease; }
.footer__social a:hover { color: var(--amber); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.footer__made {
  margin-top: 26px; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #54585f;
}
.footer__legal { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 13px; }
.footer__legal a { color: var(--talco); transition: color .2s ease; }
.footer__legal a:hover { color: var(--amber); }
.footer__legal .sep { margin: 0 10px; color: #46494f; }

/* ===== Pagine legali (privacy / cookie) ===== */
.legal-top { padding: 26px var(--pad); border-bottom: 1px solid var(--line); }
.legal-logo { font-family: var(--serif); font-size: 22px; color: var(--offwhite); }
.legal { max-width: 768px; margin: 0 auto; padding: clamp(44px, 8vw, 84px) var(--pad) 70px; }
.legal__back { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--talco); margin-bottom: 34px; transition: color .2s ease; }
.legal__back:hover { color: var(--amber); }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; }
.legal__updated { font-family: var(--mono); font-size: 13px; color: var(--talco); margin: 10px 0 38px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); color: var(--offwhite); margin: 40px 0 14px; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--offwhite); margin: 24px 0 8px; }
.legal p, .legal li { color: var(--grey); font-size: 16.5px; line-height: 1.72; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal__box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 6px 0 30px; }
.legal__box p { margin: 4px 0; }
.legal__box strong { color: var(--offwhite); }
.legal-foot { padding: 40px var(--pad); border-top: 1px solid var(--line); text-align: center; font-family: var(--mono); font-size: 13px; color: var(--talco); }
.legal-foot p { margin: 6px 0; }
.legal-foot a { color: var(--talco); transition: color .2s ease; }
.legal-foot a:hover { color: var(--amber); }
@media (max-width: 640px) {
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq__list { margin-top: clamp(36px, 5vw, 52px); max-width: 880px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(18px, 2.1vw, 24px); color: var(--offwhite);
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--amber); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--amber); transition: transform .3s ease; }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { padding: 0 4px 26px; color: var(--talco); font-size: 17px; line-height: 1.62; max-width: 760px; }
.faq__a em { color: var(--grey); font-style: italic; }
.faq__item[open] .faq__a { animation: fadeUp .42s ease both; }

/* ============================================================
   BANDA AI & MANAGEMENT
   ============================================================ */
.ai {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(72px, 8vw, 100px) var(--pad);
  background: radial-gradient(78% 110% at 50% 32%, #FF8c30 0%, #FF7A1A 48%, #ec690d 100%);
  color: var(--deep);
}
.ai__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(55% 68% at 50% 50%, #000 6%, transparent 78%);
  mask-image: radial-gradient(55% 68% at 50% 50%, #000 6%, transparent 78%);
}
.ai__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.ai .eyebrow { display: inline-block; margin-bottom: 24px; letter-spacing: .42em; color: #3a2102; }
.ai__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.5vw, 76px); line-height: 1.05; color: var(--deep); }
.ai__sub { margin-top: 20px; font-family: var(--serif); font-size: clamp(18px, 2vw, 26px); color: var(--deep); white-space: nowrap; }
@media (max-width: 680px) { .ai__sub { white-space: normal; } }
.accent-w { color: var(--offwhite); }

/* ticker "AI" sopra e sotto, direzioni opposte */
.ai-ticker { position: absolute; left: 0; right: 0; height: 60px; overflow: hidden; display: flex; align-items: center; z-index: 1; }
.ai-ticker--top { top: 0; }
.ai-ticker--bottom { bottom: 0; }
.ai-ticker__track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: .12em; color: var(--deep); animation: scrollx 26s linear infinite;
}
.ai-ticker__track--rev { animation-direction: reverse; }
.aig { padding-right: 0; }
.btn--dark { margin-top: 38px; padding: 16px 40px; background: var(--deep); color: var(--offwhite); }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }

/* bottone liquid glass (banda AI): vetro scuro -> vetro bianco all'hover */
.btn--glass {
  margin-top: 38px; padding: 16px 42px; color: var(--offwhite);
  background: rgba(10, 10, 12, 0.42);
  -webkit-backdrop-filter: blur(13px) saturate(150%);
  backdrop-filter: blur(13px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: background .32s ease, color .32s ease, border-color .32s ease, transform .32s ease, box-shadow .32s ease;
}
.btn--glass:hover, .btn--glass:focus-visible {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMAZIONI
   ============================================================ */
/* entrata Hero (in caricamento) */
.anim { opacity: 0; transform: translateY(22px); animation: fadeUp .95s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* scroll-reveal (per le sezioni successive) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .anim, .reveal, .aurora, .scrollhint span { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- placeholder sezioni in arrivo ---------- */
.placeholder {
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--line); color: #3a3d44;
  font-family: var(--mono); font-size: 14px; letter-spacing: .1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .percorso__grid { grid-template-columns: 1fr; }
  .chisono__grid { grid-template-columns: 1fr; }
  .portrait-col { max-width: 340px; }
  .card__bignum { font-size: 120px; }
  .chisono__bigname { position: static; transform: none !important; display: block; margin-bottom: 8px; opacity: .12; }
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
  .ul { white-space: normal; }
  .ul::after { display: none; }
  .hero__payoff br, .contatto__sub br { display: none; }
  .ambiti__close, .metodo__close, .contatto__contacts { text-align: center; }
  .ambiti__close { white-space: normal; }
  .h2 { font-size: clamp(24px, 6vw, 44px); letter-spacing: 0; }
  .hero__title { font-size: clamp(32px, 8.4vw, 56px); letter-spacing: 0; }
  .contatto__title { font-size: clamp(40px, 11vw, 64px); }
  .bio__name, .contatto__title { letter-spacing: 0; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; row-gap: 34px; }
  .pills { flex-direction: column; align-items: stretch; gap: 12px; }
  .pill { text-align: center; width: 100%; }
  .contatto__contacts { font-size: 14px; }
  .contatto__contacts .sep { display: none; }
  .contatto__contacts a { display: block; margin: 5px 0; }
  .chisono__bigname { font-size: clamp(40px, 12vw, 60px); }
  .ambiti-ghost { font-size: 230px; }
  .hero__cta .btn--primary { width: 100%; }
  .contatto__cta .btn { width: 100%; }
}
