/* ── FAQ PAGE ── */

.faq-main {
  background: var(--grafito);
  min-height: 100vh;
  padding: 80px 24px 120px;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Header */
.faq-header {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,249,250,0.08);
  margin-bottom: 8px;
}

.faq-header-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,249,250,0.30);
  margin-bottom: 22px;
}

.faq-header-h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  color: rgba(247,249,250,0.90);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

/* List */
.faq-list {
  padding-top: 4px;
}

.faq-item {
  border-bottom: 1px solid rgba(247,249,250,0.06);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  color: rgba(247,249,250,0.72);
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.45;
  transition: color 0.16s;
}

.faq-q:hover {
  color: rgba(247,249,250,0.95);
}

.faq-item.open .faq-q {
  color: rgba(247,249,250,0.95);
}

.faq-num {
  font-size: 11px;
  font-weight: 500;
  color: rgba(247,249,250,0.18);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: rgba(247,249,250,0.22);
  transition: transform 0.24s ease, color 0.16s;
  margin-top: -1px;
  line-height: 1;
  font-style: normal;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: rgba(247,249,250,0.45);
}

/* Accordion — CSS grid animation */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.28s ease;
}

.faq-item.open .faq-a-inner {
  padding-bottom: 28px;
}

.faq-a p {
  font-size: 14.5px;
  line-height: 1.74;
  color: rgba(247,249,250,0.50);
  margin: 0 0 10px 38px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a ul {
  margin: 4px 0 10px 38px;
  padding: 0;
  list-style: none;
}

.faq-a ul li {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247,249,250,0.44);
  padding: 3px 0 3px 18px;
  position: relative;
}

.faq-a ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(247,249,250,0.16);
  font-size: 11px;
  top: 5px;
}

/* Contact */
.faq-contact {
  margin-top: 88px;
  padding-top: 48px;
  border-top: 1px solid rgba(247,249,250,0.07);
}

.faq-contact-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,249,250,0.25);
  margin-bottom: 32px;
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.faq-contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-contact-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(247,249,250,0.22);
}

.faq-contact-value {
  font-size: 14px;
  color: rgba(247,249,250,0.65);
  line-height: 1.5;
}

.faq-contact-value a {
  color: rgba(247,249,250,0.65);
  text-decoration: none;
  transition: color 0.16s;
}

.faq-contact-value a:hover {
  color: rgba(247,249,250,0.95);
}

.faq-contact-note {
  margin-top: 36px;
  font-size: 13px;
  line-height: 1.70;
  color: rgba(247,249,250,0.28);
  max-width: 520px;
}

/* Back link */
.faq-back {
  display: inline-block;
  margin-top: 56px;
  font-size: 13px;
  color: rgba(247,249,250,0.30);
  text-decoration: none;
  transition: color 0.16s;
  letter-spacing: 0.01em;
}

.faq-back:hover {
  color: rgba(247,249,250,0.70);
}

@media (max-width: 640px) {
  .faq-main {
    padding: 60px 20px 80px;
  }
  .faq-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-a p,
  .faq-a ul {
    margin-left: 0;
  }
}
