/* FAQ page - matched to hibachinow.com/faq accordion layout */

.hn-faq {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
}

.hn-faq__head {
  text-align: center;
  margin-bottom: 2rem;
}

.hn-faq__head h1 {
  margin: 0 0 1.5rem;
  color: #dc2626;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hn-faq__head p {
  margin: 0 auto;
  max-width: 48rem;
  color: #525252;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.625;
}

.hn-faq__head a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.hn-faq__head a:hover {
  color: #dc2626;
}

.hn-faq__list {
  display: grid;
  gap: 0.75rem;
}

.hn-faq__item {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.hn-faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hn-faq__button:hover {
  background: #f9fafb;
}

.hn-faq__question {
  flex: 1;
  min-width: 0;
  padding-right: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
}

.hn-faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.hn-faq__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.hn-faq__item.is-open .hn-faq__icon {
  transform: rotate(45deg);
}

.hn-faq__panel[hidden] {
  display: none !important;
}

.hn-faq__answer {
  padding: 0 1.5rem 1.25rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.625;
}

@media (max-width: 640px) {
  .hn-faq__button {
    padding: 1rem 1.1rem;
  }

  .hn-faq__question {
    font-size: 1rem;
  }

  .hn-faq__answer {
    padding: 0 1.1rem 1rem;
    font-size: 0.95rem;
  }
}