/* ══════════════════════════════════════════════
   Ren Head Spa — FAQ Page Styles
   assets/css/faq.css
   ══════════════════════════════════════════════ */

/* ── FAQ MAIN SECTION ── */
.faq-main { background: var(--cream); padding: 90px 60px; }
.faq-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }

/* Left image */
.faq-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: sticky; top: 100px; }
.faq-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.faq-img:hover img { transform: scale(1.04); }
.faq-img-ph {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #d4c8bc 0%, #bfb0a0 100%);
  display: flex; align-items: center; justify-content: center;
}
.faq-img-ph svg { width: 56px; height: 56px; fill: rgba(175,117,95,0.3); }

/* Accordion */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(175,117,95,0.2); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid rgba(175,117,95,0.2); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left; transition: color 0.2s;
}
.faq-question:hover .faq-q-text { color: var(--terracotta); }
.faq-item.open .faq-q-text { color: var(--terracotta); }
.faq-q-text { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: var(--dark); transition: color 0.2s; line-height: 1.3; }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(175,117,95,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s, background 0.25s, border-color 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--terracotta); border-color: var(--terracotta); }
.faq-icon svg { width: 14px; height: 14px; fill: var(--terracotta); transition: fill 0.25s; }
.faq-item.open .faq-icon svg { fill: var(--cream); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-a-text { font-size: 15px; line-height: 1.8; color: #666; }

/* ── FAQ CTA BAND ── */
.faq-cta {
  background: var(--cream); padding: 60px 60px 80px;
  text-align: center; border-top: 1px solid rgba(175,117,95,0.12);
}
.faq-cta h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: var(--terracotta); font-style: italic; margin-bottom: 16px; }
.faq-cta p { font-size: 15px; color: #666; }
.faq-cta p a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.faq-cta p a:hover { opacity: 0.75; }

/* ── FAQ RESPONSIVE ── */
@media (max-width: 1024px) {
  .faq-main, .faq-cta { padding: 70px 32px; }
  .faq-inner { gap: 48px; }
}
@media (max-width: 900px) {
  .page-hero { height: 200px; }
  .faq-main { padding: 56px 24px; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-img { aspect-ratio: 4/3; max-width: 480px; position: static; }
  .faq-cta { padding: 48px 24px 64px; }
}
@media (max-width: 480px) {
  .page-hero { height: 160px; }
  .page-hero h1 { font-size: 34px; }
  .faq-main { padding: 44px 16px; }
  .faq-img { aspect-ratio: 1/1; max-width: 100%; }
  .faq-q-text { font-size: 17px; }
  .faq-cta { padding: 36px 16px 56px; }
}
