/* CEO Trust — "Raccontaci la tua azienda": scelta guidata a riquadri */
.profile.ob{grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);gap:40px;padding:40px;overflow:hidden;
  background:radial-gradient(120% 90% at 0% 0%,rgba(224,140,156,.13),transparent 55%),radial-gradient(90% 70% at 100% 100%,rgba(214,181,126,.08),transparent 60%),var(--bg2)}
.profile.ob .profile-foot{justify-content:flex-start}
.profile.ob #profileSave{display:none}
.ob-src{display:none!important}
.ob-ui{display:flex;flex-direction:column;gap:16px;min-width:0}

/* passi */
.ob-steps{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--dim);font-weight:600}
.ob-steps span{display:flex;align-items:center;gap:8px}
.ob-steps i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--line2);font-style:normal;font-size:12px}
.ob-steps span.on{color:var(--ink)} .ob-steps span.on i{background:var(--rose);border-color:var(--rose);color:#1a1114}
.ob-steps span.done{color:var(--ok)} .ob-steps span.done i{border-color:var(--ok);color:var(--ok)}
.ob-steps b{flex:0 0 36px;height:1px;background:var(--line2)}
.ob-q{font-size:clamp(22px,2.4vw,28px);font-weight:400;margin:2px 0 0;line-height:1.2}
.ob-sub{margin:-6px 0 0;color:var(--muted);font-size:14.5px}

/* ricerca */
.ob-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;background:var(--bg);padding:0 18px;transition:border-color .2s,box-shadow .2s}
.ob-search:focus-within{border-color:var(--rose);box-shadow:0 0 0 4px rgba(224,140,156,.12)}
.ob-search svg{width:18px;height:18px;color:var(--dim);flex:none}
.ob-search input{flex:1;min-width:0;border:0;background:none;color:var(--ink);font-size:15px;padding:14px 0;outline:none}

/* riquadri dei settori */
.ob-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ob-tile{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.015);color:var(--ink);font-size:14px;font-weight:600;line-height:1.25;
  cursor:pointer;transition:transform .18s,border-color .18s,background .18s;animation:obIn .35s both;animation-delay:var(--d)}
.ob-tile:hover{border-color:var(--rose);background:rgba(224,140,156,.07);transform:translateY(-2px)}
.ob-gi{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:rgba(224,140,156,.12);color:var(--rose)}
.ob-gi svg{width:21px;height:21px}
.ob-grp-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ob-grp-head b{font-size:17px}
.ob-back{background:none;border:0;padding:0;color:var(--rose);font-weight:600;font-size:14px;cursor:pointer}
.ob-back:hover{text-decoration:underline}
.ob-sub .ob-back{margin-left:6px}

/* scelte */
.ob-chips{display:flex;flex-wrap:wrap;gap:8px}
.ob-chip{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:10px 16px;font-size:14px;cursor:pointer;transition:all .16s;animation:obIn .3s both}
.ob-chip:hover{border-color:var(--rose);color:var(--rose)}
.ob-chip.on{background:var(--rose);border-color:var(--rose);color:#1a1114;font-weight:600}
.ob-chip.ghost{border-style:dashed;color:var(--muted)}
.ob-other{display:flex;gap:10px}
.ob-other[hidden]{display:none}
.ob-other .i{flex:1;min-width:0}

/* dimensione */
.ob-sizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ob-size{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.015);color:var(--ink);cursor:pointer;text-align:left;
  transition:transform .18s,border-color .18s,background .18s;animation:obIn .35s both;animation-delay:var(--d)}
.ob-size:hover{border-color:var(--rose);transform:translateY(-2px)}
.ob-size b{font-size:18px;font-weight:600}
.ob-size small{color:var(--dim);font-size:12.5px}
.ob-size.on{background:rgba(224,140,156,.14);border-color:var(--rose)}
.ob-ppl{display:flex;gap:3px;height:16px;align-items:flex-end}
.ob-ppl i{width:7px;height:14px;border-radius:4px 4px 2px 2px;background:var(--rose);opacity:.75}
.ob-ppl i:nth-child(2n){height:11px;opacity:.55}

/* anteprima a sinistra */
.ob-prev{margin-top:10px}
.ob-prev-in{border:1px solid var(--line2);border-radius:16px;padding:18px 18px 16px;background:rgba(0,0,0,.18);display:flex;flex-direction:column;gap:12px}
.ob-prev-l{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600}
.ob-ags{display:flex;gap:8px;flex-wrap:wrap}
.ob-ag{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line2);color:var(--dim);transition:all .4s;transition-delay:var(--d)}
.ob-ag svg{width:19px;height:19px}
.ob-ag.on{border-color:var(--rose);color:var(--rose);background:rgba(224,140,156,.1);box-shadow:0 0 18px rgba(224,140,156,.25)}
.ob-prev p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.5}
.ob-prev p b{color:var(--ink);font-weight:600}
.ob-prev ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.ob-prev li{display:flex;gap:9px;align-items:flex-start;font-size:14.5px;color:var(--ink);animation:obIn .4s both;animation-delay:var(--d)}
.ob-prev li::before{content:"";flex:none;width:7px;height:7px;margin-top:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 8px var(--ok)}

/* fatto */
.profile.ob.ob-done .ob-size.on{animation:obPop .5s both}
.profile.ob.ob-done .ob-prev-in{border-color:var(--ok);transition:border-color .3s}
@keyframes obIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes obPop{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.ob-tile,.ob-chip,.ob-size,.ob-prev li{animation:none}}

@media (max-width:980px){.ob-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ob-sizes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.profile.ob{grid-template-columns:1fr;gap:22px;padding:26px 20px}.ob-prev{order:2}}
@media (max-width:420px){.ob-tile{padding:12px;gap:10px;font-size:13.5px}.ob-gi{width:34px;height:34px}}
@media (max-width:820px){
  .profile.ob{display:flex;flex-direction:column}
  .profile.ob .profile-head{display:contents}
  .profile.ob .profile-head > *{order:0}
  .profile.ob .profile-form{order:1}
  .profile.ob .ob-prev{order:2;margin-top:0}
}
