.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }

.faq-item:last-child { border-bottom: none; }

.faq-question {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 26px 32px; text-align: left; background: var(--off-black);
      font-family: var(--font-serif); font-size: clamp(1rem,2vw,1.2rem); font-weight: 400; color: var(--white);
      transition: background .3s, color .3s; gap: 20px;
      cursor: pointer;
    }

.faq-question:hover { background: var(--dark); color: var(--gold-light); }

.faq-question.open { background: var(--dark); color: var(--gold); }

.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); transition: transform .4s var(--ease-out), background .3s; }

.faq-question.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--black); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out), padding .4s; }

.faq-answer.open { max-height: 300px; }

.faq-answer-inner { padding: 0 32px 28px; font-size: .9rem; color: var(--muted); line-height: 1.8; }


.faq-item {
  border-radius: 20px;
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out);
}

.faq-item:hover {
  background: rgba(255,255,255,0.018);
  border-color: rgba(223,192,138,0.18);
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.faq-question {
  position: relative;
  transition: color 220ms ease, background-color 220ms ease, padding-left 260ms var(--ease-out);
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, rgba(223,192,138,0), rgba(223,192,138,0.85), rgba(223,192,138,0));
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.faq-question:hover,
.faq-question:focus-visible,
.faq-question.open {
  color: var(--white);
  padding-left: 18px;
}

.faq-question:hover::before,
.faq-question:focus-visible::before,
.faq-question.open::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-icon {
  transition: transform 320ms var(--ease-out), background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.faq-question:hover .faq-icon,
.faq-question:focus-visible .faq-icon,
.faq-question.open .faq-icon {
  border-color: rgba(223,192,138,0.7);
  box-shadow: 0 0 0 6px rgba(223,192,138,0.08);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 360ms var(--ease-out), opacity 220ms ease;
}

.faq-answer.open {
  opacity: 1;
}

.faq-answer-inner {
  transform: translateY(-8px);
  transition: transform 320ms var(--ease-out);
}

.faq-answer.open .faq-answer-inner {
  transform: translateY(0);
}


/* ===== refinement patch: FAQ visual depth ===== */
.faq-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18,18,18,0.98), rgba(10,10,10,0.98));
  box-shadow: 0 18px 42px rgba(0,0,0,0.16);
  transition: transform 260ms var(--ease-out), border-color 220ms ease, box-shadow 260ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(223,192,138,0.38);
  box-shadow: 0 24px 52px rgba(0,0,0,0.2);
}

.faq-question {
  background: radial-gradient(circle at top right, rgba(223,192,138,0.08), transparent 30%), rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question::after {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-item:has(.faq-question.open) .faq-question::after {
  background: rgba(223,192,138,0.14);
  border-color: rgba(223,192,138,0.35);
}

@media (max-width: 600px) {
  .faq-item {
    border-radius: 18px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   ROUND 5 — FAQ ARCHITECTURAL DETAILS
   ═══════════════════════════════════════════════════════════════════
   Adds § section markers before each question and a smoother
   answer expand animation. Pure CSS, no HTML changes needed.
   ═══════════════════════════════════════════════════════════════════ */


/* ── 1. § SECTION MARK before question text ──────────────────────
   Tiny gold italic § character appears before the question,
   making it feel like a numbered architectural spec clause. */
.faq-question > span[data-i18n^="faq.q"]::before {
  content: '§ ';
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  margin-right: 6px;
  opacity: 0.55;
  transition: opacity 260ms ease, color 260ms ease;
}
.faq-question:hover > span[data-i18n^="faq.q"]::before,
.faq-question.open > span[data-i18n^="faq.q"]::before {
  opacity: 0.95;
}
[dir="rtl"] .faq-question > span[data-i18n^="faq.q"]::before {
  margin-right: 0;
  margin-left: 6px;
}


/* ── 2. SMOOTHER EXPAND — answer slides open with refined easing ─
   Override the abrupt max-height transition with cubic-bezier
   that feels like a drawer gliding open. */
.faq-answer {
  transition:
    max-height 440ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease 60ms !important;
}
.faq-answer.open {
  max-height: 500px !important;   /* bump from 300px for long answers */
}


/* ── 3. ACTIVE ITEM — stronger gold presence ──────────────────
   faq.js adds .open to .faq-question (NOT .faq-item), so we use
   :has() to style the parent item when any child question is open. */
.faq-item:has(.faq-question.open) {
  border-color: rgba(223,192,138,0.35) !important;
  box-shadow:
    0 24px 52px rgba(0,0,0,0.22),
    inset 3px 0 0 var(--gold) !important;
}
[dir="rtl"] .faq-item:has(.faq-question.open) {
  box-shadow:
    0 24px 52px rgba(0,0,0,0.22),
    inset -3px 0 0 var(--gold) !important;
}


/* ── 4. MOBILE — refine for phone ─────────────────────────────── */
@media (max-width: 700px) {
  .faq-question {
    padding: 22px 20px !important;
    font-size: 0.98rem !important;
    min-height: 44px !important;   /* accessibility: tap target */
    gap: 14px !important;
  }
  .faq-answer-inner {
    padding: 0 20px 22px !important;
    font-size: 0.88rem !important;
  }
  .faq-item:has(.faq-question.open) {
    box-shadow:
      0 18px 40px rgba(0,0,0,0.2),
      inset 2px 0 0 var(--gold) !important;
  }
  [dir="rtl"] .faq-item:has(.faq-question.open) {
    box-shadow:
      0 18px 40px rgba(0,0,0,0.2),
      inset -2px 0 0 var(--gold) !important;
  }
  /* § mark slightly smaller to fit phone line height */
  .faq-question > span[data-i18n^="faq.q"]::before {
    font-size: 0.9em;
  }
}


/* ── 5. REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: max-height 0.01ms, opacity 0.01ms !important;
  }
}
