/* ==========================================================================
   Sección 8 — FAQ (PMST_ES, Figma 929:7586)
   Columna centrada (888): eyebrow + H2 + acordeón (una abierta a la vez) +
   banner de contacto cyan. Animación altura vía grid-template-rows (accordion.js).
   ========================================================================== */

.faq__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 888px;
  margin-inline: auto;
}

.faq__header { display: flex; flex-direction: column; gap: 11px; }
.faq__eyebrow {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  text-align: center;
  color: var(--color-text);
}
.faq__title {
  font-size: var(--fs-h2); /* 48px */
  font-weight: var(--fw-light);
  line-height: var(--lh-h2);
  text-align: center;
  color: var(--color-text);
}

/* ---- Acordeón ---- */
.faq { width: 100%; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0 25px;
  text-align: left;
}
.faq__q-text {
  font-size: var(--fs-p22); /* 22px */
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text);
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  margin-top: 2px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text);
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 12px; height: 2px; } /* barra horizontal */
.faq__icon::after { width: 2px; height: 12px; transition: opacity 0.2s ease, transform 0.2s ease; } /* barra vertical (desaparece al abrir) */
.is-open .faq__icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

/* respuesta colapsable */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  font-size: var(--fs-p22); /* 22px */
  font-weight: var(--fw-regular);
  line-height: 1.35;
  color: #484848;
  padding-bottom: 16px;
}

/* ---- Banner de contacto ---- */
.faq__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 15px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(176.92deg, #9cd8e8 0%, #37b1d3 100%);
}
.faq__contact-title { font-size: var(--fs-p28); font-weight: var(--fw-regular); line-height: 1.2; color: #fff; }
.faq__contact-text { font-size: var(--fs-p20); font-weight: var(--fw-regular); line-height: 1.2; color: #fff; }
.faq__contact-text a { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 720px) {
  .faq__q-text, .faq__a-inner p { font-size: var(--fs-body); }
  .faq__contact-title { font-size: 1.375rem; }
  .faq__contact-text { font-size: var(--fs-body); white-space: normal; }
}
