/* FAQ — collapsed by default, expand on click. Built on native <details>/<summary>. */
body{
  background: #fff;
}
.faq-hero {
  padding-top: clamp(40px, 8vw, 96px);
  padding-bottom: clamp(20px, 3vw, 40px);
  text-align: center;
}

.faq-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b58a00;
}

.faq-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #111;
}

.faq-lead {
  margin: 0 auto;
  max-width: 64ch;
  color: #555;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
}

.faq-section {
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

/* Group (I, II, III, IV) */
.faq-group + .faq-group {
  margin-top: clamp(36px, 5vw, 56px);
}

.faq-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

.faq-group-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--brand);
  color: #111;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.faq-group-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

.faq-list {
  display: grid;
  gap: 12px;
}

/* Single item */
.faq-item {
  background: #fff;
  /* border: 1px solid #ececec; */
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #f1d275;
  /* box-shadow: 0 8px 30px rgba(241, 189, 24, 0.08); */
  background-color: #fafafa;

}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  color: #111;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #fafafa;
}

.faq-q {
  flex: 1;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}

.faq-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* background-color: var(--brand); */
  background-image: url('./static/faq/arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px auto;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
}

/* Answer body */
.faq-a {
  padding: 0 20px 20px 20px;
  color: #4b4b4b;
  line-height: 1.65;
  font-size: 0.95rem;
}

.faq-a > * + * {
  margin-top: 12px;
}

.faq-a p {
  margin: 0;
}

.faq-a ul,
.faq-a ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 6px;
}

.faq-a ul li::marker {
  color: var(--brand);
}

.faq-a strong {
  color: #111;
}

.faq-a a {
  color: #b58a00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-a a:hover {
  color: #111;
}

.faq-subhead {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}

.faq-note {
  margin-top: 12px !important;
  padding: 12px 14px;
  background: #fff8df;
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  font-size: 0.88rem;
  color: #5b4b14;
}

.faq-note strong {
  color: #5b4b14;
}

/* Smooth open animation */
@media (prefers-reduced-motion: no-preference) {
  .faq-a {
    animation: faq-fade 0.22s ease both;
  }
}

@keyframes faq-fade {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tables inside answers */
.faq-table {
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
}

.faq-table-row > div {
  padding: 10px 14px;
  border-right: 1px solid #ececec;
}

.faq-table-row > div:last-child {
  border-right: 0;
}

.faq-table-row:last-child {
  border-bottom: 0;
}

.faq-table-head {
  background: #fafafa;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.faq-table--feature .faq-table-row {
  grid-template-columns: 1fr 2fr;
}

.faq-table--cost .faq-table-row {
  grid-template-columns: 1.2fr 1fr 2fr;
}

@media (max-width: 640px) {
  .faq-table-row,
  .faq-table--feature .faq-table-row,
  .faq-table--cost .faq-table-row {
    grid-template-columns: 1fr;
  }

  .faq-table-row > div {
    border-right: 0;
    border-bottom: 1px dashed #f1f1f1;
  }

  .faq-table-row > div:last-child {
    border-bottom: 0;
  }
}

/* Closing CTA */
.faq-cta {
  margin-top: clamp(48px, 8vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  background: linear-gradient(180deg, #fff8df, #fff);
  border: 1px solid #f1d275;
  border-radius: 16px;
}

.faq-cta-title {
  margin: 0 0 10px;
}

.faq-cta p {
  margin: 0 auto;
  max-width: 60ch;
  color: #555;
}

.faq-cta-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.faq-cta-btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-cta-link {
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.faq-cta-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .faq-item summary {
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-a {
    padding: 0 14px 18px;
  }
}
