/* ─── FAQ — sticky side column + serif accordion with round +/− buttons */

.faq__grid {
  display: grid;
  gap: 40px;
  align-items: start;

  @media (min-width: 992px) {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
  }
}

.faq__side {
  & h2 {
    margin: 14px 0 18px;
  }

  & > p {
    color: var(--muted);
  }

  @media (min-width: 992px) {
    position: sticky;
    top: 110px;
  }
}

.faq__help {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--sage-soft);

  & strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 400;
  }

  & a {
    color: var(--sage-d);
    font-weight: 700;
    word-break: break-word;
  }
}

.acc__item {
  border-bottom: 1px solid var(--line);

  &:first-child {
    border-top: 1px solid var(--line);
  }
}

.acc__h {
  font-size: inherit;
  line-height: inherit;
}

.acc__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.2;

  @media (min-width: 640px) {
    font-size: 1.45rem;
  }
}

.acc__pm {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  position: relative;
  transition: background-color 0.3s;

  &::before,
  &::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 1.6px;
    background: var(--cocoa);
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ease), background-color 0.3s;
  }

  &::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

.acc__btn[aria-expanded="true"] .acc__pm {
  background: var(--clay);

  &::before,
  &::after {
    background: var(--white);
  }

  &::after {
    transform: translate(-50%, -50%) rotate(0);
  }
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);

  & > div {
    overflow: hidden;
  }

  & p {
    padding: 0 0 24px;
    color: var(--muted);

    @media (min-width: 640px) {
      padding-right: 56px;
    }
  }

  & a {
    color: var(--clay-d);
  }
}

.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr;
}
