﻿.faq-page {
  width: min(1200px, 94vw);
  margin: 32px auto 40px;
  animation: fadeRise 850ms ease 140ms both;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: none;
}

.faq-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  margin: 12px auto 0;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.faq-container {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(24, 24, 24, 0.48);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 300ms ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(42, 245, 152, 0.1);
}

.faq-item.active {
  border-color: rgba(42, 245, 152, 0.35);
}

.faq-question-btn {
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  text-align: left;
  transition: all 250ms ease;
}

.faq-question-btn:hover {
  background: rgba(42, 245, 152, 0.05);
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.faq-number {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(42, 245, 152, 0.4);
  background: transparent;
  display: grid;
  place-content: center;
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--mint-soft);
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: none;
  transition: all 250ms ease;
}

.faq-item.active .faq-number {
  background: linear-gradient(135deg, rgba(42, 245, 152, 0.24), rgba(42, 245, 152, 0.12));
  border-color: rgba(42, 245, 152, 0.52);
  box-shadow: 0 0 14px rgba(42, 245, 152, 0.22);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.4;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: rgba(42, 245, 152, 0.6);
  transition: transform 300ms ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, padding 400ms ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  padding-top: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.05rem;
  padding-left: 66px;
}

@media (max-width: 720px) {
  .faq-header h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .faq-question-btn {
    padding: 16px 18px;
  }

  .faq-question-content {
    gap: 14px;
  }

  .faq-number {
    min-width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .faq-question {
    font-size: 1.02rem;
  }

  .faq-chevron {
    width: 24px;
    height: 24px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 20px 18px;
  }

  .faq-answer p {
    padding-left: 54px;
    font-size: 0.98rem;
  }
}

@media (max-width: 520px) {
  .faq-question-content {
    gap: 12px;
  }

  .faq-number {
    min-width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding-left: 0;
  }
}

