/* ============================================================
   faq.css — FAQ page styles
   /sites/raiseaglass.co/files/css/faq.css
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */

.faq-hero {
  padding: 5rem 2rem 3rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.faq-hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.faq-hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.faq-hero__headline em {
  font-style: italic;
  color: var(--amber);
}

.faq-hero__sub {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── BODY ─────────────────────────────────────────────────── */

.faq-body {
  padding: 3rem 2rem 5rem;
}

.faq-body__inner {
  max-width: 700px;
  margin: 0 auto;
}

/* ── SECTIONS ─────────────────────────────────────────────── */

.faq-section {
  margin-bottom: 3rem;
}

.faq-section__title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

/* ── ACCORDION ITEMS ──────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--ink);
}

.faq-question.open {
  color: var(--ink);
}

/* ── ICON ─────────────────────────────────────────────────── */

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  transition: border-color 0.2s, transform 0.3s;
  position: relative;
}

.faq-question.open .faq-icon {
  border-color: var(--amber);
  transform: rotate(45deg);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink-muted);
  border-radius: 1px;
  transition: background 0.2s;
}

.faq-icon::before { width: 9px; height: 1px; }
.faq-icon::after  { width: 1px; height: 9px; }

.faq-question.open .faq-icon::before,
.faq-question.open .faq-icon::after {
  background: var(--amber);
}

/* ── ANSWER PANEL ─────────────────────────────────────────── */

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer__inner {
  padding: 0 2rem 1.75rem 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
}

.faq-answer__inner p + p {
  margin-top: 0.85rem;
}

.faq-answer__inner strong {
  color: var(--ink-soft);
  font-weight: 500;
}

.faq-answer__inner a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 134, 42, 0.3);
  transition: border-color 0.2s;
}

.faq-answer__inner a:hover {
  border-color: var(--amber);
}

/* ── TIER PILLS ───────────────────────────────────────────── */

.tier-pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

.tier-pill--standard { background: var(--amber-pale); color: var(--amber); }
.tier-pill--express  { background: var(--amber-pale); color: var(--amber); }
.tier-pill--printed  { background: var(--amber-pale); color: var(--amber); }

/* ── CTA ──────────────────────────────────────────────────── */

.faq-cta {
  background: var(--cream-mid);
  border-top: 1px solid var(--rule);
  padding: 5rem 2rem;
  text-align: center;
}

.faq-cta__inner {
  max-width: 560px;
  margin: 0 auto;
}

.faq-cta__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.75rem;
  line-height: 1.35;
}

.faq-cta__text em {
  font-style: italic;
  color: var(--amber);
}

.faq-cta__inner > div {
  justify-content: center;
}

.faq-cta__sub {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-faint);
}

/* ── ANIMATIONS ───────────────────────────────────────────── */

.faq-hero {
  animation: faqFadeUp 0.5s ease both;
}

.faq-section {
  animation: faqFadeUp 0.5s ease both;
}

.faq-section:nth-child(1) { animation-delay: 0.05s; }
.faq-section:nth-child(2) { animation-delay: 0.10s; }
.faq-section:nth-child(3) { animation-delay: 0.15s; }
.faq-section:nth-child(4) { animation-delay: 0.20s; }
.faq-section:nth-child(5) { animation-delay: 0.25s; }

@keyframes faqFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .faq-hero {
    padding: 3rem 1.5rem 2rem;
    text-align: left;
  }

  .faq-hero__sub {
    margin: 0;
  }

  .faq-body {
    padding: 2rem 1.5rem 4rem;
  }

  .faq-question {
    font-size: 1.05rem;
  }

  .faq-answer__inner {
    padding-right: 0;
  }

  .faq-cta {
    padding: 3.5rem 1.5rem;
  }

  .faq-cta__inner > div {
    flex-direction: column;
    align-items: center;
  }
}