/* =====================================================
   ACRYLICTUBES.IN — faq.css
   ===================================================== */

.nav-active { color: var(--primary) !important; background: var(--light-bg) !important; border-radius: 8px; }

/* shared breadcrumb */
.breadcrumb { display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:16px;font-size:13px; }
.breadcrumb a { color:rgba(255,255,255,.65);transition:var(--ease); }
.breadcrumb a:hover { color:var(--accent); }
.bc-sep { color:rgba(255,255,255,.3); }
.breadcrumb span:last-child { color:rgba(255,255,255,.9);font-weight:600; }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.faq-hero {
  position: relative;
  min-height: 380px;
  margin-top: var(--total-h);
  display: flex; align-items: center;
  overflow: hidden;
  padding-bottom: 64px;
}
.faq-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  transform: scale(1.04);
  animation: faqHeroZoom 14s ease-in-out infinite alternate;
}
@keyframes faqHeroZoom { from{transform:scale(1.04)} to{transform:scale(1.1)} }
.faq-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,30,55,.88) 0%, rgba(26,111,168,.72) 100%);
}
.faq-hero-shape {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 64px; background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.faq-hero-content { position: relative; z-index: 2; padding-top: 20px; }
.faq-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .9; color: #fff;
  letter-spacing: 2px; margin-bottom: 14px;
}
.faq-hero-title em { color: var(--accent); font-style: normal; }
.faq-hero-sub { font-size: 16px; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 28px; }

/* Hero search */
.faq-search-wrap {
  position: relative;
  display: flex; align-items: center;
  max-width: 640px; margin-bottom: 28px;
}
.faq-search-wrap > svg {
  position: absolute; left: 16px;
  color: var(--text-muted); pointer-events: none; flex-shrink: 0;
}
.faq-search-input {
  width: 100%; padding: 15px 48px 15px 48px;
  border: none; border-radius: 50px;
  font-size: 15px; font-family: 'Outfit', sans-serif;
  color: var(--text); background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  transition: box-shadow var(--ease);
}
.faq-search-input:focus { outline: none; box-shadow: 0 8px 32px rgba(26,111,168,.3), 0 0 0 3px rgba(26,111,168,.2); }
.faq-search-input::placeholder { color: var(--text-muted); opacity: .7; }
.faq-search-clear {
  position: absolute; right: 16px;
  background: var(--light-bg); border: none; border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  cursor: pointer; transition: var(--ease);
}
.faq-search-clear:hover { background: var(--primary); color: #fff; }

/* Hero stats */
.faq-hero-stats {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 24px;
  gap: 0;
}
.fhs-item { text-align: center; padding: 0 16px; }
.fhs-item strong { display: block; font-family: 'Bebas Neue',sans-serif; font-size: 22px; color: var(--accent); letter-spacing: 1px; line-height: 1; }
.fhs-item span   { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }
.fhs-sep { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ═══════════════════════════════
   MAIN LAYOUT
═══════════════════════════════ */
.faq-main { background: var(--off-white); padding: 40px 0 80px; }
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* ═══════════════════════════════
   SIDEBAR
═══════════════════════════════ */
.faq-sidebar {
  position: sticky;
  top: calc(var(--total-h) + 24px);
  max-height: calc(100vh - var(--total-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.faq-sidebar::-webkit-scrollbar { width: 4px; }
.faq-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.faq-sidebar-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-sb-head {
  padding: 16px 18px 12px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.faq-cat-nav { display: flex; flex-direction: column; }
.faq-cat-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
  text-decoration: none;
}
.faq-cat-link:last-child { border-bottom: none; }
.faq-cat-link:hover { background: var(--light-bg); color: var(--primary); }
.faq-cat-link.active { background: var(--light-bg); color: var(--primary); border-left: 3px solid var(--primary); }
.fcl-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--off-white); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--ease);
}
.faq-cat-link:hover .fcl-icon,
.faq-cat-link.active .fcl-icon { background: var(--primary); color: #fff; }
.faq-cat-link > span:nth-child(2) { flex: 1; }
.fcl-count {
  font-size: 11px; font-weight: 700;
  background: var(--off-white); color: var(--text-muted);
  padding: 2px 8px; border-radius: 50px;
  flex-shrink: 0;
}
.faq-cat-link.active .fcl-count { background: rgba(26,111,168,.1); color: var(--primary); }

/* Sidebar CTA */
.faq-sb-cta {
  padding: 20px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--gradient-dark);
}
.faq-sb-cta-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin: 0 auto 12px;
}
.faq-sb-cta h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.faq-sb-cta p  { font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 14px; line-height: 1.5; }
.faq-sb-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px; background: #25D366; color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: var(--ease); margin-bottom: 8px;
}
.faq-sb-wa-btn:hover { background: #128C7E; transform: translateY(-1px); }
.faq-sb-contact-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 10px; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: var(--ease);
}
.faq-sb-contact-btn:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ═══════════════════════════════
   CONTENT COLUMN
═══════════════════════════════ */
.faq-content-col { display: flex; flex-direction: column; gap: 24px; }

/* Search notice */
.faq-search-notice {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(26,111,168,.07);
  border: 1px solid rgba(26,111,168,.2);
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; color: var(--primary-dark);
}
.faq-search-notice svg { flex-shrink: 0; color: var(--primary); }
.faq-search-notice #faqResultCount { color: var(--text-muted); }
.faq-search-notice button {
  margin-left: auto; font-size: 12px; font-weight: 700;
  color: var(--primary); background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: var(--ease);
}
.faq-search-notice button:hover { text-decoration: underline; }

/* No results */
.faq-no-results {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 60px 20px;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); gap: 12px;
}
.faq-no-results svg { color: var(--border); }
.faq-no-results h3 { font-size: 20px; font-weight: 700; color: var(--dark); }
.faq-no-results p  { font-size: 14px; color: var(--text-muted); }

/* ═══════════════════════════════
   FAQ CATEGORY SECTIONS
═══════════════════════════════ */
.faq-cat-section {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: calc(var(--total-h) + 24px);
  transition: box-shadow var(--ease);
}
.faq-cat-section:hover { box-shadow: var(--shadow-lg); }
.faq-cat-section.hidden { display: none; }

/* Category header */
.fcs-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(26,111,168,.04), rgba(0,198,255,.03));
  border-bottom: 1px solid var(--border);
}
.fcs-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.fcs-head > div h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: var(--dark); margin-bottom: 3px;
}
.fcs-head > div p { font-size: 13px; color: var(--text-muted); }
.fcs-count {
  margin-left: auto;
  font-size: 12px; font-weight: 700;
  color: var(--primary);
  background: var(--light-bg);
  padding: 4px 14px; border-radius: 50px;
  white-space: nowrap; flex-shrink: 0;
}

/* ═══════════════════════════════
   FAQ ACCORDION
═══════════════════════════════ */
.faq-accordion { padding: 8px 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item.hidden { display: none; }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px;
  text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background var(--ease);
}
.faq-q:hover { background: var(--off-white); }
.faq-q[aria-expanded="true"] { background: var(--light-bg); }

.faq-q > span {
  font-size: 15px; font-weight: 600; color: var(--dark);
  line-height: 1.45; flex: 1;
  transition: color var(--ease);
}
.faq-q:hover > span,
.faq-q[aria-expanded="true"] > span { color: var(--primary); }

.faq-q-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text-muted);
  transition: var(--ease);
}
.faq-q:hover .faq-q-icon { background: var(--light-bg); border-color: var(--primary-light); color: var(--primary); }
.faq-q[aria-expanded="true"] .faq-q-icon { background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-q[aria-expanded="true"] .faq-q-icon svg { transform: rotate(180deg); }
.faq-q-icon svg { transition: transform var(--ease); }

/* Answer panel */
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .42s cubic-bezier(.25,.8,.25,1), padding .3s ease;
  padding: 0 24px;
  background: var(--off-white);
}
.faq-a.open {
  max-height: 600px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 12px;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a p strong { color: var(--text); font-weight: 700; }

/* Highlight on search match */
.faq-item.search-match .faq-q > span mark {
  background: rgba(0,198,255,.22);
  color: var(--primary-dark);
  border-radius: 2px;
  padding: 0 2px;
}

/* ═══════════════════════════════
   BOTTOM CTA
═══════════════════════════════ */
.faq-bottom-cta {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 56px 40px;
  text-align: center;
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.faq-bcta-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.faq-bcta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,30,55,.92) 0%, rgba(26,111,168,.85) 100%);
}
.faq-bcta-content { position: relative; z-index: 2; }
.faq-bcta-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 4vw, 36px);
  color: #fff; margin-bottom: 10px;
}
.faq-bcta-content p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 24px; }
.faq-bcta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.faq-bcta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg,#25D366,#128C7E); color: #fff;
  border-radius: 10px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: var(--ease);
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.faq-bcta-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.45); }
.faq-bcta-contact {
  display: inline-flex; align-items: center;
  padding: 13px 24px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: var(--ease);
}
.faq-bcta-contact:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.faq-bcta-call {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 20px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: var(--ease);
}
.faq-bcta-call:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; max-height: none; }
  .faq-sidebar-inner { display: flex; flex-wrap: wrap; }
  .faq-sb-head { width: 100%; }
  .faq-cat-nav { flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--border); width: 100%; }
  .faq-cat-link { flex: 0 0 auto; border-bottom: none; border-right: 1px solid var(--border); padding: 10px 14px; }
  .faq-cat-link.active { border-left: none; border-bottom: 3px solid var(--primary); }
  .faq-sb-cta { width: 100%; }
}
@media (max-width: 640px) {
  .faq-hero { min-height: 320px; }
  .faq-hero-title { font-size: 52px; }
  .faq-hero-stats { padding: 8px 12px; }
  .fhs-item { padding: 0 10px; }
  .faq-q { padding: 15px 18px; }
  .faq-a.open { padding: 0 18px 16px; }
  .fcs-head { padding: 16px 18px; gap: 12px; }
  .fcs-count { display: none; }
  .faq-bcta-actions { flex-direction: column; align-items: stretch; }
  .faq-bcta-wa, .faq-bcta-contact, .faq-bcta-call { justify-content: center; }
  .faq-bottom-cta { padding: 40px 20px; }
}
@media (max-width: 480px) {
  .faq-cat-nav { flex-direction: column; }
  .faq-cat-link { border-right: none; border-bottom: 1px solid var(--border); }
  .fhs-sep { display: none; }
  .faq-hero-stats { flex-wrap: wrap; justify-content: center; }
}
