/* FAQ — UGUALE nei tre siti (vedi faq.js). I colori di ciascun sito stanno
   nei modificatori .faq--vr (vacanzeromane), .faq--gds (Granello), .faq--pt (Piccolotel). */
.faq {
  --faq-accent: #c7a266;
  --faq-text: inherit;
  --faq-muted: inherit;
  --faq-line: rgba(127, 127, 127, 0.25);
  --faq-card: rgba(127, 127, 127, 0.06);
}
.faq--vr  { --faq-accent: var(--primary); --faq-text: var(--text); --faq-muted: var(--muted);
            --faq-line: rgba(212, 166, 74, 0.22); --faq-card: var(--card-bg); }
.faq--gds { --faq-accent: var(--accent); --faq-text: var(--text); --faq-muted: var(--muted);
            --faq-line: var(--line); --faq-card: var(--panel); }
.faq--pt  { --faq-accent: #3b4c77; --faq-text: #2b2f3a; --faq-muted: #4a5163;
            --faq-line: rgba(59, 76, 119, 0.18); --faq-card: #ffffff;
            background: #f4f5f8; padding: 64px 16px; font-family: "Nunito Sans", sans-serif; }

.faq--pt .faq-inner { max-width: 880px; margin: 0 auto; }
.faq--pt .faq-title {
  font-family: "Lexend Mega", sans-serif; color: #3b4c77; font-weight: 400;
  font-size: clamp(26px, 4vw, 40px); text-align: center; margin: 0 0 32px; line-height: 1.2;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq--vr .faq-list, .faq--gds .faq-list { margin-top: 8px; }

.faq-item {
  background: var(--faq-card);
  border: 1px solid var(--faq-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: var(--faq-accent); }

.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; font-size: 1.05rem; line-height: 1.35;
  color: var(--faq-text);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-q:hover { color: var(--faq-accent); }
.faq-q:focus-visible { outline: 2px solid var(--faq-accent); outline-offset: -2px; border-radius: 14px; }

/* «+» che diventa «−» */
.faq-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 2px;
  margin-top: -1px; background: var(--faq-accent); border-radius: 2px; transition: transform .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }

.faq-a { padding: 0 22px 18px; color: var(--faq-muted); line-height: 1.65; font-size: .98rem; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a b { color: var(--faq-text); font-weight: 600; }
.faq-a a { color: var(--faq-accent); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.faq-a .faq-struttura { margin: 14px 0 4px; color: var(--faq-accent); font-weight: 600;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.faq-a .faq-struttura:first-child { margin-top: 0; }

@media (max-width: 600px) {
  .faq-q { padding: 16px 16px; font-size: 1rem; }
  .faq-a { padding: 0 16px 16px; }
  .faq--pt { padding: 48px 16px; }
}
.faq-a ul { margin: 0 0 10px; padding-left: 1.2em; }
.faq-a li { margin: 0 0 4px; }
.faq-a ul:last-child { margin-bottom: 0; }
