/* Task 5 owns this file (ar-faq). Plain CSS, ar- prefixed classes only; shared tokens and components live in base.css. */
/* Bottom padding shrinks 30 / 24 / 16 with the width. The gray FAQ band runs straight into the gray contact band, whose own top padding
   (125 / 64 / 48) supplies most of the gap, so the pair reads as one rhythm: about 155 (above 1100) / 149 (1024-1100) / 88 (961-1023) / 80 (768-960) / 64px (767 and below) of space between the last row and the contact label. */
.ar-faq { background: var(--ar-gray); padding: 144px var(--ar-gutter) 30px; }
/* spacing: "compact" (What's Included, Figma 275:2587): 70 / 70, for a FAQ that is not followed by the gray contact band. */
.ar-faq.ar-faq--compact { padding-top: 70px; padding-bottom: 70px; }
.ar-faq__inner { max-width: 960px; margin: 0 auto; }
/* 40.9 (not Figma's 43): the shared H2 now has 57.12px leading (was 55), +2.1px; trimming the list margin holds the band at 854. */
.ar-faq__list { margin-top: 40.9px; border-top: 1px solid var(--ar-line); }
.ar-faq__item { border-bottom: 1px solid var(--ar-line); }

.ar-faq__q {
  position: relative; display: block; width: 100%; box-sizing: border-box; cursor: pointer;
  padding: 24px 48px 24px 0; list-style: none;
  font: 400 18.4px/27.6px var(--ar-font-display); color: var(--ar-navy);
}
.ar-faq__q::-webkit-details-marker { display: none; }
.ar-faq__icon {
  position: absolute; right: 0; top: 19.2px; width: 25.6px; text-align: center;
  font: 400 25.6px/38.4px var(--ar-font-display); color: var(--ar-red);
  transition: transform 0.2s ease;
}
.ar-faq__item[open] > .ar-faq__q .ar-faq__icon { transform: rotate(45deg); }
.ar-faq__q:focus-visible { outline: 2px solid var(--ar-red); outline-offset: 4px; }

.ar-faq__a { margin: 0 0 28px; max-width: 760px; font: 400 16.8px/28.56px var(--ar-font-body); color: var(--ar-navy); }

@media (max-width: 1100px) { .ar-faq { padding-top: 96px; padding-bottom: 24px; } }
@media (max-width: 960px) { .ar-faq { padding-top: 64px; padding-bottom: 16px; } }
@media (max-width: 1100px) { .ar-faq.ar-faq--compact { padding-top: 56px; padding-bottom: 56px; } }
@media (max-width: 960px) { .ar-faq.ar-faq--compact { padding-top: 48px; padding-bottom: 48px; } }
@media (prefers-reduced-motion: reduce) { .ar-faq__icon { transition: none; } }
