/* =========================
   CUSATI ACCORDION - refined
========================= */
.cusati-accordion{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cusati-acc-item{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbfe 100%);
  border: 1px solid rgba(92, 59, 153, 0.14);
  box-shadow:
    0 14px 34px rgba(31, 41, 55, 0.07),
    0 4px 14px rgba(31, 41, 55, 0.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cusati-acc-item:hover{
  transform: translateY(-1px);
  box-shadow:
    0 18px 42px rgba(31, 41, 55, 0.10),
    0 6px 18px rgba(31, 41, 55, 0.05);
  border-color: rgba(92, 59, 153, 0.22);
}

.cusati-acc-btn{
  width: 100%;
  border: 0;
  background: transparent;
  color: #241b3d;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: var(--font-head, "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  transition: background .2s ease;
}

.cusati-acc-btn:hover{
  background: linear-gradient(180deg, rgba(92,59,153,.035) 0%, rgba(92,59,153,.015) 100%);
}

.cusati-acc-btn:focus{
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(92, 59, 153, 0.14);
}

.cusati-acc-btn .acc-title{
  display: block;
  font-size: 1.06rem;
  color: #23183d;
}

.cusati-acc-btn .acc-icon{
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f2fb 100%);
  border: 1px solid rgba(92, 59, 153, 0.16);
  box-shadow:
    0 8px 18px rgba(92, 59, 153, 0.08),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.cusati-acc-btn .acc-icon::before,
.cusati-acc-btn .acc-icon::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #5C3B99;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .22s ease;
}

.cusati-acc-btn .acc-icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Aperto = meno verticale, diventa "meno" */
.cusati-acc-btn[aria-expanded="true"] .acc-icon::after{
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(.7);
}

.cusati-acc-btn[aria-expanded="true"]{
  background: linear-gradient(180deg, rgba(92,59,153,.045) 0%, rgba(92,59,153,.015) 100%);
}

.cusati-acc-body{
  padding: 2px 22px 22px;
  color: #343844;
  font-family: var(--font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: .98rem;
  line-height: 1.75;
}

.cusati-acc-body::before{
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(92,59,153,.16) 0%, rgba(92,59,153,.05) 100%);
}

.cusati-acc-body p{
  margin: 0 0 12px 0;
}

.cusati-acc-body p:last-child{
  margin-bottom: 0;
}

.cusati-acc-body .acc-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #faf8fd 0%, #f7f3fb 100%);
  border: 1px solid rgba(92, 59, 153, 0.12);
  color: #4a3b71;
  font-size: .95rem;
  line-height: 1.6;
}

.cusati-acc-body .acc-note strong{
  color: #2f2150;
}

/* =========================
   Sticky Prenota box
========================= */
.cusati-sidebox{
  background: linear-gradient(180deg, #ffffff 0%, #fcfbfe 100%);
  border-radius: 22px;
  border: 1px solid rgba(92, 59, 153, 0.14);
  box-shadow:
    0 14px 34px rgba(31, 41, 55, 0.07),
    0 4px 14px rgba(31, 41, 55, 0.04);
}

/* segue lo scroll solo da desktop */
@media (min-width: 992px){
  .cusati-sticky{
    position: sticky;
    top: 110px;
  }
}

/* Mobile: niente sticky */
@media (max-width: 991.98px){
  .cusati-sticky{
    position: static;
  }

  .cusati-acc-btn{
    padding: 18px 18px;
  }

  .cusati-acc-body{
    padding: 2px 18px 18px;
  }

  .cusati-acc-btn .acc-title{
    font-size: 1rem;
  }
}

@media (max-width: 575.98px){
  .cusati-accordion{
    gap: 12px;
  }

  .cusati-acc-item{
    border-radius: 18px;
  }

  .cusati-acc-btn{
    padding: 16px 16px;
    gap: 14px;
  }

  .cusati-acc-btn .acc-title{
    font-size: .96rem;
    line-height: 1.35;
  }

  .cusati-acc-btn .acc-icon{
    width: 38px;
    height: 38px;
  }

  .cusati-acc-body{
    font-size: .95rem;
    line-height: 1.7;
    padding: 2px 16px 16px;
  }

  .cusati-acc-body .acc-note{
    font-size: .92rem;
    padding: 11px 12px;
  }
}