/* Life Risk Solutions — expandable product accordion */

.accordion { display: flex; flex-direction: column; gap: 14px; }

.acc-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc-item.open { border-color: var(--teal); box-shadow: var(--shadow-md); }

.acc-head {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title icon" "sum icon";
  gap: 4px 20px; padding: 26px 30px; align-items: center;
  font-family: var(--sans);
}
.acc-title {
  grid-area: title; font-size: 1.2rem; font-weight: 600; color: var(--ink);
  transition: color .2s var(--ease);
}
.acc-item:hover .acc-title { color: var(--teal-deep); }
.acc-sum { grid-area: sum; font-size: .96rem; color: var(--body); line-height: 1.5; }

/* Plus / minus icon built from CSS */
.acc-icon {
  grid-area: icon; position: relative; width: 22px; height: 22px; flex-shrink: 0;
  align-self: start; margin-top: 4px;
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--teal); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-icon::before { top: 10px; left: 0; width: 22px; height: 2px; }       /* horizontal */
.acc-icon::after  { top: 0; left: 10px; width: 2px; height: 22px; }        /* vertical */
.acc-item.open .acc-icon::after { transform: rotate(90deg); opacity: 0; }

.acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body__inner { overflow: hidden; }
.acc-body__inner p {
  padding: 0 30px 28px 30px; font-size: 1rem; color: var(--body); max-width: 80ch;
  margin: 0;
}

@media (max-width: 560px) {
  .acc-head { padding: 22px 22px; }
  .acc-title { font-size: 1.1rem; }
  .acc-body__inner p { padding: 0 22px 24px 22px; }
}
