:root {
  /* ----- COLORES MODO CLARO ----- */
  --bg-hero: linear-gradient(135deg, #345098 0%, #20325e 100%);
  --body-base: #F0F2EF;
  --body-secondary: #20325e;
  --body-details: #E0E0E0;
  --text-color-base: #666;
  --text-color-secondary: #fff;
  --accent-color: #0da44d;

}

.darkmode {
  /* ----- COLORES MODO OSCURO ----- */
  --bg-hero: linear-gradient(135deg, #2F3637 0%, #4B5658 100%);
  --body-base: #2F3637;
  --body-secondary: #464F51;
  --body-details: #5F6B6D;
  --text-color-base: #fff;
  --text-color-secondary: #fff;
  --accent-color: #f69911;
}

.hero-faq {
  background:
    var(--bg-hero),
    url('../imgs/ref/apreton-de-manos-amistoso-de-los-socios-en-la-reunion-del-grupo-agradeciendo-el-trabajo-en-equipo-exitoso.jpg') center/cover no-repeat;
  box-shadow: 0 8px 32px 0 rgba(32, 32, 32, 0.10);
  padding: 56px 0 32px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-faq>* {
  position: relative;
  z-index: 2;
}

.hero-faq .icono-hero {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-faq .titulo-hero {
  font-size: 2.7rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-faq .subtitulo-hero {
  color: #0DA44D;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-faq .desc-hero {
  color: #f5f5f5;
  font-size: 1.08rem;
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.hero-faq .img-hero {
  width: 120px;
  margin: 18px auto 0 auto;
  opacity: 0.95;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(90, 110, 231, 0.10);
}
/*
.faq-beneficios {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  padding: 32px 0 32px 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-beneficio-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(32, 32, 32, 0.06);
  padding: 28px 18px 18px 18px;
  margin: 0 24px;
  text-align: center;
  border: 1.5px solid #e0e0e0;
  min-width: 180px;
  max-width: 200px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, border 0.18s;
}

.faq-beneficio-card:hover {
  box-shadow: 0 8px 24px 0 rgba(90, 110, 231, 0.10);
  border-color: #0DA44D;
}

.faq-beneficio-icono {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #5a6ee7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-beneficio-titulo {
  color: #20325E;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-beneficio-desc {
  color: #666;
  font-size: 1rem;
  margin: 0;
}
*/

.faq-container {
  background: #20325E;
  border-radius: 36px;
  margin: 30px;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 50px 40px 50px 40px;
  box-shadow: 0 8px 32px 0 rgba(32, 32, 32, 0.10);
}

.faq-title {
  color: var(--accent-color);
  font-size: 2.3rem;
  font-weight: 800;
  text-align: center;
  margin: 0 12px 8px;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.faq-subtitle {
  color: #BEBEBE;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  margin: 0 12px 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 12px;
}

.faq-item {
  background: #223366;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(32, 32, 32, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid #2d3e6b;
  position: relative;
}

.faq-item.open {
  box-shadow: 0 4px 16px 0 rgba(13, 164, 77, 0.15);
  border-color: var(--accent-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  text-align: left;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, color 0.2s;
  outline: none;
}

.faq-question:hover {
  background: #20325E;
  color: #0DA44D;
}

.faq-answer {
  color: #e6e6de;
  font-size: 1.08rem;
  font-weight: 400;
  padding: 0 24px 18px 24px;
  display: none;
  animation: fadeIn 0.3s;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.18s;
}

.faq-answer a:hover {
  color: var(--accent-color);
}

.faq-question .arrow {
  font-size: 1.3rem;
  margin-left: 12px;
  transition: transform 0.2s, color 0.2s;
  color: var(--accent-color);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.faq-valoracion {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px 18px;
  font-size: 1.1rem;
  color: #bdbdbd;
  opacity: 0.85;
  user-select: none;
}

.faq-valoracion .emoji-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  color: #bdbdbd;
}

.faq-valoracion .emoji-btn.selected {
  background: #e6e6de;
  color: #0DA44D;
}

.faq-valoracion .emoji-btn:hover {
  background: #e6e6de;
  color: #5a6ee7;
}

.faq-valoracion .valoracion-label {
  font-size: 0.98rem;
  color: #888;
  margin-left: 2px;
}

.faq-cta {
  background: #20325E;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(32, 32, 32, 0.10);
  padding: 50px 40px 50px 40px;
  text-align: center;
  margin: 24px 12px 0 12px;
  max-width: 700px;
}

.faq-cta .cta-titulo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.faq-cta .cta-desc {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.faq-cta .cta-boton {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(90, 110, 231, 0.10);
}

.faq-cta .cta-boton:hover {
  background: #0bb03e;
  box-shadow: 0 4px 16px 0 rgba(90, 110, 231, 0.18);
}

.faq-recursos {
  background: linear-gradient(25deg, #1c4a9d 5%, #e6f6ff 100%);
  box-shadow: 0 2px 8px 0 rgba(32, 32, 32, 0.06);
  padding: 32px 18px 24px 18px;
  text-align: center;

}

.faq-recursos-titulo {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.faq-recursos-lista {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.faq-recurso-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  padding: 18px 12px 14px 12px;
  min-width: 160px;
  max-width: 220px;
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 12px 12px 12px;
  transition: box-shadow 0.18s, border 0.18s;
}

.faq-recurso-card:hover {
  box-shadow: 0 8px 24px 0 rgba(90, 110, 231, 0.10);
}

.faq-recurso-icono {
  font-size: 2.1rem;
  margin-bottom: 8px;
  color: #0DA44D;
}

.faq-recurso-titulo {
  color: #5a6ee7;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.faq-recurso-desc {
  color: #666;
  font-size: 0.97rem;
  margin: 0;
  text-align: center;
}

.faq-flex-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 0 auto;
  background-color: #162653;

}

.faq-flex-container .faq-container {
  flex: 2 1 0;
  min-width: 320px;
  max-width: 900px;
}

.faq-flex-container .faq-cta {
  flex: 1 1 0;
  min-width: 260px;
  max-width: 340px;
  align-self: flex-start;
}

.enlaceFaq {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  filter: brightness(1.15) drop-shadow(0 0 2px #20325E);
  transition: color 0.18s, filter 0.18s;
}

.enlaceFaq:hover {
  color: #0DA44D;
  filter: brightness(1.25);
}

@media (max-width: 900px) {
  .faq-flex-container {
    flex-direction: column;
    align-items: center;
    padding: 24px 15px 24px 15px;
  }

  .faq-flex-container .faq-container,
  .faq-flex-container {
    max-width: 85vw;
    min-width: 0;
    width: 100%;
    margin: 0 auto;
    padding-top: 32px;
  }

  .faq-cta {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .faq-container {
    padding: 24px 4px 24px 4px;
    max-width: 85vw;
    border-radius: 18px;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 14px 12px;
  }

  .faq-answer {
    font-size: 0.98rem;
    padding: 0 12px 14px 12px;
  }

  .faq-beneficios {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .faq-beneficio-card {
    min-width: 0;
    max-width: 100vw;
    padding: 18px 4px 14px 4px;
  }

  .faq-recursos-lista {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .faq-recurso-card {
    min-width: 0;
    max-width: 100vw;
    padding: 10px 4px 10px 4px;
  }

  .faq-cta {
    margin: 0 auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}