/* Elegant FAQ styling — aligns with a high-end, minimal aesthetic */

:root{
  --ink:#1f2937;        /* deep neutral for text */
  --muted:#6b7280;      /* secondary text */
  --blush:#f7e8e4;      /* soft pastel divider fill */
  --rose:#e9c8bf;       /* accent (hover/focus) */
}

.faq-wrap{
  max-width: 820px;
  padding: 108px 20px 96px;
  margin: 0 auto;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.faq-hero h1{
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 44px);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.faq-hero .sub{
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.faq-section{
  margin-top: 36px;
}

.faq-section h2{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  margin: 0 0 12px;
}

/* Accessible accordions */
details{
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

summary{
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  outline: none;
  transition: color .2s ease;
  position: relative;
  padding-right: 28px;
}

summary::marker{ display: none; }
summary::-webkit-details-marker{ display: none; }

summary::after{
  content: "›";
  position: absolute;
  right: 2px;
  top: 0;
  line-height: 1;
  transform: rotate(90deg) translateY(4px);
  font-size: 18px;
  color: var(--muted);
  transition: transform .25s ease, color .2s ease;
}

details[open] summary::after{
  transform: rotate(-90deg) translateY(-2px);
  color: var(--ink);
}

summary:hover{ color: var(--ink); }

.answer{
  margin: 10px 0 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.answer a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.divider{
  height: 10px;
  background: linear-gradient(180deg, var(--blush), #fff 60%);
  border: 0;
  margin: 28px 0 8px;
  border-radius: 10px;
}

/* CTA at bottom */
.faq-cta{
  margin-top: 28px;
  font-weight: 500;
}

.faq-cta a{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference){
  details .answer{
    animation: fade .25s ease;
  }
  @keyframes fade{
    from{ opacity: 0; transform: translateY(-2px); }
    to{ opacity: 1; transform: translateY(0); }
  }
  .faq-wrap {
    padding-top: 108px;
  }
}

