/* ==========================================
   WrenchUp — FAQ Page
   ========================================== */

/* ---- TOPBAR NAV ---- */
.topbar-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.topbar-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--text-primary);
}

.topbar-book {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0c0c14;
  background: var(--amber);
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.topbar-book:hover { opacity: 0.85; }

/* ---- HERO ---- */
.faq-hero {
  background: var(--bg-dark);
  padding: 140px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.faq-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 6px 14px;
  width: fit-content;
  letter-spacing: 0.02em;
}

.faq-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.05;
}

.faq-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* ---- ACCORDION SECTION ---- */
.faq-section {
  background: #fff;
  padding: 100px 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.faq-category {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- COLLAPSIBLE ITEM ---- */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  padding: 24px 0;
  user-select: none;
  transition: color 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }

.faq-q:hover { color: var(--amber); }

/* Chevron marker */
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-a {
  padding: 0 0 24px;
  font-size: 15px;
  color: #6b6b7a;
  line-height: 1.7;
  max-width: 680px;
}

.faq-a a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,158,11,0.35);
  transition: border-color 0.2s;
}

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

/* ---- CTA ---- */
.faq-cta {
  background: var(--bg-section);
  padding: 100px 40px;
  text-align: center;
}

.faq-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.faq-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.faq-cta p {
  font-size: 17px;
  color: #6b6b7a;
  line-height: 1.65;
  margin-bottom: 36px;
}

.faq-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.faq-cta-actions .cta-phone {
  text-decoration: none;
  transition: color 0.2s;
}

.faq-cta-actions .cta-phone:hover {
  color: var(--text-dark);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .topbar { padding: 14px 20px; }
  .topbar-nav { display: none; }

  .faq-hero { padding: 120px 20px 64px; }

  .faq-section { padding: 64px 20px; }
  .faq-container { gap: 48px; }

  .faq-cta { padding: 64px 20px; }
}

@media (max-width: 600px) {
  .faq-q {
    font-size: 15px;
    padding: 20px 0;
  }

  .faq-a {
    font-size: 14px;
    padding-bottom: 20px;
  }
}
