/* =========================================================
   FAQ
   - animated accordion
   ========================================================= */

.hm-faq{
  background:
    /* White top + bottom caps (fade to white) */
    linear-gradient(
      180deg,
      #fff 0%,
      #fff 10%,
      rgba(255,255,255,0) 26%,
      rgba(255,255,255,0) 74%,
      #fff 92%,
      #fff 100%
    ),

    /* Your existing glow */
    radial-gradient(720px 420px at 18% 20%, rgba(31,138,91,.10), transparent 60%),
    radial-gradient(720px 420px at 82% 10%, rgba(201,162,39,.10), transparent 60%);
}

.hm-faq__list{ display:grid; gap: 12px; }

.hm-faqItem{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 52px rgba(15,23,42,.08);
  overflow:hidden;
  position: relative;
}

.hm-faqItem::before{
  content:"";
  position:absolute;
  inset: -40% -60%;
  background:
    radial-gradient(circle at 30% 40%, rgba(201,162,39,.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(31,138,91,.16), transparent 55%);
  transform: translateX(-20%) rotate(10deg);
  opacity: 0;
  transition: opacity 220ms ease, transform 760ms cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}

.hm-faqItem:hover::before{
  opacity: 1;
  transform: translateX(20%) rotate(10deg);
}

.hm-faqBtn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  padding: 16px 16px;
  border: 0;
  background: transparent;
  cursor:pointer;

  font-weight: 950;
  color: rgba(15,23,42,.86);
}

.hm-faqBtn i{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.75);
  position: relative;
}

.hm-faqBtn i::before,
.hm-faqBtn i::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15,23,42,.78);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.hm-faqBtn i::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

.hm-faqItem.is-open .hm-faqBtn i::after{
  transform: translate(-50%, -50%) rotate(0deg);
}

.hm-faqPanel{
  height: 0;
  overflow:hidden;
  transition: height 260ms ease;
}

.hm-faqPanel__inner{
  padding: 0 16px 16px;
  color: rgba(15,23,42,.72);
  line-height: 1.7;
  font-weight: 700;
}
