.faq-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.faq-bg { position: absolute; inset: 0; }
.faq-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.faq-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.54); }
.faq-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.faq-page { padding: 60px 0; background: #f8faf9; }
.faq-category { margin-bottom: 48px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.2s;
  gap: 12px;
}
.faq-question:hover {
  background: #f9fbf9;
}
.faq-q-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.faq-item.active .faq-question .fi-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 20px 18px 20px;
}
.faq-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 20px;
  border: 1.5px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}
.faq-inline-cta:hover {
  background: var(--green);
  color: #fff;
}

/* CTA Banner - matching reference horizontal flex layout */
.cta-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(74,158,92,0.25);
  color: #fff;
}
.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.cta-banner-left h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-banner-left p {
  font-size: 14px;
  opacity: 0.9;
}
.cta-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green-dark);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.cta-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Floating Contact Card */
.floating-card {
  position: fixed;
  top: 20%;
  right: 100px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 24px;
  z-index: 1000;
  animation: slideInRight 0.5s ease-out;
  /*display: none;*/
}
.floating-card.show {
  display: block;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
/* Mobile trigger button (collapsed tab on left edge) */
.fc-trigger {
  display: none;
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  z-index: 99;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}
/* Mobile card wrapper - slides in from left */
.fc-mobile-wrap {
  position: fixed;
  top: 33%;
  left: -100%;
  height: 300px;
  width: 70%;
  max-width: 260px;
  /*height: 100%;*/
  background: #fff;
  text-align: center;
  z-index: 1000;
  padding: 0 20px 0;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  transition: left 0.35s ease;
  overflow-y: auto;
}
.fc-mobile-wrap.open {
  left: 0;
}
.fc-mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
}
.fc-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
.fc-mobile-overlay.show {
  display: block;
}
.floating-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.floating-card .card-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.floating-card .card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.floating-card .card-avatar .online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #fff;
}
.floating-card .card-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
}
.floating-card .card-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.card-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #4a9e5c;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font-body);
  text-decoration: none;
}
.card-wa-btn:hover {
  background: #1da851;
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 1024px) {
  .faq-page { padding: 40px 0; }
}
@media (max-width: 768px) {
  .card-header{font-size: 16px;}
  .card-avatar{background: #fff; border-radius: 16px; margin: 16px; display: flex;justify-content: center;align-items: center;}
  .card-avatar img{width: 56px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);}
  .faq-question { font-size: 14px; padding: 14px 16px; }
  .faq-page { padding: 32px 0; }
  .faq-item { margin-bottom: 8px; }
  .faq-answer-inner { padding: 0 16px 14px; }
  .faq-answer-inner .doc{ text-align: left;}
  .faq-answer { font-size: 13px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 20px; }
  .cta-banner-left { flex-direction: column; text-align: center; }
  .cta-icon { width: 32px; height: 32px; }
  .faq-title { font-size: 28px; }
  .floating-card { display: none; }
  .fc-trigger { display: flex; }
  .faq-banner{height: 160px;}
}