.faq {
  padding: 0 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-left: 5px solid #6cf;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  padding-right: 1.5rem;
}

.faq summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.25rem 1rem;
  color: #222;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  content: '−';
  transform: rotate(180deg) translateY(50%);
}

.faq details p {
  margin-top: 0.8rem;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  padding: 0 1rem 1.25rem;
}

@media (max-width: 600px) {
  .faq h1 {
    font-size: 2rem;
  }
  .faq summary {
    font-size: 1rem;
  }
}
