/* =========================
   FAQ ROW LAYOUT
========================= */

.faq-section {
  background: #f7f8fa;
  padding: 5rem 1rem;
}

.faq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.faq-image img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  object-fit: cover;
}

/* FAQ SIDE */
.faq-content-wrap {
  max-width: 560px;
}

.faq-title {
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

/* Accordion */
.faq-item {
  border-bottom: 1px solid #e6e6e6;
  padding: 1.2rem 0;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.faq-icon {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--yellow);
  line-height: 1;
  margin-top: 0.1rem;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg); /* + becomes × */
}

.faq-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #555;
  padding-left: 2.6rem; /* aligns with text, not icon */
  margin-top: 0.8rem;
}

/* =========================
   MOBILE STACK
========================= */

@media (max-width: 900px) {
  .faq-row {
    grid-template-columns: 1fr;
  }

  .faq-image {
    order: -1;
  }

  .faq-title {
    font-size: 2.1rem;
  }

  .faq-item summary {
    font-size: 1.1rem;
  }

  .faq-content p {
    font-size: 1rem;
    padding-left: 2.4rem;
  }
}

/* =========================
   FAQ SMOOTH ANIMATION
========================= */

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  transition: color 0.25s ease;
}

.faq-item .faq-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.25s ease;
}

.faq-item[open] .faq-content {
  opacity: 1;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-content {
    transition: none;
  }
}

/* =========================
   FAQ TYPOGRAPHY SCALE
========================= */

/* Title */
.faq-title {
  font-size: 2.6rem;
  line-height: 1.2;
}

/* Questions */
.faq-item summary {
  font-size: 1.25rem;
  line-height: 1.45;
}

/* Answers */
.faq-item p {
  font-size: 1.1rem;
  line-height: 1.75;
}

/* Tablet */
@media (max-width: 900px) {
  .faq-title {
    font-size: 2.2rem;
  }

  .faq-item summary {
    font-size: 1.15rem;
  }

  .faq-item p {
    font-size: 1.05rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .faq-title {
    font-size: 1.95rem;
  }

  .faq-item summary {
    font-size: 1.05rem;
  }

  .faq-item p {
    font-size: 1rem;
  }
}

/* =========================
   FAQ IMAGES (PNG, RESPONSIVE)
========================= */

.faq-image {
  position: relative;
}

.faq-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop by default */
.faq-img-mobile {
  display: none;
}

/* Mobile */
@media (max-width: 900px) {
  .faq-img-desktop {
    display: none;
  }

  .faq-img-mobile {
    display: block;
  }
}

/* =========================
   FAQ MOBILE TITLE ALIGN
========================= */

@media (max-width: 900px) {
  .faq-title {
    text-align: center;
  }
}
