/* --- Preguntas Frecuentes (FAQ) --- */
.nutri-faq {
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1300px;
}

.nutri-faq-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* Imagen lateral */
.nutri-faq-image {
  flex: 1 1 480px;
  max-width: 50%;
}

.nutri-faq-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Contenido FAQ */
.nutri-faq-content {
  flex: 1 1 540px;
  max-width: 100%;
}
.nutri-faq-content p{
color: black;
}

/* Cuando no hay imagen → ocupar 100% */
.nutri-faq.no-image .nutri-faq-content {
  flex: 1 1 100%;
  max-width: 100%;
}

/* Título y subtítulo (idénticos a Garantía de calidad) */
.nutri-faq-title {
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.nutri-faq-subtitle {
  font-size: 16px;
  color: gray;
  margin-bottom: 25px;
}

/* Lista de preguntas */
.nutri-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
padding: 50px 0px;
}

/* Ítem individual */
.nutri-faq-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
.nutri-faq-item:hover {
  background: #f1f6fa;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Cabecera */
.nutri-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
padding:0px 18px;
}
.nutri-faq-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: black;
  flex: 1;
}

/* Botón + */
.nutri-faq-toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: #0b3557;
  cursor: pointer;
  transition: transform .3s ease;
}
.nutri-faq-item.active .nutri-faq-toggle {
  transform: rotate(45deg);
}

/* Respuesta expandible */
.nutri-faq-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .4s ease;
  color: #333;
  font-size: 15px;
  padding-left: 30px;
background-color: #F5F6F7;
  border-top: 1px solid #e0e0e0;
  
}
.nutri-faq-item.active .nutri-faq-desc p{
padding-top: 12px;
}
.nutri-faq-item.active .nutri-faq-desc {
  max-height: 500px;
  opacity: 1;
}

/* Hover fix */
.nutri-faq-toggle:hover,
.nutri-faq-toggle:focus {
  background: transparent;
  color: #0b3557;
}

/* Responsive */
@media (max-width: 900px) {
  .nutri-faq-inner {
    flex-direction: column;
  }
  .nutri-faq-image,
  .nutri-faq-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .nutri-faq-item {
    padding: 12px 15px;
  }
}
