/* Lumara Tarot — FAQ & support. */

.faq-head {
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}
.faq-head .lead {
  margin-inline: auto;
}

.faq {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  max-width: 880px;
  padding-bottom: clamp(64px, 9vw, 120px);
}
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 10px;
  background: linear-gradient(170deg, rgba(13, 29, 20, 0.9), rgba(3, 10, 6, 0.95));
  box-shadow: inset 0 0 0 1px rgba(105, 89, 56, 0.55);
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: box-shadow 0.3s;
}
.faq-item[open] {
  box-shadow:
    inset 0 0 0 1px rgba(241, 202, 139, 0.38),
    0 30px 60px -40px #000;
}
.faq-item.is-animating {
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 18px 24px;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--parchment);
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__q:hover {
  color: var(--gold);
}
.faq-item__q:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.faq-item__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  transition: transform 0.28s var(--ease-out);
}
.faq-item__icon::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-item__icon::after {
  transform: rotate(0deg);
}
.faq-item__a {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 0 24px 22px;
  color: rgba(237, 224, 196, 0.86);
}
.faq-item__a p {
  max-width: 68ch;
  margin: 0;
}
.faq-item__link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(241, 202, 139, 0.45);
  text-underline-offset: 0.2em;
}

.faq-contact {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
  border-radius: 12px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201, 168, 76, 0.16), transparent 70%),
    linear-gradient(170deg, rgba(13, 29, 20, 0.92), rgba(3, 10, 6, 0.96));
  box-shadow: inset 0 0 0 1px rgba(105, 89, 56, 0.55);
}
.faq-contact__title {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}
.faq-contact p {
  margin: 0;
}
.faq-contact__mail {
  overflow-wrap: anywhere;
}
.faq-contact__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}
.faq-contact__legal a {
  color: var(--muted);
}
.faq-contact__legal a:hover {
  color: var(--gold);
}

html[data-motion='reduced'] .faq-item__icon::before,
html[data-motion='reduced'] .faq-item__icon::after {
  transition: none;
}
