/* =============================================
   WASHTUBE — HELP CENTER / CONTACT PAGE
   ============================================= */

/* ── PAGE WRAP ── */
.wt-help-wrap {
  background: var(--gray-light);
  min-height: 80vh;
}

/* ── HERO ── */
.wt-help-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #005a94 60%, var(--blue-light) 100%);
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wt-help-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--gray-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.wt-help-hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 14px;
  letter-spacing: .5px; text-transform: uppercase;
}
.wt-help-hero h1 {
  font-size: clamp(26px, 5vw, 42px); font-weight: 800;
  color: #fff; margin: 0 0 10px; line-height: 1.15;
}
.wt-help-hero h1 span { color: var(--gold); }
.wt-help-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.8); margin: 0 auto 28px;
  max-width: 480px; line-height: 1.65;
}

/* Search bar */
.wt-help-search {
  display: flex; align-items: center;
  background: #fff; border-radius: 14px;
  padding: 6px 6px 6px 20px;
  max-width: 560px; margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  gap: 8px;
}
.wt-help-search input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: var(--text-dark);
  background: transparent; min-width: 0;
  font-family: inherit;
}
.wt-help-search input::placeholder { color: #aaa; }
.wt-help-search-btn {
  background: var(--blue-mid); color: #fff;
  border: none; border-radius: 10px;
  padding: 11px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  display: flex; align-items: center; gap: 7px;
  transition: background .2s;
}
.wt-help-search-btn:hover { background: var(--blue-dark); }
.wt-help-search-btn svg { width: 16px; height: 16px; }

/* ── CATEGORY CARDS ── */
.wt-help-cats {
  max-width: 1100px; margin: 0 auto;
  padding: 48px 24px 16px;
}
.wt-help-cats-title {
  text-align: center; font-size: 18px; font-weight: 700;
  color: var(--blue-dark); margin-bottom: 24px;
}
.wt-help-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.wt-help-cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 20px 12px;
  background: #fff; border: 1.5px solid var(--gray-border);
  border-radius: 14px; cursor: pointer; text-decoration: none;
  color: var(--text-dark);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.wt-help-cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--cat-clr, var(--blue-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.wt-help-cat-card:hover::before,
.wt-help-cat-card.is-open::before { transform: scaleX(1); }
.wt-help-cat-card:hover,
.wt-help-cat-card.is-open {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  border-color: var(--cat-clr, var(--blue-mid));
}
.wt-help-cat-icon { font-size: 28px; }
.wt-help-cat-label {
  font-size: 12px; font-weight: 700; text-align: center;
  line-height: 1.3; color: var(--text-dark);
}
.wt-help-cat-count {
  font-size: 11px; color: #aaa;
}

/* ── FAQ ACCORDION SECTIONS ── */
.wt-help-faqs {
  max-width: 1100px; margin: 0 auto;
  padding: 8px 24px 60px;
}

/* Category accordion (level 1) */
.wt-faq-group {
  background: #fff; border: 1.5px solid var(--gray-border);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
  scroll-margin-top: 90px;
}

.wt-faq-group-hd {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; cursor: pointer;
  transition: background .15s;
  user-select: none;
}
.wt-faq-group-hd:hover { background: #f8fafc; }

.wt-faq-group-icon { font-size: 22px; flex-shrink: 0; }

.wt-faq-group-title {
  flex: 1; font-size: 15px; font-weight: 700; color: var(--blue-dark);
}

.wt-faq-group-meta {
  font-size: 12px; color: #aaa; margin-right: 8px;
}

.wt-faq-group-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: #aaa; transition: transform .25s, color .2s;
}
.wt-faq-group.is-open .wt-faq-group-chevron {
  transform: rotate(180deg); color: var(--blue-mid);
}
.wt-faq-group.is-open .wt-faq-group-hd { background: #f0f7fd; }
.wt-faq-group.is-open .wt-faq-group-title { color: var(--blue-mid); }

/* Group body */
.wt-faq-group-body {
  display: none; border-top: 1px solid var(--gray-border);
}
.wt-faq-group.is-open .wt-faq-group-body { display: block; }

/* Individual Q&A (level 2) */
.wt-faq-item {
  border-bottom: 1px solid var(--gray-border);
}
.wt-faq-item:last-child { border-bottom: none; }

.wt-faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 22px 15px 28px; cursor: pointer;
  transition: background .15s; user-select: none;
}
.wt-faq-q:hover { background: #fafbfd; }

.wt-faq-q-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--blue-mid); color: #fff;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 700;
  transition: background .2s;
}
.wt-faq-item.is-open .wt-faq-q-icon { background: var(--gold); color: var(--blue-dark); }

.wt-faq-q-text {
  flex: 1; font-size: 14px; font-weight: 600;
  color: var(--text-dark); line-height: 1.4;
}
.wt-faq-item.is-open .wt-faq-q-text { color: var(--blue-mid); }

.wt-faq-q-arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  color: #ccc; transition: transform .2s, color .2s;
}
.wt-faq-item.is-open .wt-faq-q-arrow {
  transform: rotate(180deg); color: var(--blue-mid);
}

.wt-faq-a {
  display: none;
  padding: 0 22px 18px 60px;
  font-size: 13px; color: #555; line-height: 1.8;
  animation: wtFaqSlide .2s ease;
}
.wt-faq-item.is-open .wt-faq-a { display: block; }

@keyframes wtFaqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wt-faq-a a { color: var(--blue-mid); text-decoration: underline; }
.wt-faq-a strong { color: var(--text-dark); }

/* ── SEARCH HIGHLIGHT ── */
.wt-faq-highlight { background: #fff3cd; border-radius: 3px; padding: 0 2px; }

/* ── NO RESULTS ── */
.wt-help-noresult {
  text-align: center; padding: 40px; color: #888; font-size: 14px;
  display: none;
}
.wt-help-noresult svg { width: 48px; height: 48px; stroke: #ddd; margin-bottom: 12px; }

/* ── CONTACT CTA ── */
.wt-help-contact-cta {
  background: var(--blue-dark); color: #fff;
  border-radius: 18px; padding: 48px 36px;
  text-align: center; margin: 0 24px 48px;
  max-width: 1052px; margin-left: auto; margin-right: auto;
}
.wt-help-contact-cta h3 {
  font-size: 22px; font-weight: 800; margin: 0 0 8px;
}
.wt-help-contact-cta p { opacity: .8; font-size: 14px; margin: 0 0 24px; }
.wt-help-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wt-help-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform .2s, opacity .2s;
}
.wt-help-cta-btn:hover { transform: translateY(-2px); opacity: .9; }
.wt-help-cta-btn--gold { background: var(--gold); color: var(--blue-dark); }
.wt-help-cta-btn--outline {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.wt-help-cta-btn svg { width: 16px; height: 16px; }

/* ── POPULAR SEARCHES ── */
.wt-help-popular {
  margin-top: 14px; display: flex; gap: 8px;
  justify-content: center; flex-wrap: wrap;
}
.wt-help-popular-label { font-size: 12px; color: rgba(255,255,255,.6); align-self: center; }
.wt-help-popular-tag {
  font-size: 12px; padding: 4px 12px;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  border-radius: 20px; cursor: pointer; border: none;
  font-family: inherit; transition: background .2s;
}
.wt-help-popular-tag:hover { background: rgba(255,255,255,.28); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wt-help-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .wt-help-hero { padding: 44px 16px 70px; }
  .wt-help-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .wt-help-cats, .wt-help-faqs { padding-left: 16px; padding-right: 16px; }
  .wt-faq-q { padding-left: 18px; }
  .wt-faq-a { padding-left: 42px; }
  .wt-help-contact-cta { margin: 0 16px 40px; padding: 32px 20px; }
}
