/* ── FAQ Page ──────────────────────────── */
.faq-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: #fff;
}

/* ── Hero ── */
.faq-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a4a 50%, #0a2a2a 100%);
  color: #fff;
  padding: 76px 24px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,168,150,.18) 0%, transparent 70%);
  pointer-events: none;
}
.faq-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.25;
  position: relative;
}
.faq-hero h1 em { font-style: normal; color: #00a896; }
.faq-hero-sub {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.68);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.faq-hero-sub a { color: #00d4aa; font-weight: 700; text-decoration: underline; }
.faq-hero-sub a:hover { color: #fff; }

/* ── Body ── */
.faq-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

/* Category nav */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.faq-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
  border: 1px solid transparent;
}

.faq-nav a:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Section */
.faq-section {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.faq-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.faq-section-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.faq-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.faq-section-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Q&A accordion */
.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.14s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fafbfc; }

.faq-q {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.45;
  flex: 1;
}

.faq-toggle {
  font-size: 0.75rem;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform 0.22s;
}

.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-item[open] .faq-q { color: #0f172a; }

.faq-a {
  padding: 4px 22px 16px 22px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #374151;
}

.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin: 0; }
.faq-a a { color: #2563eb; font-weight: 600; text-decoration: underline; }
.faq-a a:hover { color: #1d4ed8; }
.faq-a strong { color: #1e293b; }

/* Color accent bar per section — uses CSS var set inline on each section head */
.faq-section-head::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--accent, #64748b);
}

/* CTA */
.faq-cta {
  margin-top: 44px;
  padding: 28px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8faf8 0%, #f0fdf9 100%);
  border: 1px solid rgba(0,168,150,.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.faq-cta-text h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f4c40;
}

.faq-cta-text p {
  margin: 0;
  font-size: 0.84rem;
  color: #00a896;
}

.faq-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.faq-btn--line {
  background: #06c755;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(6,199,85,.3);
}

.faq-btn--line:hover { background: #05a547; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,.35); color: #fff !important; }

.faq-btn--ghost {
  background: #fff;
  color: #00786c !important;
  border: 1.5px solid rgba(0,168,150,.3);
}

.faq-btn--ghost:hover { background: #f0fdf9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,150,.15); color: #00786c !important; }

@media (max-width: 580px) {
  .faq-page-title { font-size: 1.6rem; }
  .faq-item summary, .faq-a { padding-left: 16px; padding-right: 16px; }
  .faq-section-head { padding: 14px 16px; }
  .faq-cta { flex-direction: column; }
}
