/* ============================================================
   AYUDA / FAQ — Movistar Arena
   - coherente con shell.css / config.css
   ============================================================ */

/* ---------- Layout base ---------- */
.faq{
  padding: 22px 0 32px;
}

.faq__head{
  margin: 0 0 14px;
}

/* ---------- Chips (categorías) ---------- */
.faq__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.chip{
  
  gap: 8px;
 
}

.chip.is-active{
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: rgba(8,12,24,.40);
}

.chip__count{
  display: inline-flex;
  min-width: 22px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  font-size: 12px;
  line-height: 1;
}

/* ---------- Search ---------- */
.faq-search{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(8,12,24,.28);
  backdrop-filter: blur(10px) saturate(1.05);
}

.faq-search input{
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: rgba(var(--ma-cream-rgb), 1);
  font-size: 16px;
}

.faq-search input::placeholder{
  color: rgba(var(--ma-cream-rgb), .65);
}

/* ---------- Grupo (categoría) ---------- */
.faq-group{
  margin: 0 0 18px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: rgba(8,12,24,.28);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px) saturate(1.05);
}

.faq-group__title{
  font-size: var( --fs-section-title);
  font-weight: var(--fw-section-title);
  line-height: var(--lh-section-title);
  margin: 0 0 24px;
}


.faq-group__desc{
  margin: 0 0 10px;
  max-width: 80ch;
}

/* ---------- Item (Q/A) ---------- */
.faq-item{
  border-top: 1px solid rgba(255,255,255,.08);
}

.faq-item:first-child{
  border-top: 0;
}

.faq-q{
  font-size: var(--fs-element-title);
  font-weight: var(--fw-element-title);
  line-height: font-size: var(--lh-element-title);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px;
  background: transparent;
  border: 0;
  color: rgba(var(--ma-cream-rgb), 1);
  text-align: left;
  cursor: pointer;
}

.faq-q__icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  flex: 0 0 auto;
}

/* Panel respuesta (animación por max-height + opacity desde JS) */
.faq-a{
  overflow: hidden;
  transition: max-height 240ms ease, opacity 240ms ease;
}

.faq-a__inner{
  padding: 0 6px 12px;
  color: rgba(var(--ma-cream-rgb), .92);
  max-width: 86ch;
  line-height: 1.65;
}

.faq-a__inner a{
  color: rgba(var(--ma-cream-rgb), 1);
  text-decoration: underline;
}