/* =========================================================
   PREGUNTAS FRECUENTES — visitas.html
   ========================================================= */
.faq { margin-top: 6rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 880px;
  margin: 3rem auto 0;
}

.faq-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: linear-gradient(180deg, rgba(33, 28, 23, 0.85), rgba(19, 16, 13, 0.85));
  transition: border-color 0.4s var(--ease, ease), box-shadow 0.4s var(--ease, ease);
}
.faq-item:hover { border-color: rgba(201, 168, 76, 0.38); }
.faq-item[open] {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 50px -25px rgba(243, 182, 91, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 56px;
  padding: 1.35rem 1.6rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--bone, #efe6d2);
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light, #e8d5a3); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--candle, #f3b65b);
  outline-offset: -2px;
  border-radius: 16px;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  transition: border-color 0.3s, background 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--gold, #c9a84c);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease, ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { border-color: var(--gold, #c9a84c); background: rgba(201, 168, 76, 0.1); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  padding: 0 1.6rem 1.5rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-2, #bcb097);
}
.faq-answer p { max-width: 70ch; margin: 0; }
.faq-item[open] .faq-answer { animation: faqIn 0.45s var(--ease, ease); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .faq { margin-top: 4rem; }
  .faq-item summary { padding: 1.1rem 1.2rem; font-size: 1.15rem; }
  .faq-answer { padding: 0 1.2rem 1.25rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-answer { animation: none; }
}
