/* NSG FAQ */

.nsg-faq {
  padding: 3rem 0 3.5rem;
  background: #fff;
}

/* ── Header ──────────────────────────────────────────────── */

.nsg-faq__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.nsg-faq__header::before,
.nsg-faq__header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d5d5d5;
}

.nsg-faq__heading {
  font-family: var(--nsg-font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111;
  white-space: nowrap;
  margin: 0;
}

/* ── Two-column grid ─────────────────────────────────────── */

.nsg-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  align-items: start;
}

/* ── Individual item ─────────────────────────────────────── */

.nsg-faq__item {
  border-bottom: 1px solid #e5e5e5;
}

.nsg-faq__item:first-child {
  border-top: 1px solid #e5e5e5;
}

/* ── Trigger button ──────────────────────────────────────── */

.nsg-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #111;
  border-radius: 0;
  transition: color 0.15s ease;
}

.nsg-faq__trigger:hover {
  color: var(--nsg-accent);
  background: none;
  box-shadow: none;
  transform: none;
}

.nsg-faq__q {
  font-family: var(--nsg-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

/* ── +/- icon ────────────────────────────────────────────── */

.nsg-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  color: #555;
}

.nsg-faq__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nsg-faq__icon-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.nsg-faq__item.is-open .nsg-faq__icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.nsg-faq__item.is-open .nsg-faq__icon-minus {
  opacity: 1;
  transform: rotate(0deg);
}

/* ── Answer panel (grid animation) ──────────────────────── */

.nsg-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.nsg-faq__item.is-open .nsg-faq__panel {
  grid-template-rows: 1fr;
}

.nsg-faq__answer {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.3s ease;
}

.nsg-faq__item.is-open .nsg-faq__answer {
  padding-bottom: 1rem;
}

.nsg-faq__answer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 0.75em;
}

.nsg-faq__answer p:last-child {
  margin-bottom: 0;
}

/* ── Column insets ───────────────────────────────────────── */

.nsg-faq__col:first-child .nsg-faq__trigger {
  padding-left: 1rem;
}

.nsg-faq__col:first-child .nsg-faq__answer {
  padding-left: 1rem;
}

.nsg-faq__col:last-child .nsg-faq__trigger {
  padding-right: 1rem;
}

.nsg-faq__col:last-child .nsg-faq__answer {
  padding-right: 1rem;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 680px) {
  .nsg-faq__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nsg-faq__col:nth-child(2) .nsg-faq__item:first-child {
    border-top: none;
  }
}
