/* ==========================================================================
   FAQ page styles (/faq)
   Scope: .faq-hero, .faq-body, .faq-item accordion, .faq-cta
   Vars (--navy, --orange, etc.) are declared in common.css :root.
   ========================================================================== */

/* ===== FAQ HERO ===== */
.faq-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.faq-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(232, 100, 44, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.faq-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.faq-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 20px;
  padding: 6px 14px;
  background: rgba(232, 100, 44, 0.12);
  border: 1px solid rgba(232, 100, 44, 0.22);
  border-radius: 6px;
}
.faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.faq-hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 680px;
}
.faq-hero-lede a {
  color: var(--orange);
  font-weight: 700;
  transition: color 0.2s;
}
.faq-hero-lede a:hover {
  color: #fff;
}

/* ===== FAQ BODY ===== */
.faq-body {
  padding: 56px 0 80px;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.faq-item:hover {
  border-color: var(--gray-200);
}
.faq-item.is-open {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  background: none;
  border: none;
}
.faq-question:hover {
  background: var(--off-white);
}
.faq-question:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.faq-q-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.faq-q-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-q-icon {
  background: var(--orange-light);
  transform: rotate(45deg);
}
.faq-q-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-600);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke 0.2s;
}
.faq-item.is-open .faq-q-icon svg {
  stroke: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
  margin-top: 2px;
}
.faq-answer p {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.7;
}
.faq-answer p + p {
  margin-top: 12px;
}

/* ===== CTA BANNER ===== */
.faq-cta {
  background: linear-gradient(135deg, #0a1730, var(--navy));
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.faq-cta::after {
  content: "";
  position: absolute;
  right: -15%;
  top: -40%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(232, 100, 44, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.faq-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.faq-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}
.faq-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA buttons scoped under .faq-cta to avoid collision with /about. */
.faq-cta .btn-primary-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  text-decoration: none;
}
.faq-cta .btn-primary-lg:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.faq-cta .btn-primary-lg svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}
.faq-cta .btn-outline-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  text-decoration: none;
}
.faq-cta .btn-outline-lg:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.faq-cta .btn-outline-lg svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  /* no FAQ-specific changes at this breakpoint; container handled by common.css */
}
@media (max-width: 768px) {
  .faq-hero {
    padding: 44px 0 40px;
  }
  .faq-body {
    padding: 40px 0 56px;
  }
  .faq-question {
    padding: 18px 20px;
    gap: 14px;
  }
  .faq-answer-inner {
    padding: 16px 20px 22px 20px;
  }
  .faq-cta {
    padding: 56px 0;
  }
  .faq-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .faq-cta .btn-primary-lg,
  .faq-cta .btn-outline-lg {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .faq-hero h1 {
    font-size: 1.65rem;
  }
  .faq-q-text {
    font-size: 0.98rem;
  }
}
