/* Services FAQ Section */

.services-faq-section {
  background: #c2ad8d;
  padding: 80px 0;
}

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

/* FAQ Content */

.faq-content {
  display: flex;
  flex-direction: column;
}

.faq-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 15px 0;
}

.faq-content > p {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: #000000;
  margin: 0 0 50px 0;
  line-height: 1.6;
}

/* FAQ List */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #000000;
  padding: 25px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

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

/* FAQ Question Button */

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a1a1a;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #8b7355;
}

.faq-icon {
  font-size: 1.5rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

/* FAQ Answer */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.faq-answer p {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.7;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 20px 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* CTA Card */

.faq-cta-card {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 450px;
  position: relative;
  flex-shrink: 0;
}

.cta-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.cta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  display: block;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  color: white;
  text-align: center;
}

.cta-phone {
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.cta-card-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 400;
  color: white;
  margin: 15px 0;
  line-height: 1.3;
}

.cta-card-content > p {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 26px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.cta-button:hover {
  background: transparent;
  color: white;
}

/* Responsive */

@media (max-width: 1024px) {
  .faq-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .faq-content h2 {
    font-size: 2rem;
  }

  .faq-cta-card {
    min-height: 350px;
  }
}

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

  .faq-wrapper {
    gap: 40px;
  }

  .faq-content h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1rem;
  }

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

  .cta-card-content {
    padding: 30px;
  }

  .cta-card-content h3 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .services-faq-section {
    padding: 40px 0;
  }

  .faq-content h2 {
    font-size: 1.5rem;
  }

  .faq-content > p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-item {
    padding: 15px 0;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .cta-card-content {
    padding: 25px;
  }

  .cta-card-content h3 {
    font-size: 1.3rem;
  }

  .cta-phone {
    font-size: 0.8rem;
  }
}
