/* ============================================================
   portArgus — FAQ page
   Native <details>/<summary> accordion. No JS, fully accessible.
   Uses global design tokens from style.css.
   ============================================================ */

/* ---------- hero ---------- */
.faq-hero {
  padding: var(--sp-lg) 0 var(--sp-md);
  border-bottom: 1px solid var(--clr-border);
  background:
    radial-gradient(120% 80% at 80% -10%, var(--clr-amber-glow), transparent 60%),
    var(--clr-bg);
}
.faq-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-amber);
  margin-bottom: 0.5rem;
}
.faq-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-sm);
}
.faq-hero h1 .amber { color: var(--clr-amber); }
.faq-hero-sub {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--clr-text-muted);
}

/* ---------- list ---------- */
.faq-section { padding: var(--sp-xl) 0 var(--sp-2xl); }
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  background: var(--clr-bg-2);
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: var(--clr-amber); }

.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--clr-text);
  transition: color 0.18s ease;
}
.faq-q:hover { color: var(--clr-amber); }
.faq-q::-webkit-details-marker { display: none; }  /* Safari */

/* +/- indicator */
.faq-q-icon {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: auto;
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: '';
  position: absolute;
  background: var(--clr-amber);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-q-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }         /* horizontal */
.faq-q-icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }          /* vertical  */
.faq-item[open] .faq-q-icon::after { transform: scaleY(0); opacity: 0; }      /* becomes − */

.faq-a {
  padding: 0 var(--sp-md) var(--sp-md);
  color: var(--clr-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 0.75rem; }
.faq-a a { color: var(--clr-amber); }

/* ---------- still-have-questions CTA ---------- */
.faq-cta {
  text-align: center;
  padding: var(--sp-xl) 0 var(--sp-3xl);
  border-top: 1px solid var(--clr-border);
}
.faq-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: var(--sp-sm);
}
.faq-cta p {
  max-width: 55ch;
  margin: 0 auto var(--sp-lg);
  color: var(--clr-text-muted);
  line-height: 1.55;
}
.faq-cta-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .faq-q { font-size: 1.02rem; padding: var(--sp-sm) var(--sp-md); }
  .faq-a { padding: 0 var(--sp-md) var(--sp-sm); }
}
