/* FAQ page */
.faq-hero {
  background: linear-gradient(135deg, #0c1222 0%, #1a4a6e 50%, #0077c8 100%);
  color: #fff;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  text-align: center;
}
.faq-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
.faq-hero .breadcrumb { color: rgba(255, 255, 255, 0.75); margin-bottom: 1rem; }
.faq-hero .breadcrumb a { color: var(--color-accent); }
.faq-hero__sub { max-width: 720px; margin: 0.75rem auto 0; opacity: 0.92; font-size: 1rem; line-height: 1.6; }

.faq-layout { padding: 3rem 0 4rem; }

.faq-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}
.faq-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.faq-nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid rgba(12, 18, 34, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.faq-nav a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.faq-section { margin-bottom: 2rem; }
.faq-section:last-child { margin-bottom: 0; }
.faq-section__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(12, 18, 34, 0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(0, 119, 200, 0.25);
  box-shadow: var(--shadow-md);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s var(--ease-out);
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-item__answer {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-muted);
}
.faq-item__answer p { margin: 0 0 0.65rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ul {
  margin: 0.35rem 0 0.65rem;
  padding-left: 1.1rem;
}
.faq-item__answer li { margin-bottom: 0.25rem; }
.faq-item__answer a {
  color: var(--color-primary);
  font-weight: 600;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-aside__card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(12, 18, 34, 0.05);
}
.faq-aside__card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.faq-aside__card p {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-muted);
}
.faq-aside__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq-aside__links li { margin-bottom: 0.35rem; }
.faq-aside__links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.faq-aside__links a:hover { text-decoration: underline; }

.faq-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.08), rgba(0, 212, 255, 0.04));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 119, 200, 0.12);
}
.faq-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}
.faq-cta p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.faq-cta__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}
