/* ==========================================================================
   faq.css — Rebuilt FAQ accordion (no Webflow code)
   Native <details>/<summary> disclosure: zero JS, accessible, responsive.
   Matches the original AcqCentric FAQ design (navy grid bg, red bar, "FAQs"
   heading on the left, accordion list on the right).
   ========================================================================== */

.faq-section {
  background:
    radial-gradient(circle farthest-corner at 0% 100%, #03123680, #031236 63%),
    url('../images/BG-Grid.png');
  background-repeat: repeat, no-repeat;
  background-size: auto, contain;
  background-position: 0 0, 0%;
  padding: 140px 0;
  color: #f1f2f4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.faq-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 90vw;
  max-width: 1440px;
  margin: 0 auto;
}

/* ---- Left intro column -------------------------------------------------- */
.faq-intro {
  width: 30%;
  flex-shrink: 0;
}

.faq-bar {
  background-color: #e6232b;
  width: 100px;
  height: 10px;
  margin-bottom: 22px;
}

.faq-title {
  margin: 0;
  font-size: 75px;
  font-weight: 900;
  line-height: 1;
  color: #f1f2f4;
}

.faq-sub {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  color: #f1f2f4;
}

/* ---- Right accordion column -------------------------------------------- */
.faq-list {
  width: 70%;
  padding-top: 20px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

/* The question row (clickable) */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 5px;
  cursor: pointer;
  list-style: none;            /* remove default disclosure triangle */
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.35;
}
.faq-q::-webkit-details-marker { display: none; }   /* Safari */
.faq-q:focus-visible {
  outline: 2px solid #e6232b;
  outline-offset: 2px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(90deg); }   /* › → ⌄ */

/* The answer */
.faq-a {
  margin: 0;
  padding: 0 100px 20px 10px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: #e8eaf0;
}

/* ---- Smooth open/close (progressive enhancement) ----------------------
   Modern browsers animate the disclosure; older ones simply snap open. */
@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ==========================================================================
   Responsive — stack to a single column on tablet & phone
   ========================================================================== */
@media screen and (max-width: 991px) {
  .faq-section { padding: 70px 0; }
  .faq-wrap { flex-direction: column; gap: 28px; }
  .faq-intro { width: 100%; }
  .faq-list { width: 100%; padding-top: 0; }
  .faq-title { font-size: 44px; }
  .faq-a { padding-right: 0; }
}

@media screen and (max-width: 479px) {
  .faq-title { font-size: 36px; }
  .faq-q { font-size: 17px; gap: 16px; }
}
