/* ═══════════════════════════════════════════════
   FAQ SECTION — Standalone CSS
   Link: <link rel="stylesheet" href="faq.css">
   ═══════════════════════════════════════════════ */

:root {
  --faq-navy: #002366;
  --faq-text: #1a1a1a;
  --faq-muted: #555555;
  --faq-border: #e0e0e0;
  --faq-white: #ffffff;
}


/* ── Section ── */
.faq {
  width: 100%;
  padding: 50px 0px;
  background: var(--faq-white);
}

.faq__container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Card Wrapper ── */
.faq__card {
  background: var(--faq-white);
  border: 1px solid var(--faq-border);
  border-radius: 10px;
  padding: 26px 20px 20px;
}

/* ── Title ── */
.faq__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--faq-navy);
  
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  line-height: 1.2;
}

/* ── Two-Column Grid ── */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.faq__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Accordion Box ── */
.faq__item {
  border: 1px solid var(--faq-border);
  border-radius: 6px;
  background: var(--faq-white);
  overflow: hidden;
}

/* ── Question Row ── */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: var(--faq-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--faq-text);
  line-height: 1.5;
}

.faq__question:hover {
  color: var(--faq-navy);
}

.faq__item.is-open .faq__question {
  color: var(--faq-navy);
}

/* ── Chevron ── */
.faq__chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--faq-navy);
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

/* ── Answer (hidden by default) ── */
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 260px;
}

.faq__answer p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--faq-muted);
  line-height: 1.6;
}

.faq__answer strong {
  color: var(--faq-navy);
  font-weight: 700;
}

/* ── Tablet & Mobile ── */
@media (max-width: 768px) {
  .faq {
    padding: 0px;
  }

  .faq__card {
    padding: 28px 22px 30px;
  }

  .faq__title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq__column {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .faq__question {
    font-size: 0.8125rem;
    padding: 13px 14px;
  }

  .faq__answer p {
    padding: 0 14px 14px;
    font-size: 0.78125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__answer,
  .faq__chevron {
    transition: none;
  }
}
