.faq-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #f5f5f5;
}

.faq-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.faq-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 20px 0;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.faq-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #666666;
  border-radius: 2px;
}

.faq-description {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #666666;
  margin: 0;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.faq-content-wrapper:has(.faq-accordion:only-child) {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.faq-image-wrapper {
  width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  align-self: start;
}

.faq-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.faq-accordion {
  width: 100%;
  background-color: #f5f5f5;
}

.faq-item {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #cccccc;
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: none;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  border-color: #e0e0e0;
}

.faq-item.active {
  border-color: #e0e0e0;
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: none;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

.faq-question:hover {
  color: #333333;
}

.faq-question-text {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  position: relative;
  font-size: 0;
  font-weight: 300;
  line-height: 1;
}

.faq-icon::before {
  content: '+';
  position: absolute;
  font-size: 24px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.faq-icon::after {
  content: '−';
  position: absolute;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item.active .faq-icon::before {
  opacity: 0;
}

.faq-item.active .faq-icon::after {
  opacity: 1;
}

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
}

.faq-item.active .faq-answer-wrapper {
  max-height: 2000px;
}

.faq-answer {
  padding: 0 0 24px 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.faq-item.active .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer-content {
  padding-top: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  line-height: 1.7;
}

.faq-answer-content p {
  margin: 0 0 12px 0;
}

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

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.faq-answer-content li {
  margin-bottom: 8px;
}

.faq-answer-content strong {
  color: #333333;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .faq-section {
    padding: 70px 20px;
  }

  .faq-content-wrapper {
    gap: 30px;
  }

  .faq-image-wrapper {
    min-height: 400px;
    max-height: 400px;
  }

  .faq-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-section-title {
    font-size: 32px;
  }

  .faq-description {
    font-size: 16px;
  }

  .faq-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-image-wrapper {
    min-height: 300px;
    max-height: 300px;
    order: -1;
  }

  .faq-image {
    height: 300px;
  }

  .faq-question {
    padding: 20px 0;
    font-size: 17px;
  }

  .faq-answer {
    padding: 0 0 20px 0;
  }

  .faq-answer-content {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 50px 15px;
  }

  .faq-section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .faq-description {
    font-size: 15px;
  }

  .faq-content-wrapper {
    gap: 25px;
  }

  .faq-image-wrapper {
    min-height: 250px;
    max-height: 250px;
    border-radius: 10px;
  }

  .faq-image {
    height: 250px;
  }

  .faq-question {
    padding: 18px 0;
    font-size: 16px;
    gap: 15px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    font-size: 0;
  }

  .faq-icon::before,
  .faq-icon::after {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 0 18px 0;
  }

  .faq-answer-content {
    font-size: 14px;
  }
}
