/* Dishco homepage FAQ accordion */
.d-home-faq {
  max-width: 760px;
  margin: 64px auto 48px;
  padding: 0 20px 24px;
}

.d-home-faq__label {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 16px;
}

.d-home-faq__list {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.d-home-faq__item {
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.d-home-faq__q {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 650 !important;
  color: #333 !important;
}

.d-home-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 18px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.d-home-faq__btn:focus-visible {
  outline: 2px solid #58CC02;
  outline-offset: 2px;
}

.d-home-faq__q-text {
  flex: 1;
}

.d-home-faq__icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.28s ease;
  margin-top: -4px;
}

.d-home-faq__btn[aria-expanded="true"] .d-home-faq__icon {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* Smooth expand/collapse via grid 0fr → 1fr */

/* Keep grid layout while hidden so open animates; clip with 0fr rows */
.d-home-faq__a[hidden] {
  display: grid !important;
}

.d-home-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
  padding: 0 4px;
}

.d-home-faq__a.is-open {
  grid-template-rows: 1fr;
  padding-bottom: 4px;
}

.d-home-faq__a-inner {
  overflow: hidden;
  min-height: 0;
}

.d-home-faq__a-inner p {
  margin: 0 0 18px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .d-home-faq__a,
  .d-home-faq__icon {
    transition: none;
  }
}
