/* ===== Sección Preguntas (FAQ) ===== */
.section-faq{
  padding: clamp(56px,8vw,96px) 0;
  background: var(--bg-section);
  overflow: hidden;
}

.faq-heading {
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  font-size: clamp(36px, 5vw, 100px);
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  padding-bottom: 40px;
  line-height: 100%;
}

/* Lista */
.faq-list{
  display: grid;
  gap: 14px;
  align-items: center;
  align-self: center;
}

/* Ítem */
.faq{
  border-radius: 20px;
  /* espacio inferior del contenido cuando abre */
  padding-bottom: 0;
}

/* Summary estilo píldora con borde degradado */
.faq-summary{
  list-style: none;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.faq-summary::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  padding: 2px;
  background: #fff;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite: exclude;
  transition: opacity .2s var(--ease);
}
.faq[open] .faq-summary{
  background: rgba(255,255,255,0.06);
}
.faq[open] .faq-summary::before{ opacity:.9; }

.faq-question{
  font-weight: 700;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Iconos + / – a la derecha */
.ico{ width: 22px; height: 22px; margin-left: 10px; }
.ico-minus{ display:none; }
.faq[open] .ico-plus{ display:none; }
.faq[open] .ico-minus{ display:block; }

/* Contenido con slide-down suave */
.faq-content{
  overflow: hidden;
  max-height: 0;
  padding: 0 12px;
  transition: max-height .32s var(--ease), padding .32s var(--ease);
}
.faq[open] .faq-content{
  /* el valor grande permite crecer; se controla visualmente por su altura real */
  max-height: 800px;
  padding: 12px 12px 0;
}
.faq-content p{ margin: 0 0 12px; opacity:.95; }

/* Quita el marcador por defecto de summary */
.faq-summary::-webkit-details-marker{ display:none; }

/* Responsive pequeño */
@media (max-width:640px){
  .faq-heading{ font-size: clamp(28px,9vw,40px); }
}