.faq {
  padding: 96px 24px;
  background-color: #f8f9fa; /* Light backdrop to highlight the cards */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.faq__inner {
  width: 100%;
  max-width: 899px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 63px;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 10px 20px;
  border: 1.5px solid rgba(58, 58, 58, 0.03);
  border-radius: 62px;
  background: rgba(58, 58, 58, 0.03);
  color: #2c2c2c;
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.faq-title {
  color: #3a3a3a;
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.389;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 63px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  padding: 30px;
  width: 100%;
  border: 1px solid rgba(58, 58, 58, 0.05);
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(17, 24, 52, 0.02);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 32px rgba(17, 24, 52, 0.04);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  color: #3a3a3a;
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.61;
  letter-spacing: 0.36px;
}

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

.faq-chevron {
  width: 24px;
  height: 24px;
  color: #b49b78; /* Gold chevron color */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  margin-top: 30px;
  color: #3a3a3a;
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.389;
  letter-spacing: 0.36px;
  animation: fadeIn 0.4s ease-out;
}

.faq__action {
  display: flex;
  justify-content: center;
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsiveness */
@media (max-width: 960px) {
  .faq {
    padding: 64px 16px;
  }
  .faq-header {
    margin-bottom: 40px;
  }
  .faq-title {
    font-size: 28px;
  }
  .faq-summary {
    font-size: 16px;
  }
  .faq-content {
    font-size: 16px;
    margin-top: 20px;
  }
  .faq-item {
    padding: 20px;
    border-radius: 18px;
  }
}
