/* ==========================================================================
   NotFit V2 — FAQ section
   Scoped to .nfx-faq-  •  uses global .nfx-page tokens
   ========================================================================== */

.nfx-faq {
  position: relative;
  padding-block: clamp(5rem, 3.5rem + 6vw, 9rem);
  background: var(--nfx-ink);
  color: var(--nfx-text);
  overflow: hidden;
}

/* soft gold atmosphere behind the grid */
.nfx-faq::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -6%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(209, 187, 154, 0.10),
    rgba(209, 187, 154, 0) 62%
  );
  pointer-events: none;
  z-index: 0;
}

.nfx-faq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

/* ---- left column: heading + accordion ---------------------------------- */
.nfx-faq-head {
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

.nfx-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--nfx-line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--nfx-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nfx-faq-kicker i {
  font-size: 0.95rem;
  line-height: 1;
}

.nfx-faq-title {
  margin: 1.1rem 0 0;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.nfx-faq-title em {
  font-style: normal;
  color: var(--nfx-gold);
}

.nfx-faq-sub {
  margin: 0.9rem 0 0;
  max-width: 34ch;
  color: var(--nfx-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.075rem);
  line-height: 1.55;
}

/* ---- accordion --------------------------------------------------------- */
.nfx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nfx-faq-item {
  border: 1px solid var(--nfx-line);
  border-radius: 18px;
  background: var(--nfx-card);
  transition: border-color var(--nfx-dur, 300ms) var(--nfx-ease),
    background-color 300ms var(--nfx-ease);
}

.nfx-faq-item[open] {
  border-color: rgba(209, 187, 154, 0.42);
  background: var(--nfx-card-2);
}

.nfx-faq-item:hover {
  border-color: var(--nfx-line-2);
}

.nfx-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--nfx-text);
  user-select: none;
}

.nfx-faq-q::-webkit-details-marker {
  display: none;
}

.nfx-faq-q:focus-visible {
  outline: 2px solid var(--nfx-gold);
  outline-offset: 3px;
  border-radius: 14px;
}

.nfx-faq-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--nfx-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--nfx-gold);
  font-size: 1.05rem;
  transition: transform 300ms var(--nfx-ease),
    background-color 300ms var(--nfx-ease),
    color 300ms var(--nfx-ease);
}

.nfx-faq-item[open] .nfx-faq-icon {
  transform: rotate(180deg);
  background: var(--nfx-gold);
  color: var(--nfx-ink);
  border-color: var(--nfx-gold);
}

.nfx-faq-a {
  padding: 0 clamp(1.1rem, 0.8rem + 1vw, 1.6rem) 1.35rem;
  margin: 0;
  max-width: 60ch;
  color: var(--nfx-muted);
  font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.02rem);
  line-height: 1.6;
}

/* subtle reveal on open */
.nfx-faq-item[open] .nfx-faq-a {
  animation: nfx-faq-reveal 360ms var(--nfx-ease) both;
}

@keyframes nfx-faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- right column: contact card ---------------------------------------- */
.nfx-faq-contact {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  border: 1px solid var(--nfx-line-2);
  border-radius: 22px;
  background: linear-gradient(
    165deg,
    var(--nfx-card-2) 0%,
    var(--nfx-card) 100%
  );
  overflow: hidden;
}

.nfx-faq-contact::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(209, 187, 154, 0.18),
    rgba(209, 187, 154, 0) 65%
  );
  pointer-events: none;
}

.nfx-faq-contact-badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  background: var(--nfx-gold);
  color: var(--nfx-ink);
  font-size: 1.5rem;
}

.nfx-faq-contact-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.nfx-faq-contact-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--nfx-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.nfx-faq-contact-btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--nfx-gold);
  color: var(--nfx-ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--nfx-ease),
    background-color 200ms var(--nfx-ease);
}

.nfx-faq-contact-btn:hover {
  transform: translateY(-2px);
  background: var(--nfx-gold-bright);
}

.nfx-faq-contact-btn i {
  font-size: 1.05rem;
  transition: transform 200ms var(--nfx-ease);
}

.nfx-faq-contact-btn:hover i {
  transform: translateX(3px);
}

.nfx-faq-contact-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--nfx-line);
  color: var(--nfx-muted);
  font-size: 0.85rem;
}

.nfx-faq-contact-meta i {
  color: var(--nfx-gold);
  font-size: 1rem;
}

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .nfx-faq-grid {
    grid-template-columns: 1fr;
  }

  .nfx-faq-contact {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nfx-faq-icon,
  .nfx-faq-contact-btn,
  .nfx-faq-contact-btn i,
  .nfx-faq-item {
    transition: none;
  }

  .nfx-faq-item[open] .nfx-faq-a {
    animation: none;
  }
}
