/* faq.css — La Samasta
   Khusus halaman FAQ
   Load HANYA di halaman FAQ
*/

/* ================================================
   FAQ.CSS — Styles khusus halaman FAQ
   Link bersama main.css. JANGAN duplikasi shared styles.
================================================ */

/* ---- PAGE HERO ---- */
.faq-hero {
  position: relative;
  padding: 190px 0 100px;
  background: var(--warm-white);
  overflow: hidden;
  text-align: center;
}

/* Decorative circle rings */
.faq-hero::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(117,113,89,0.07);
  pointer-events: none;
}
.faq-hero::after {
  content: '';
  position: absolute;
  top: 120px; left: 50%;
  transform: translateX(-50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(117,113,89,0.05);
  pointer-events: none;
}

/* Watermark */
.faq-hero-watermark {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 300;
  color: rgba(117,113,89,0.04);
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.faq-hero-content {
  position: relative;
  z-index: 2;
}

.faq-hero-eyebrow {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.faq-hero-eyebrow::before,
.faq-hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--clr-soft);
}

.faq-hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.faq-hero-title em {
  font-style: italic;
  color: var(--clr-accent);
}

.faq-hero-sub {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 40px;
}

/* Category pill nav */
.faq-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.faq-nav-pill {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 18px;
  cursor: none;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-block;
}
.faq-nav-pill:hover,
.faq-nav-pill.active {
  background: var(--clr-dark);
  color: white;
  border-color: var(--clr-dark);
}

/* ---- MAIN FAQ BODY ---- */
.faq-main {
  padding: 100px 0 120px;
  background: var(--warm-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- LEFT SIDEBAR: sticky nav ---- */
.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-sidebar-title {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-left: 16px;
}

.faq-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  cursor: none;
  border-left: 2px solid transparent;
  transition: all var(--transition);
  background: transparent;
}
.faq-sidebar-link:hover,
.faq-sidebar-link.active {
  color: var(--charcoal);
  border-left-color: var(--clr-accent);
  background: var(--cream);
  padding-left: 20px;
}

.faq-sidebar-link-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--clr-soft);
  flex-shrink: 0;
  transition: background var(--transition);
}
.faq-sidebar-link:hover .faq-sidebar-link-dot,
.faq-sidebar-link.active .faq-sidebar-link-dot {
  background: var(--clr-accent);
}

/* Sidebar bottom: contact shortcut */
.faq-sidebar-contact {
  margin-top: 40px;
  padding: 20px;
  background: var(--cream);
  border-left: 2px solid var(--clr-accent);
}
.faq-sidebar-contact-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.faq-sidebar-contact-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 12px;
}
.faq-sidebar-contact a {
  font-size: 11px;
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.faq-sidebar-contact a:hover {
  color: var(--charcoal);
}

/* ---- RIGHT: FAQ categories ---- */
.faq-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Category group */
.faq-group {}

.faq-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.faq-group-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(117,113,89,0.08);
  border: 1px solid rgba(117,113,89,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-group-icon svg {
  width: 17px; height: 17px;
  color: var(--clr-accent);
}

.faq-group-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.01em;
}

.faq-group-count {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* Accordion items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--clr-accent);
  transition: height 0.4s ease;
}
.faq-item.open::before {
  height: 100%;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: none;
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--clr-soft-xlight);
}
.faq-item.open .faq-question {
  background: var(--clr-soft-xlight);
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.faq-item.open .faq-question-text {
  color: var(--clr-accent);
}

.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(117,113,89,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform 0.35s ease;
}
.faq-item.open .faq-toggle {
  background: var(--clr-accent);
  transform: rotate(45deg);
}
.faq-toggle svg {
  width: 14px; height: 14px;
  color: var(--clr-accent);
  transition: color var(--transition);
}
.faq-item.open .faq-toggle svg {
  color: white;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  border-top: 1px solid rgba(117,113,89,0.08);
}

.faq-answer-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--muted);
  padding-top: 18px;
}

/* Care list bullets */
.faq-care-list {
  list-style: none;
  margin: 12px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-care-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.faq-care-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(117,113,89,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23757159' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.faq-answer-note {
  font-size: 11px;
  font-style: italic;
  color: var(--clr-accent);
  margin-top: 10px;
}

/* Email link inside answer */
.faq-answer-text a {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(117,113,89,0.3);
  transition: border-color var(--transition), color var(--transition);
}
.faq-answer-text a:hover {
  color: var(--charcoal);
  border-bottom-color: var(--charcoal);
}

/* ---- STILL HAVE QUESTIONS BAND ---- */
.faq-contact-band {
  background: var(--clr-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-contact-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(117,113,89,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.faq-contact-band-eyebrow {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(213,210,195,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.faq-contact-band-eyebrow::before,
.faq-contact-band-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: rgba(117,113,89,0.35);
}

.faq-contact-band-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--clr-soft-xlight);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.faq-contact-band-title em {
  font-style: italic;
  color: var(--clr-soft);
}

.faq-contact-band-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.faq-contact-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* WhatsApp button special */
.btn-wa-ls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-dark);
  background: #25D366;
  border: none;
  padding: 14px 28px;
  cursor: none;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-wa-ls:hover {
  background: #1ebe5a;
  color: var(--clr-dark);
}
.btn-wa-ls svg {
  width: 16px; height: 16px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .faq-sidebar-title { display: none; }
  .faq-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .faq-sidebar-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
  }
  .faq-sidebar-link:hover,
  .faq-sidebar-link.active {
    border-left: none;
    border-bottom-color: var(--clr-accent);
    padding-left: 14px;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    padding: 160px 0 80px;
  }
  .faq-sidebar {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 18px 20px;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

@media (max-width: 540px) {
  .faq-hero-title {
    font-size: clamp(44px, 13vw, 72px);
  }
  .faq-nav {
    gap: 6px;
  }
  .faq-nav-pill {
    font-size: 8px;
    padding: 6px 12px;
  }
  .faq-group-title {
    font-size: 22px;
  }
  .faq-question-text {
    font-size: 15px;
  }
}

/* ================================================
