:root {
  --primary: #faf9f7;
  --accent: #fac93c;
  --bg-light: #fff;
  --text-light: #2c2c46;
  --border: #e4e4f1;
  --faq-bg: #fff;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--primary);
  color: var(--text-light);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  max-width: 700px;
  margin: 48px auto;
  padding: 0 18px 32px 18px;
  background: var(--faq-bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(44,44,70,0.11);
  border: 1px solid var(--border);
  animation: fadeIn 1s;
}

h1 {
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: #45486b;
  margin-top: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 22px 0 10px 0;
  color: #45486b;
  transition: color 0.3s;
  outline: none;
  font-family: 'Open Sans', sans-serif;
}

.faq-question:hover, .faq-question:focus {
  color: var(--accent);
  background: rgba(250, 201, 60, 0.05);
}

.faq-arrow {
  margin-right: 10px;
  font-size: 1.12rem;
  transition: transform 0.4s;
  color: var(--accent);
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.16,1,.3,1), padding 0.4s;
  padding: 0 12px;
  font-family: 'Open Sans', sans-serif;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 12px 12px 18px 28px;
}

.faq-item.open .faq-arrow {
  transform: rotate(90deg);
}

@media (max-width: 520px) {
  .container {
    padding: 0 6px 18px 6px;
    border-radius: 10px;
    margin: 18px 4px;
  }
  h1 {
    font-size: 1.22rem;
  }
  .faq-answer {
    font-size: 0.96rem;
  }
}

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