/* ============================================================
   QUANTUM LOGISTICS — FAQ Section
   ============================================================ */

.faq-section {
  background-color: #ffffff;
  color: #0c0c0c;
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.faq-section__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.faq-section__grid {
  display: grid;
  grid-template-columns: 280px 1fr 240px; /* 3 columns layout */
  gap: 60px;
  align-items: flex-start;
}

/* Left Column */
.faq-section__left {
  position: sticky;
  top: 120px;
}

.faq-section__title {
  font-family: var(--font-display, 'Archivo', sans-serif);
  font-stretch: 125%;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.faq-section__subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Category Tabs (NEW) */
.faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.faq-tab-btn {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-tab-btn.is-active,
.faq-tab-btn:hover {
  background: #000;
  color: #fff;
}

/* Center Column (Accordion) */
.faq-accordion {
  border-top: 1px solid #e5e5e5;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  transition: background-color 0.25s ease, border-left 0.25s ease, padding 0.25s ease;
}

.faq-item.is-hidden {
  display: none;
}

.faq-item.is-active {
  background: #f6f6f6;
  border-left: 2px solid #000;
  padding: 4px 16px;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
}

.faq-item.is-active .faq-item__trigger {
  padding: 16px 0 10px 0;
}

.faq-item__num {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.75rem;
  font-weight: 500;
  color: #777;
  width: 48px;
  flex-shrink: 0;
}

.faq-item__question {
  font-family: var(--font-display, 'Archivo', sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: #111;
  flex: 1;
  transition: color 0.2s ease;
  line-height: 1.35;
}

.faq-item.is-active .faq-item__question {
  color: #000;
}

/* Thin "+" icon (16px, 1.5px stroke) rotating 45deg into "x" */
.faq-item__icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: #111;
  transition: background-color 0.2s ease;
}

.faq-item__icon::before {
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 16px;
  transform: translateX(-50%);
}

.faq-item.is-active .faq-item__icon {
  transform: rotate(45deg);
}

/* Accordion Content */
.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.faq-item.is-active .faq-item__content {
  grid-template-rows: 1fr;
}

.faq-item__content-inner {
  min-height: 0;
  padding-left: 48px;
  padding-right: 24px;
}

.faq-item__content-inner p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 20px 0;
}

/* Right Column */
.faq-section__right {
  position: sticky;
  top: 120px;
}

.faq-section__contact-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  color: #111;
  line-height: 1.5;
  margin: 0 0 20px;
}

.faq-section__chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366;
  color: #ffffff;
  font-family: var(--font-display, 'Archivo', sans-serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.faq-section__chat-btn:hover {
  background-color: #1ebc59;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Responsive */
@media (max-width: 1024px) {
  .faq-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-section__left,
  .faq-section__right {
    position: static;
  }

  .faq-section__title {
    margin-bottom: 12px;
  }
}
