/* ============================================================
   FAQ.CSS — FAQ / Help Center page
   ============================================================ */

body {
  opacity: 0;
}
body.page-loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.page-exiting {
  opacity: 0;
  transition: opacity 0.2s ease;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 52px;
  background: rgba(247,242,234,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,98,45,0.08);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--clay);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 500; opacity: 0.65; transition: all 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--clay) !important; color: white !important; opacity: 1 !important; padding: 9px 22px; border-radius: 10px; font-weight: 600 !important; }

.faq-hero { padding: 80px 48px 56px; text-align: center; background: white; }
.faq-hero-inner { max-width: 680px; margin: 0 auto; }
.faq-hero-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.08; margin-top: 16px; margin-bottom: 16px; letter-spacing: -0.03em; }
.faq-hero-subtitle { font-size: 17px; color: var(--warm-grey); line-height: 1.7; margin-bottom: 36px; }

.faq-search-wrap { max-width: 480px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.faq-search-icon { position: absolute; left: 18px; color: var(--clay); pointer-events: none; z-index: 1; }
.faq-search { width: 100%; padding: 16px 20px 16px 48px; font-size: 15px; font-family: var(--sans); border: 1.5px solid var(--sand); border-radius: 16px; background: var(--cream); color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.faq-search:focus { border-color: var(--clay); background: white; box-shadow: 0 0 0 3px rgba(196,98,45,0.1); }
.faq-search::placeholder { color: var(--warm-grey); }

.faq-no-results { display: none; text-align: center; padding: 48px 24px; color: var(--warm-grey); font-size: 15px; }
.faq-no-results.visible { display: block; }

.faq-content { padding: 0 48px 80px; background: var(--cream); }
.faq-content-inner { max-width: 780px; margin: 0 auto; }

.faq-category { margin-bottom: 48px; }
.faq-category-title { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--sand); letter-spacing: -0.02em; }

.faq-item { background: white; border: 1px solid var(--sand); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.25s; }
.faq-item:hover { box-shadow: 0 4px 16px rgba(26,22,18,0.06); }
.faq-item.open { box-shadow: 0 8px 32px rgba(26,22,18,0.08); border-color: rgba(196,98,45,0.15); }

.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 600; font-family: var(--sans); color: var(--ink); background: none; border: none; cursor: pointer; text-align: left; line-height: 1.4; letter-spacing: -0.01em; transition: color 0.2s; }
.faq-question:hover { color: var(--clay); }
.faq-item.open .faq-question { color: var(--clay); }

.faq-chevron { flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); color: var(--warm-grey); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--clay); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 24px 24px; font-size: 15px; color: var(--warm-grey); line-height: 1.72; }

.faq-cta { text-align: center; padding: 64px 48px; background: white; }
.faq-cta-title { font-family: var(--serif); font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.faq-cta-sub { font-size: 15px; color: var(--warm-grey); margin-bottom: 24px; }
.faq-cta a { display: inline-flex; align-items: center; gap: 8px; background: var(--clay); color: white; text-decoration: none; padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 600; transition: all 0.25s; box-shadow: 0 6px 24px rgba(196,98,45,0.35); }
.faq-cta a:hover { background: var(--clay-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(196,98,45,0.4); }

@media (max-width: 768px) {
  nav { padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(247,242,234,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sand); flex-direction: column; padding: 16px; gap: 12px;
    box-shadow: 0 8px 32px rgba(26,22,18,0.08);
  }
  nav.nav-open .nav-links { display: flex !important; }
  .faq-hero { padding: 56px 20px 40px; }
  .faq-content { padding: 0 20px 60px; }
  .faq-question { padding: 16px 18px; font-size: 15px; }
  .faq-answer-inner { padding: 0 18px 18px; font-size: 14px; }
  .faq-cta { padding: 48px 20px; }
}
