/* Faq */

#faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10vh 2rem 15vh;
  position: relative;
  overflow-x: clip;
}

.faq-title {
  line-height: 1.1;
  margin-bottom: 5rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.faq-title i {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-pale);
  opacity: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fi {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  background: var(--w05);
  border: 1px solid var(--w05);
  transition: all 0.6s var(--ease);
}

.fi .spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-05), transparent 40%);
}

.fi:hover {
  border-color: var(--w18);
  transform: translateY(-4px);
}

.fi:hover .spot {
  opacity: 1;
}

.fq {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.2rem 2.5rem;
  width: 100%;
  text-align: left;
}

.fq .i {
  font-weight: 700;
  width: 2ch;
  font-size: 0.95rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-pale);
  opacity: 0.9;
}

.fq .q {
  flex: 1;
  letter-spacing: -0.01em;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 1.2rem;
}

.fq .plus {
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.6s var(--ease);
}

.fq .plus::before {
  content: "";
  position: absolute;
  background: var(--accent);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
}

.fq .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 100%;
}

.fi.open .fq .plus {
  transform: rotate(135deg);
}

.fa {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.8s var(--ease),
    opacity 0.6s;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.fi.open .fa {
  max-height: 300px;
  opacity: 1;
}

.fa p {
  padding: 0 2.5rem 2.2rem calc(2.5rem + 2ch + 2.5rem);
  line-height: 1.7;
  max-width: 70ch;
  font-size: 1.05rem;
  color: var(--text);
}

@media (max-width: 600px) {
  #faq {
    padding: 8vh 20px 12vh;
  }

  .faq-title {
    font-size: 2.6rem;
    margin-bottom: 2.6rem;
  }

  .fq {
    padding: 1.3rem 1.2rem;
    gap: 1rem;
  }

  .fq .q {
    font-size: 1.05rem;
  }

  .fa p {
    padding: 0 1.2rem 1.3rem 1.2rem;
    font-size: 0.98rem;
  }
}
