/*
  08-faq: two-column FAQ, grid-rows accordion.
  Source: Ruixen UI staggered-faq-section + grid-rows height technique.
  MIT License, Copyright (c) 2025 Ruixen UI. Permission is hereby granted, free of charge,
  to any person obtaining a copy of this software... (full text: ../../source/ruixen/LICENSE.txt).
*/
.vq {
  --vq-open: .45s;
  --vq-close: .3s;
  --vq-line: var(--vu-border, #e5e5e5);
  padding-block: var(--vu-section-y, 64px);
}
.vq-grid { display: grid; gap: 32px; max-width: 1024px; margin: 0 auto; padding: 0 var(--vu-gutter, 24px); }
@media (min-width: 768px) { .vq-grid { grid-template-columns: 2fr 3fr; gap: 48px; } }
.vq-title { margin: 0; font-size: clamp(30px, 3.6vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.vq-sub { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--vu-muted-fg); text-wrap: balance; }
.vq-support { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--vu-muted-fg); }
.vq-support a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--vu-link); font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }   /* 44px+ tap height, line box unchanged */
.vq-support--desk { display: none; }
@media (min-width: 768px) { .vq-support--desk { display: block; } .vq-support--phone { display: none; } }
.vq-support--phone { margin: 0; }

.vq-item { border-bottom: 1px solid var(--vq-line); }
.vq-item h3 { margin: 0; font: inherit; }
.vq-item button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px;
  padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 500 16px/1.4 var(--vu-font); letter-spacing: -0.01em; color: var(--vu-fg);
}
.vq-item button:hover { text-decoration: underline; text-decoration-color: var(--vq-line); text-underline-offset: 4px; }
.vq-item svg { flex: none; width: 18px; height: 18px; color: var(--vu-muted-fg); transition: transform .3s var(--vu-pop-soft); }
.vq-item.is-open svg { transform: rotate(180deg); }
.vq-a { display: grid; grid-template-rows: 1fr; }                  /* no-JS: open */
.vq.is-ready .vq-a { grid-template-rows: 0fr; transition: grid-template-rows var(--vq-close) var(--vu-expo); }
.vq.is-ready .vq-item.is-open .vq-a { grid-template-rows: 1fr; transition-duration: var(--vq-open); }
.vq-a > div { overflow: hidden; min-height: 0; }
.vq-a p { margin: 0; padding: 0 32px 20px 0; font-size: 15px; line-height: 1.65; color: var(--vu-muted-fg); }
.vq.is-ready .vq-a p { opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .15s ease, transform .15s ease, filter .15s ease; }
.vq.is-ready .vq-item.is-open .vq-a p { opacity: 1; transform: none; filter: none; transition: opacity .35s var(--vu-expo) .1s, transform .35s var(--vu-expo) .1s, filter .35s var(--vu-expo) .1s; }
